/freebsd-10.1-release/tools/test/hwpmc/ |
H A D | pmctest.py | 58 # A list of strings that are not really counters, just 79 counters = p.communicate()[0] 81 if len(counters) <= 0: 82 print("no counters found") 85 for counter in counters.split():
|
/freebsd-10.1-release/contrib/ntp/lib/isc/ |
H A D | stats.c | 71 isc_stat_t *counters; member in struct:isc_stats 74 * We don't want to lock the counters while we are dumping, so we first 102 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters); 103 if (stats->counters == NULL) { 121 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters); 132 isc_mem_put(mctx, stats->counters, sizeof(isc_stat_t) * ncounters); 177 isc_mem_put(stats->mctx, stats->counters, 208 prev = isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].lo, 1); 218 isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].hi, 1); 221 isc_atomic_xaddq((isc_int64_t *)&stats->counters[counte [all...] |
/freebsd-10.1-release/contrib/gcc/ |
H A D | libgcov.c | 58 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), 63 void __gcov_merge_single (gcov_type *counters __attribute__ ((unused)), 68 void __gcov_merge_delta (gcov_type *counters __attribute__ ((unused)), 606 /* The profile merging function that just adds the counters. It is given 607 an array COUNTERS of N_COUNTERS old counters and it reads the same number 608 of counters from the gcov file. */ 610 __gcov_merge_add (gcov_type *counters, unsigned n_counters) argument 612 for (; n_counters; counters++, n_counters--) 613 *counters += gcov_read_counter (); 619 It is given an array COUNTERS of N_COUNTERS old counters an 628 __gcov_merge_single(gcov_type *counters, unsigned n_counters) argument 667 __gcov_merge_delta(gcov_type *counters, unsigned n_counters) argument 702 __gcov_interval_profiler(gcov_type *counters, gcov_type value, int start, unsigned steps) argument 720 __gcov_pow2_profiler(gcov_type *counters, gcov_type value) argument 741 __gcov_one_value_profiler(gcov_type *counters, gcov_type value) argument [all...] |
H A D | value-prof.h | 47 gcov_type *counters; /* Pointer to first counter. */ member in struct:histogram_value_t::__anon1204 51 unsigned n_counters; /* Number of required counters. */
|
H A D | value-prof.c | 154 free (th->hvalue.counters); 297 val = histogram->hvalue.counters[0]; 298 count = histogram->hvalue.counters[1]; 299 all = histogram->hvalue.counters[2]; 464 wrong_values = histogram->hvalue.counters[0]; 465 count = histogram->hvalue.counters[1]; 650 all += histogram->hvalue.counters[i]; 652 wrong_values += histogram->hvalue.counters[i]; 653 wrong_values += histogram->hvalue.counters[i+1]; 665 count += histogram->hvalue.counters[ [all...] |
H A D | coverage.c | 55 unsigned n_ctrs[GCOV_COUNTERS];/* number of counters. */ 81 static unsigned prg_n_ctrs[GCOV_COUNTERS]; /* Total counters allocated. */ 84 static unsigned fn_ctr_mask; /* Mask of counters used. */ 103 generating counters at tree level. */ 106 /* The names of merge functions for counters. */ 276 error ("coverage mismatch for function %u while reading execution counters", 284 error ("coverage mismatch for function %u while reading execution counters", 286 error ("number of counters is %d instead of %d", entry->summary.num, n_counts); 292 error ("cannot merge separate %s counters for function %u", 323 /* Returns the counters fo 607 build_fn_info_type(unsigned int counters) argument 661 tree counters = build_int_cstu (get_gcov_unsigned_t (), local [all...] |
/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/scripts/ |
H A D | ibswportwatch.pl | 63 foreach my $cnt (@IBswcountlimits::counters) { 92 # clear the counters 93 foreach my $count (@IBswcountlimits::counters) { 103 foreach my $count (@IBswcountlimits::counters) { 110 # use perfquery to get the counters. 130 foreach my $count (@IBswcountlimits::counters) {
|
H A D | IBswcountlimits.pm | 48 # all the PerfMgt counters 49 @IBswcountlimits::counters = ( 60 # non-critical counters 114 # Data counters 158 # Rate dependent counters 194 # clear the counters 195 foreach my $count (@IBswcountlimits::counters) {
|
H A D | ibqueryerrors.pl | 99 # use perfquery to get the counters. 112 foreach my $count (@IBswcountlimits::counters) { 143 print " Report counters on all switches in subnet\n"; 145 print " -c suppress some of the common counters\n"; 152 print " -d include the data counters in the output\n";
|
/freebsd-10.1-release/sys/mips/rmi/ |
H A D | fmn.c | 153 MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters); 154 MSGRNG_CC_INIT_CPU_DEST(1, cc_config->counters); 155 MSGRNG_CC_INIT_CPU_DEST(2, cc_config->counters); 156 MSGRNG_CC_INIT_CPU_DEST(3, cc_config->counters); 157 MSGRNG_CC_INIT_CPU_DEST(4, cc_config->counters); 158 MSGRNG_CC_INIT_CPU_DEST(5, cc_config->counters); 159 MSGRNG_CC_INIT_CPU_DEST(6, cc_config->counters); 160 MSGRNG_CC_INIT_CPU_DEST(7, cc_config->counters); 161 MSGRNG_CC_INIT_CPU_DEST(8, cc_config->counters); 162 MSGRNG_CC_INIT_CPU_DEST(9, cc_config->counters); [all...] |
H A D | msgring.h | 327 unsigned short counters[16][8]; member in struct:stn_cc
|
/freebsd-10.1-release/contrib/wpa/src/radius/ |
H A D | radius_server.c | 39 * struct radius_server_counters - RADIUS server statistics counters 89 struct radius_server_counters counters; member in struct:radius_client 245 * counters - Statistics counters for server operations 247 * These counters are the sum over all clients. 249 struct radius_server_counters counters; member in struct:radius_server_data 670 data->counters.access_rejects++; 671 client->counters.access_rejects++; 736 data->counters.dup_access_requests++; 737 client->counters [all...] |
/freebsd-10.1-release/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 771 static void edit_counter_ext(struct mlx4_if_stat_extended *cnt, void *counters, argument 778 (struct ib_pma_portcounters *)counters; 780 cpu_to_be32((be64_to_cpu(cnt->counters[0]. 782 be64_to_cpu(cnt->counters[0]. 784 be64_to_cpu(cnt->counters[0]. 786 be64_to_cpu(cnt->counters[0]. 789 cpu_to_be32((be64_to_cpu(cnt->counters[0]. 791 be64_to_cpu(cnt->counters[0]. 793 be64_to_cpu(cnt->counters[0]. 795 be64_to_cpu(cnt->counters[ 895 edit_counter(struct mlx4_if_stat_basic *cnt, void *counters, __be16 attr_id) argument [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Symbol/ |
H A D | ClangASTImporter.cpp | 27 void ClangASTMetrics::DumpCounters (Log *log, ClangASTMetrics::Counters &counters) argument 29 log->Printf(" Number of visible Decl queries by name : %" PRIu64, counters.m_visible_query_count); 30 log->Printf(" Number of lexical Decl queries : %" PRIu64, counters.m_lexical_query_count); 31 log->Printf(" Number of imports initiated by LLDB : %" PRIu64, counters.m_lldb_import_count); 32 log->Printf(" Number of imports conducted by Clang : %" PRIu64, counters.m_clang_import_count); 33 log->Printf(" Number of Decls completed : %" PRIu64, counters.m_decls_completed_count); 34 log->Printf(" Number of records laid out : %" PRIu64, counters.m_record_layout_count);
|
/freebsd-10.1-release/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder_private.h | 49 uint32_t counters[POS_STATES_MAX]; member in struct:__anon4903
|
H A D | lzma_encoder.c | 81 lc->counters[pos_state] = table_size; 133 if (--lc->counters[pos_state] == 0)
|
/freebsd-10.1-release/sys/netpfil/pf/ |
H A D | pf.h | 170 /* state operation counters */ 176 /* src_node operation counters */ 186 uint64_t counters[PFRES_MAX]; member in struct:pf_status
|
/freebsd-10.1-release/contrib/apr/misc/unix/ |
H A D | randbyte_os2.inc | 58 * counters which run at the CPU's MHz speed. We get separate
|
/freebsd-10.1-release/sys/dev/drm/ |
H A D | drm_ioctl.c | 217 for (i = 0; i < dev->counters; i++) { 226 stats->count = dev->counters;
|
/freebsd-10.1-release/sys/dev/drm2/ |
H A D | drm_ioctl.c | 218 for (i = 0; i < dev->counters; i++) { 227 stats->count = dev->counters;
|
/freebsd-10.1-release/sys/ofed/drivers/net/mlx4/ |
H A D | main.c | 792 /* support extended counters if available */ 2153 mlx4_err(dev, "Failed to set extended counters (err=%d)\n", res); 2171 mlx4_dbg(dev, "%s: slave allocated %d counters for %d ports\n", 2180 /* allocating 2 counters per port for PFs */ 2181 /* For the PF, the ETH default counters are 0,2; */ 2182 /* and the RoCE default counters are 1,3 */ 2215 mlx4_dbg(dev, "%s: master allocated %d counters for %d VFs\n", 2221 mlx4_dbg(dev, "%s: native allocated %d counters for %d ports\n", 2274 /* clean VF's counters for the next useg */ 2276 mlx4_dbg(dev, "%s: free counters o [all...] |
/freebsd-10.1-release/sys/dev/bxe/ |
H A D | bxe_stats.c | 931 struct stats_counter *counters = &sc->fw_stats_data->storm_counters; local 943 if (le16toh(counters->xstats_counter) != cur_stats_counter) { 947 le16toh(counters->xstats_counter), sc->stats_counter); 951 if (le16toh(counters->ustats_counter) != cur_stats_counter) { 955 le16toh(counters->ustats_counter), sc->stats_counter); 959 if (le16toh(counters->cstats_counter) != cur_stats_counter) { 963 le16toh(counters->cstats_counter), sc->stats_counter); 967 if (le16toh(counters->tstats_counter) != cur_stats_counter) { 971 le16toh(counters->tstats_counter), sc->stats_counter); 1512 * The storm_counters struct contains the counters o [all...] |
/freebsd-10.1-release/usr.sbin/bsnmpd/modules/snmp_pf/ |
H A D | pf_snmp.c | 204 val->v.counter64 = pfs.counters[PFRES_MATCH]; 207 val->v.counter64 = pfs.counters[PFRES_BADOFF]; 210 val->v.counter64 = pfs.counters[PFRES_FRAG]; 213 val->v.counter64 = pfs.counters[PFRES_SHORT]; 216 val->v.counter64 = pfs.counters[PFRES_NORM]; 219 val->v.counter64 = pfs.counters[PFRES_MEMORY];
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
H A D | ClangASTImporter.h | 83 static void DumpCounters (Log *log, Counters &counters);
|
/freebsd-10.1-release/sys/ofed/include/linux/mlx4/ |
H A D | device.h | 697 /* Extended counters enabled */ 711 } counters[]; member in struct:mlx4_if_stat_basic 715 counters[0]) * ports) 742 } __packed counters[]; member in struct:mlx4_if_stat_extended 746 0)->counters[0]) * ports)
|