Home
last modified time | relevance | path

Searched full:profile (Results 1 – 25 of 1480) sorted by relevance

12345678910>>...60

/freebsd/sys/dev/mthca/
H A Dmthca_profile.c79 struct mthca_resource *profile; in mthca_make_profile() local
82 profile = kzalloc(MTHCA_RES_NUM * sizeof *profile, GFP_KERNEL); in mthca_make_profile()
83 if (!profile) in mthca_make_profile()
86 profile[MTHCA_RES_QP].size = dev_lim->qpc_entry_sz; in mthca_make_profile()
87 profile[MTHCA_RES_EEC].size = dev_lim->eec_entry_sz; in mthca_make_profile()
88 profile[MTHCA_RES_SRQ].size = dev_lim->srq_entry_sz; in mthca_make_profile()
89 profile[MTHCA_RES_CQ].size = dev_lim->cqc_entry_sz; in mthca_make_profile()
90 profile[MTHCA_RES_EQP].size = dev_lim->eqpc_entry_sz; in mthca_make_profile()
91 profile[MTHCA_RES_EEEC].size = dev_lim->eeec_entry_sz; in mthca_make_profile()
92 profile[MTHCA_RES_EQ].size = dev_lim->eqc_entry_sz; in mthca_make_profile()
[all …]
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_profile.c84 struct mlx4_resource *profile; in mlx4_make_profile() local
87 profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); in mlx4_make_profile()
88 if (!profile) in mlx4_make_profile()
91 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; in mlx4_make_profile()
92 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; in mlx4_make_profile()
93 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; in mlx4_make_profile()
94 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; in mlx4_make_profile()
95 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; in mlx4_make_profile()
96 profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz; in mlx4_make_profile()
97 profile[MLX4_RES_EQ].size = dev_cap->eqc_entry_sz; in mlx4_make_profile()
[all …]
/freebsd/crypto/krb5/src/util/profile/
H A Dprof_init.c16 /* Create a vtable profile, possibly with a library handle. The new profile
22 profile_t profile; in init_module() local
35 profile = malloc(sizeof(*profile)); in init_module()
36 if (!profile) in init_module()
38 memset(profile, 0, sizeof(*profile)); in init_module()
42 free(profile); in init_module()
49 profile->vt = vt_copy; in init_module()
50 profile->cbdata = cbdata; in init_module()
51 profile->lib_handle = handle; in init_module()
52 profile->magic = PROF_MAGIC_PROFILE; in init_module()
[all …]
H A Dprof_set.c4 * inserting, updating and deleting items from the profile.
7 * profile. It's not clear how to handle multiple files, actually.
24 static errcode_t rw_setup(profile_t profile) in rw_setup() argument
29 if (!profile) in rw_setup()
32 if (profile->magic != PROF_MAGIC_PROFILE) in rw_setup()
35 file = profile->first_file; in rw_setup()
82 profile_update_relation(profile_t profile, const char **names, in profile_update_relation() argument
90 if (profile->vt) { in profile_update_relation()
91 if (!profile->vt->update_relation) in profile_update_relation()
93 return profile->vt->update_relation(profile->cbdata, names, old_value, in profile_update_relation()
[all …]
H A Dprof_err.et3 error_code PROF_VERSION, "Profile version 0.0"
9 error_code PROF_NO_SECTION, "Profile section not found"
10 error_code PROF_NO_RELATION, "Profile relation not found"
14 "A profile section header has a non-zero value"
15 error_code PROF_BAD_LINK_LIST, "Bad linked list in profile structures"
16 error_code PROF_BAD_GROUP_LVL, "Bad group level in profile structures"
18 "Bad parent pointer in profile structures"
19 error_code PROF_MAGIC_ITERATOR, "Bad magic value in profile iterator"
21 error_code PROF_EINVAL, "Invalid argument passed to profile library"
22 error_code PROF_READ_ONLY, "Attempt to modify read-only profile"
[all …]
H A Dprof_get.c4 * querying items from the profile.
131 /* Look up a relation in a vtable profile. */
133 get_values_vt(profile_t profile, const char *const *names, char ***ret_values) in get_values_vt() argument
139 retval = profile->vt->get_values(profile->cbdata, names, &vtvalues); in get_values_vt()
151 profile->vt->free_values(profile->cbdata, vtvalues); in get_values_vt()
156 profile_get_values(profile_t profile, const char *const *names, in profile_get_values() argument
165 if (!profile) in profile_get_values()
167 if (profile->vt) in profile_get_values()
168 return get_values_vt(profile, names, ret_values); in profile_get_values()
170 if ((retval = profile_node_iterator_create(profile, names, in profile_get_values()
[all …]
H A Dprofile.hin2 * profile.h
30 * Used by the profile iterator in prof_get.c
55 (profile_t profile);
57 (profile_t profile, const_profile_filespec_t outfile);
59 (profile_t profile, char **bufp);
61 (profile_t profile, char *buf);
64 (profile_t profile, int *writable);
66 (profile_t profile, int *modified);
69 (profile_t profile);
72 (profile_t profile);
[all …]
H A Dtest_profile.c3 * test_profile.c --- testing program for the profile routine
22 static void do_batchmode(profile) in do_batchmode() argument
23 profile_t profile; in do_batchmode()
51 retval = profile_get_values(profile, names, &values);
54 retval = profile_get_value(profile, names, &value);
57 retval = profile_get_subsection_names(profile, names,
61 retval = profile_get_relation_names(profile, names,
66 (profile->first_file->data->root, stdout);
68 retval = profile_clear_relation(profile, names);
70 retval = profile_update_relation(profile, names+2,
[all …]
H A Dtest_vtable.c2 /* util/profile/test_vtable.c - Test program for vtable-backed profiles */
28 * This test program exercises vtable profile functionality using two vtables,
30 * the methods. The program doesn't attempt to create a working profile
36 #include "profile.h"
237 profile_t profile; in main() local
242 assert(profile_init_vtable(&basic_vtable, &basic_cbdata, &profile) == 0); in main()
243 assert(profile_get_values(profile, empty_names, &values) == 0); in main()
248 assert(profile_iterator_create(profile, NULL, 0, &iter) == in main()
250 assert(profile_is_writable(profile, &intval) == 0); in main()
252 assert(profile_is_modified(profile, &intval) == 0); in main()
[all …]
H A DMakefile.in1 mydir=util$(S)profile
6 ##DOS##OBJFILE=$(OUTPRE)profile.lst
7 ##DOS##LIBNAME=$(OUTPRE)profile.lib
43 LIBBASE=profile
49 PROFILE_HDR=$(BUILDTOP)$(S)include$(S)profile.h
57 generate-files-mac: profile.h
59 $(PROFILE_HDR): profile.h
60 $(CP) profile.h "$@"
65 $(RM) $(BUILDTOP)/include/profile.h
73 if exist prof_err.h copy profile.hin+prof_err.h profile.h
[all …]
/freebsd/usr.bin/clang/llvm-profdata/
H A Dllvm-profdata.132 llvm-profdata \- Profile data tool
38 The \fBllvm\-profdata\fP tool is a small utility for working with profile
55 \fBllvm\-profdata merge\fP takes several profile data files
57 indexed profile data file.
59 By default profile data is merged without modification. This means that the
78 indexed profile data can\(aqt be written to standard output.
83 Specify an input file name along with a weight. The profile counts of the
100 profile to the symbol names that should be used in the output profile. The
110 Specify that the input profile is an instrumentation\-based profile.
115 Specify that the input profile is a sample\-based profile.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DProfile.h1 //===- Profile.h - XRay Profile Abstraction -------------------------------===//
9 // Defines the XRay Profile class representing the latency profile generated by
27 class Profile; variable
29 // We forward declare the Trace type for turning a Trace into a Profile.
32 /// This function will attempt to load an XRay Profiling Mode profile from the
35 /// For any errors encountered in the loading of the profile data from
37 Expected<Profile> loadProfile(StringRef Filename);
39 /// This algorithm will merge two Profile instances into a single Profile
41 Profile mergeProfilesByThread(const Profile &L, const Profile &R);
43 /// This algorithm will merge two Profile instances into a single Profile
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfiling.h23 #include "profile/instr_prof_interface.h"
27 #include "profile/InstrProfData.inc"
31 #include "profile/InstrProfData.inc"
38 #include "profile/InstrProfData.inc"
43 #include "profile/InstrProfData.inc"
49 #include "profile/InstrProfData.inc"
54 #include "profile/InstrProfData.inc"
58 * \brief Return 1 if profile counters are continuously synced to the raw
59 * profile via an mmap(). This is in contrast to the default mode, in which
60 * the raw profile is written out at program exit time.
[all …]
/freebsd/lib/libclang_rt/profile/
H A DMakefile3 LIB= clang_rt.profile-${CRTARCH}
12 SRCS+= profile/GCDAProfiling.c
13 SRCS+= profile/InstrProfiling.c
14 SRCS+= profile/InstrProfilingBuffer.c
15 SRCS+= profile/InstrProfilingFile.c
16 SRCS+= profile/InstrProfilingInternal.c
17 SRCS+= profile/InstrProfilingMerge.c
18 SRCS+= profile/InstrProfilingMergeFile.c
19 SRCS+= profile/InstrProfilingNameVar.c
20 SRCS+= profile/InstrProfilingPlatformLinux.c
[all …]
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DProfile.cpp1 //===- Profile.cpp - XRay Profile Abstraction -----------------------------===//
9 // Defines the XRay Profile class representing the latency profile generated by
13 #include "llvm/XRay/Profile.h"
25 Profile::Profile(const Profile &O) { in Profile() function in llvm::xray::Profile
27 // Profile being initialized, through the Block instances we see. in Profile()
37 Profile &Profile::operator=(const Profile &O) { in operator =()
38 Profile P = O; in operator =()
78 static Expected<std::vector<Profile::FuncID>> readPath(DataExtractor &Extractor, in readPath()
81 std::vector<Profile::FuncID> Path; in readPath()
96 static Expected<Profile::Data> readData(DataExtractor &Extractor, in readData()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h55 static void Profile(llvm::FoldingSetNodeID& profile, const TypedValueRegion* R) { in Profile() argument
56 profile.AddInteger((unsigned) SymbolRegionValueKind); in Profile()
57 profile.AddPointer(R); in Profile()
60 void Profile(llvm::FoldingSetNodeID& profile) override { in Profile() argument
61 Profile(profile, R); in Profile()
112 static void Profile(llvm::FoldingSetNodeID& profile, const Stmt *S, in Profile() argument
115 profile.AddInteger((unsigned) SymbolConjuredKind); in Profile()
116 profile.AddPointer(S); in Profile()
117 profile.AddPointer(LCtx); in Profile()
118 profile.Add(T); in Profile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp10 // reads a profile file generated by a sampling profiler (e.g. Linux Perf -
12 // profile information in the given profile.
99 #define DEBUG_TYPE "sample-profile"
103 "Number of functions inlined with context sensitive profile");
105 "Number of functions not inlined with context sensitive profile");
107 "Number of functions with CFG mismatched profile");
108 STATISTIC(NumMatchedProfile, "Number of functions with CFG matched profile");
123 "sample-profile-file", cl::init(""), cl::value_desc("filename"),
124 cl::desc("Profile file loaded by -sample-profile"), cl::Hidden);
130 "sample-profile-remapping-file", cl::init(""), cl::value_desc("filename"),
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dman.ListProbesWithProviders39 * /usr/sbin/dtrace -lP profile
40 * RESULT: List of only profile probes.
47 * /usr/sbin/dtrace -lP profile:::
51 * /usr/sbin/dtrace -lP profile:::profile-97
55 * /usr/sbin/dtrace -lP profile -lP syscall
56 * RESULT: matching list of both profile and syscall probes.
59 * /usr/sbin/dtrace -lP profile -lP foofile
60 * RESULT: List of only profile probes.
63 * /usr/sbin/dtrace -lP foofile -lP profile
64 * RESULT: List of only profile probes.
[all …]
H A Dman.TraceProvider39 * /usr/sbin/dtrace -P profile
40 * RESULT: Trace of all profile probes.
47 * /usr/sbin/dtrace -P profile:::
51 * /usr/sbin/dtrace -P profile:::profile-97
55 * /usr/sbin/dtrace -P profile -P syscall
56 * RESULT: matching traces of both profile and syscall probes.
59 * /usr/sbin/dtrace -P profile -P foofile
60 * RESULT: Count of profile probes that matched and invalid
68 * /usr/sbin/dtrace -P profile'{printf("FOUND");}'
69 * RESULT: Traces of all the matching profile probes with the
[all …]
/freebsd/usr.bin/gprof/
H A Dgprof.133 .Nd display call graph profile data
47 utility produces an execution profile of C, Pascal, or Fortran77 programs.
48 The effect of called routines is incorporated in the profile of each caller.
49 The profile data is taken from the call graph profile file
75 and the call graph profile.
76 The default graph profile file name is the name
80 If more than one profile file is specified,
83 output shows the sum of the profile information in the given profile files.
103 Second, a flat profile is given,
133 Suppress the printing of a description of each field in the profile.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfileMatcher.h25 // Sample profile matching - fuzzy match.
35 // in the profile.
41 // Initial match between input profile and current IR.
43 // Initial mismatch between input profile and current IR.
45 // InitialMatch stays matched after fuzzy profile matching.
47 // InitialMismatch stays mismatched after fuzzy profile matching.
49 // InitialMismatch is recovered after fuzzy profile matching.
51 // InitialMatch is removed and becomes mismatched after fuzzy profile
58 // This is used for profile staleness computation and report.
68 // A map from a pair of function and profile name to a boolean value
[all …]
H A DSampleContextTracker.h10 /// This file provides the interface for context-sensitive profile tracker used
33 // that nodes' profile.
82 // Profile tracker that manages profiles and its associated context. It
83 // provides interfaces used by sample profile loader to query context profile or
84 // base profile for given function or location; it also manages context tree
86 // accurate post-inline profile for functions. Internally context profiles
87 // are organized in a trie, with each node representing profile for specific
98 // Query context profile for a specific callee with given name at a given
105 // Query context profile fo
[all...]
/freebsd/crypto/krb5/src/windows/include/
H A Dloadfuncs-profile.h5 #include <profile.h>
31 (profile_t profile)
38 (profile_t profile)
45 (profile_t profile)
52 (profile_t profile, const char **names, char ***ret_values)
66 (profile_t profile, const char *name, const char *subname,
75 (profile_t profile, const char *name, const char *subname,
84 (profile_t profile, const char **names, char ***ret_names)
91 (profile_t profile, const char **names, char ***ret_names)
98 (profile_t profile, const char **names, int flags, void **ret_iter)
[all …]
/freebsd/crypto/krb5/doc/html/_sources/plugindev/
H A Dprofile.rst.txt3 Configuration interface (profile)
6 The profile interface allows a module to control how krb5
8 applications. For a detailed description of the profile interface,
9 see the header file ``<profile.h>``.
13 The profile interface does not follow the normal conventions
17 As with other types of plugin modules, a profile module is a Unix
19 The krb5 library will dynamically load and use a profile plugin module
23 A profile module exports a function named ``profile_module_init``
27 create a per-profile state object. If the module uses state objects,
31 A basic read-only profile module need only implement the
[all …]
/freebsd/crypto/krb5/doc/plugindev/
H A Dprofile.rst3 Configuration interface (profile)
6 The profile interface allows a module to control how krb5
8 applications. For a detailed description of the profile interface,
9 see the header file ``<profile.h>``.
13 The profile interface does not follow the normal conventions
17 As with other types of plugin modules, a profile module is a Unix
19 The krb5 library will dynamically load and use a profile plugin module
23 A profile module exports a function named ``profile_module_init``
27 create a per-profile state object. If the module uses state objects,
31 A basic read-only profile module need only implement the
[all …]

12345678910>>...60