Home
last modified time | relevance | path

Searched refs:counters (Results 1 – 25 of 130) sorted by relevance

123456

/freebsd-10-stable/usr.sbin/pmcstudy/
Dpmcstudy.c165 struct counters { struct
166 struct counters *next_cpu; argument
174 extern struct counters *glob_cpu[MAX_CPU]; argument
175 struct counters *glob_cpu[MAX_CPU];
177 extern struct counters *cnts;
178 struct counters *cnts=NULL;
183 extern int (*expression)(struct counters *, int);
184 int (*expression)(struct counters *, int);
193 int (*func)(struct counters *, int);
447 static struct counters *
[all …]
/freebsd-10-stable/contrib/gcc/
Dlibgcov.c58 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_add() argument
63 void __gcov_merge_single (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_single() argument
68 void __gcov_merge_delta (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_delta() argument
610 __gcov_merge_add (gcov_type *counters, unsigned n_counters) in __gcov_merge_add() argument
612 for (; n_counters; counters++, n_counters--) in __gcov_merge_add()
613 *counters += gcov_read_counter (); in __gcov_merge_add()
628 __gcov_merge_single (gcov_type *counters, unsigned n_counters) in __gcov_merge_single() argument
635 for (i = 0; i < n_measures; i++, counters += 3) in __gcov_merge_single()
641 if (counters[0] == value) in __gcov_merge_single()
642 counters[1] += counter; in __gcov_merge_single()
[all …]
Dvalue-prof.c154 free (th->hvalue.counters); in tree_value_profile_transformations()
297 val = histogram->hvalue.counters[0]; in tree_divmod_fixed_value_transform()
298 count = histogram->hvalue.counters[1]; in tree_divmod_fixed_value_transform()
299 all = histogram->hvalue.counters[2]; in tree_divmod_fixed_value_transform()
464 wrong_values = histogram->hvalue.counters[0]; in tree_mod_pow2_value_transform()
465 count = histogram->hvalue.counters[1]; in tree_mod_pow2_value_transform()
650 all += histogram->hvalue.counters[i]; in tree_mod_subtract_transform()
652 wrong_values += histogram->hvalue.counters[i]; in tree_mod_subtract_transform()
653 wrong_values += histogram->hvalue.counters[i+1]; in tree_mod_subtract_transform()
665 count += histogram->hvalue.counters[i]; in tree_mod_subtract_transform()
[all …]
Dvalue-prof.h47 gcov_type *counters; /* Pointer to first counter. */ member
Dcoverage.c607 build_fn_info_type (unsigned int counters) in build_fn_info_type() argument
621 array_type = build_int_cst (NULL_TREE, counters - 1); in build_fn_info_type()
661 tree counters = build_int_cstu (get_gcov_unsigned_t (), in build_fn_info_value() local
664 array_value = tree_cons (NULL_TREE, counters, array_value); in build_fn_info_value()
/freebsd-10-stable/contrib/ntp/lib/isc/
Dstats.c71 isc_stat_t *counters; member
102 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters); in create_stats()
103 if (stats->counters == NULL) { in create_stats()
121 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters); in create_stats()
132 isc_mem_put(mctx, stats->counters, sizeof(isc_stat_t) * ncounters); in create_stats()
177 isc_mem_put(stats->mctx, stats->counters, in isc_stats_detach()
208 prev = isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].lo, 1); in incrementcounter()
218 isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].hi, 1); in incrementcounter()
221 isc_atomic_xaddq((isc_int64_t *)&stats->counters[counter], 1); in incrementcounter()
224 stats->counters[counter]++; in incrementcounter()
[all …]
/freebsd-10-stable/contrib/wpa/src/radius/
Dradius_server.c89 struct radius_server_counters counters; member
249 struct radius_server_counters counters; member
670 data->counters.access_rejects++; in radius_server_reject()
671 client->counters.access_rejects++; in radius_server_reject()
736 data->counters.dup_access_requests++; in radius_server_request()
737 client->counters.dup_access_requests++; in radius_server_request()
760 data->counters.packets_dropped++; in radius_server_request()
761 client->counters.packets_dropped++; in radius_server_request()
800 data->counters.packets_dropped++; in radius_server_request()
801 client->counters.packets_dropped++; in radius_server_request()
[all …]
/freebsd-10-stable/sys/mips/rmi/
Dfmn.c153 MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters); in xlr_msgring_cpu_init()
154 MSGRNG_CC_INIT_CPU_DEST(1, cc_config->counters); in xlr_msgring_cpu_init()
155 MSGRNG_CC_INIT_CPU_DEST(2, cc_config->counters); in xlr_msgring_cpu_init()
156 MSGRNG_CC_INIT_CPU_DEST(3, cc_config->counters); in xlr_msgring_cpu_init()
157 MSGRNG_CC_INIT_CPU_DEST(4, cc_config->counters); in xlr_msgring_cpu_init()
158 MSGRNG_CC_INIT_CPU_DEST(5, cc_config->counters); in xlr_msgring_cpu_init()
159 MSGRNG_CC_INIT_CPU_DEST(6, cc_config->counters); in xlr_msgring_cpu_init()
160 MSGRNG_CC_INIT_CPU_DEST(7, cc_config->counters); in xlr_msgring_cpu_init()
161 MSGRNG_CC_INIT_CPU_DEST(8, cc_config->counters); in xlr_msgring_cpu_init()
162 MSGRNG_CC_INIT_CPU_DEST(9, cc_config->counters); in xlr_msgring_cpu_init()
[all …]
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
Dmad.c771 static void edit_counter_ext(struct mlx4_if_stat_extended *cnt, void *counters, in edit_counter_ext() argument
778 (struct ib_pma_portcounters *)counters; in edit_counter_ext()
780 cpu_to_be32((be64_to_cpu(cnt->counters[0]. in edit_counter_ext()
782 be64_to_cpu(cnt->counters[0]. in edit_counter_ext()
784 be64_to_cpu(cnt->counters[0]. in edit_counter_ext()
786 be64_to_cpu(cnt->counters[0]. in edit_counter_ext()
789 cpu_to_be32((be64_to_cpu(cnt->counters[0]. in edit_counter_ext()
791 be64_to_cpu(cnt->counters[0]. in edit_counter_ext()
793 be64_to_cpu(cnt->counters[0]. in edit_counter_ext()
795 be64_to_cpu(cnt->counters[0]. in edit_counter_ext()
[all …]
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/scripts/
Dibswportwatch.pl63 foreach my $cnt (@IBswcountlimits::counters) {
93 foreach my $count (@IBswcountlimits::counters) {
103 foreach my $count (@IBswcountlimits::counters) {
130 foreach my $count (@IBswcountlimits::counters) {
DIBswcountlimits.pm49 @IBswcountlimits::counters = (
195 foreach my $count (@IBswcountlimits::counters) {
/freebsd-10-stable/contrib/ofed/management/opensm/doc/
Dperf-manager-arch.txt13 2. Based on subnet topology, monitor performance and error counters.
14 Also, possible counters related to congestion.
16 on counters obtained
32 Counters to be monitored include performance counters (data octets and
33 packets both receive and transmit) and error counters. These are all in
35 optional 64 bit counters, PortExtendedCounters (as this is only known
41 Note that with 32 bit counters, on 4x SDR links, byte counts can max out in
44 counters are sticky, the counters need to be reset when they get "close"
45 to max'ing out. This will result in some inaccuracy. When counters are
47 queryable. Note that when the 64 bit counters are supported more generally,
[all …]
Dperformance-manager-HOWTO.txt7 OpenSM now includes a performance manager which collects Port counters from
12 1) Collect port data and error counters per v1.2 spec and store in
14 2) Automatic reset of counters when they reach approximatly 3/4 full.
20 4) Automatically detects "outside" resets of counters and adjusts to
26 1) Data counters will be lost on high data rate links. Sweeping the
109 The console command "perfmgr dump_counters" will dump counters to the file
/freebsd-10-stable/tools/test/hwpmc/
Dpmctest.py79 counters = p.communicate()[0]
81 if len(counters) <= 0:
85 for counter in counters.split():
/freebsd-10-stable/contrib/ofed/management/doc/
Ddiagtools.txt231 and error counters) from the PMA at the node specified. Optionally
232 show aggregated counters for all ports of node. Also, optionally, reset
233 after read, or only reset counters.
239 -a show aggregated counters for all ports of the destination lid.
240 -r reset counters after read.
241 -R only reset counters.
244 perfquery # read local port's performance counters
245 perfquery 32 1 # read performance counters from lid 32, port 1
246 perfquery -a 32 # read node aggregated performance counters
247 perfquery -r 32 1 # read performance counters and reset
[all …]
Ddiagtools-proposal.txt86 and error counters) from the PMA at the node specified. -r resets these
87 counters after obtaining them.
163 (from port counters).
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/
DREADME231 and error counters) from the PMA at the node specified. Optionally reset all
238 -a show aggregated counters for all ports of the destination lid.
239 -r reset counters after read.
240 -R only reset counters.
243 perfquery # read local port's performance counters
244 perfquery 32 1 # read performance counters from lid 32, port 1
245 perfquery -a 32 # read node aggregated performance counters
246 perfquery -r 32 1 # read performance counters and reset
247 perfquery -R 32 1 # reset performance counters of port 1 only
248 perfquery -R -a 32 # reset performance counters of all ports
[all …]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Symbol/
DClangASTImporter.cpp27 void ClangASTMetrics::DumpCounters (Log *log, ClangASTMetrics::Counters &counters) in DumpCounters() argument
29 …log->Printf(" Number of visible Decl queries by name : %" PRIu64, counters.m_visible_query_co… in DumpCounters()
30 …log->Printf(" Number of lexical Decl queries : %" PRIu64, counters.m_lexical_query_co… in DumpCounters()
31 …log->Printf(" Number of imports initiated by LLDB : %" PRIu64, counters.m_lldb_import_coun… in DumpCounters()
32 …log->Printf(" Number of imports conducted by Clang : %" PRIu64, counters.m_clang_import_cou… in DumpCounters()
33 …log->Printf(" Number of Decls completed : %" PRIu64, counters.m_decls_completed_… in DumpCounters()
34 …log->Printf(" Number of records laid out : %" PRIu64, counters.m_record_layout_co… in DumpCounters()
/freebsd-10-stable/usr.bin/netstat/
Dmain.c813 u_long *counters; in kread_counters() local
825 if ((counters = malloc(n * sizeof(u_long))) == NULL) in kread_counters()
827 if (kread(addr, counters, n * sizeof(u_long)) < 0) { in kread_counters()
828 free(counters); in kread_counters()
834 c[i] = kvm_counter_u64_fetch(kvmd, counters[i]); in kread_counters()
836 free(counters); in kread_counters()
/freebsd-10-stable/contrib/ofed/management/
DREADME101 counters of the destination port
104 ibcheckerrs - check if the error counters of the port/node have passed
123 error counters (PMA PortCounters) beyond the indicated thresholds
124 ibclearerrors - clear all error counters on subnet
125 ibclearcounters - clear all port counters on subnet
/freebsd-10-stable/sys/dev/pms/RefTisa/sallsdk/spc/
Dsautil.c787 bit32 counters, in saGetLLCounters() argument
796 if (counters & (1 << i)) in saGetLLCounters()
819 bit32 counters in saResetLLCounters() argument
827 if (counters & (1 << i)) in saResetLLCounters()
/freebsd-10-stable/sys/dev/drm/
Ddrm_ioctl.c217 for (i = 0; i < dev->counters; i++) { in drm_getstats()
226 stats->count = dev->counters; in drm_getstats()
/freebsd-10-stable/contrib/bsnmp/snmp_mibII/
DBEGEMOT-MIB2-MIB.txt79 "The current polling rate for the HC 64-bit counters."
87 "The polling rate to be enforced for the HC 64-bit counters.
/freebsd-10-stable/sys/dev/drm2/
Ddrm_ioctl.c248 for (i = 0; i < dev->counters; i++) { in drm_getstats()
257 stats->count = dev->counters; in drm_getstats()
/freebsd-10-stable/sys/geom/
Dnotes12 increment bio_inbed for every call, and if the two counters are
25 and g_std_done() sees the counters both equal 1 and finishes off
71 (based on the counters for scheduled and completed requests being

123456