/netbsd-current/external/gpl3/gcc.old/dist/libgcc/ |
H A D | libgcov-merge.c | 32 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), 37 void __gcov_merge_topn (gcov_type *counters __attribute__ ((unused)), 44 /* The profile merging function that just adds the counters. It is given 45 an array COUNTERS of N_COUNTERS old counters and it reads the same number 46 of counters from the gcov file. */ 48 __gcov_merge_add (gcov_type *counters, unsigned n_counters) argument 50 for (; n_counters; counters++, n_counters--) 51 *counters += gcov_get_counter (); 56 /* The profile merging function that just adds the counters. It is given 57 an array COUNTERS of N_COUNTERS old counters an 60 __gcov_merge_ior(gcov_type *counters, unsigned n_counters) argument 72 __gcov_merge_time_profile(gcov_type *counters, unsigned n_counters) argument 102 merge_topn_values_set(gcov_type *counters) argument 179 __gcov_merge_topn(gcov_type *counters, unsigned n_counters) argument [all...] |
H A D | libgcov-profiler.c | 47 __gcov_interval_profiler (gcov_type *counters, gcov_type value, argument 52 counters[steps + 1]++; 54 counters[steps]++; 56 counters[delta]++; 67 __gcov_interval_profiler_atomic (gcov_type *counters, gcov_type value, argument 72 __atomic_fetch_add (&counters[steps + 1], 1, __ATOMIC_RELAXED); 74 __atomic_fetch_add (&counters[steps], 1, __ATOMIC_RELAXED); 76 __atomic_fetch_add (&counters[delta], 1, __ATOMIC_RELAXED); 85 __gcov_pow2_profiler (gcov_type *counters, gcov_type value) argument 88 counters[ 99 __gcov_pow2_profiler_atomic(gcov_type *counters, gcov_type value) argument 112 __gcov_topn_values_profiler_body(gcov_type *counters, gcov_type value, int use_atomic) argument 157 __gcov_topn_values_profiler(gcov_type *counters, gcov_type value) argument 175 __gcov_topn_values_profiler_atomic(gcov_type *counters, gcov_type value) argument 246 __gcov_average_profiler(gcov_type *counters, gcov_type value) argument 258 __gcov_average_profiler_atomic(gcov_type *counters, gcov_type value) argument 269 __gcov_ior_profiler(gcov_type *counters, gcov_type value) argument 279 __gcov_ior_profiler_atomic(gcov_type *counters, gcov_type value) argument [all...] |
/netbsd-current/external/mpl/bind/dist/bin/tests/system/statschannel/ |
H A D | server-xml.pl | 20 my $counters = $ref->{server}->{counters}; 21 foreach $group (@$counters) {
|
H A D | zones-xml.pl | 25 my $counters = $ref->{views}->{view}->{_default}->{zones}->{zone}->{$zone}->{counters}; 27 foreach $group (@$counters) {
|
H A D | traffic-xml.pl | 24 my $udp = $ref->{traffic}->{ipv4}->{udp}->{counters}; 36 my $tcp = $ref->{traffic}->{ipv4}->{tcp}->{counters};
|
/netbsd-current/external/gpl3/gcc/dist/libgcc/ |
H A D | libgcov-profiler.c | 36 __gcov_interval_profiler (gcov_type *counters, gcov_type value, argument 41 counters[steps + 1]++; 43 counters[steps]++; 45 counters[delta]++; 56 __gcov_interval_profiler_atomic (gcov_type *counters, gcov_type value, argument 61 __atomic_fetch_add (&counters[steps + 1], 1, __ATOMIC_RELAXED); 63 __atomic_fetch_add (&counters[steps], 1, __ATOMIC_RELAXED); 65 __atomic_fetch_add (&counters[delta], 1, __ATOMIC_RELAXED); 74 __gcov_pow2_profiler (gcov_type *counters, gcov_type value) argument 77 counters[ 88 __gcov_pow2_profiler_atomic(gcov_type *counters, gcov_type value) argument 100 __gcov_topn_values_profiler_body(gcov_type *counters, gcov_type value, int use_atomic) argument 108 __gcov_topn_values_profiler(gcov_type *counters, gcov_type value) argument 126 __gcov_topn_values_profiler_atomic(gcov_type *counters, gcov_type value) argument 197 __gcov_average_profiler(gcov_type *counters, gcov_type value) argument 209 __gcov_average_profiler_atomic(gcov_type *counters, gcov_type value) argument 220 __gcov_ior_profiler(gcov_type *counters, gcov_type value) argument 230 __gcov_ior_profiler_atomic(gcov_type *counters, gcov_type value) argument [all...] |
H A D | libgcov-merge.c | 32 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), 37 void __gcov_merge_topn (gcov_type *counters __attribute__ ((unused)), 44 /* The profile merging function that just adds the counters. It is given 45 an array COUNTERS of N_COUNTERS old counters and it reads the same number 46 of counters from the gcov file. */ 48 __gcov_merge_add (gcov_type *counters, unsigned n_counters) argument 50 for (; n_counters; counters++, n_counters--) 51 *counters += gcov_get_counter (); 56 /* The profile merging function that just adds the counters. It is given 57 an array COUNTERS of N_COUNTERS old counters an 60 __gcov_merge_ior(gcov_type *counters, unsigned n_counters) argument 72 __gcov_merge_time_profile(gcov_type *counters, unsigned n_counters) argument 103 __gcov_merge_topn(gcov_type *counters, unsigned n_counters) argument [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | complaints.c | 26 /* Map format strings to counters. */ 28 static std::unordered_map<const char *, int> counters; variable 43 if (++counters[fmt] > stop_whining) 65 counters.clear ();
|
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
H A D | csv_reporter.cc | 49 // save the names of all the user counters 51 for (const auto& cnt : run.counters) { 71 // check that all the current counters are saved in the name set 73 for (const auto& cnt : run.counters) { 77 << "All counters must be present in each run. " 124 if (run.counters.find("bytes_per_second") != run.counters.end()) { 125 Out << run.counters.at("bytes_per_second"); 128 if (run.counters.find("items_per_second") != run.counters [all...] |
H A D | console_reporter.cc | 58 if(!run.counters.empty()) { 60 for(auto const& c : run.counters) { 80 (!internal::SameNames(run.counters, prev_counters_)); 83 prev_counters_ = run.counters; 156 for (auto& c : result.counters) {
|
/netbsd-current/external/mpl/bind/dist/lib/ns/ |
H A D | stats.c | 33 isc_stats_t *counters; member in struct:ns_stats 57 isc_stats_detach(&stats->counters); 71 stats->counters = NULL; 75 result = isc_stats_create(mctx, &stats->counters, ncounters); 100 isc_stats_increment(stats->counters, counter); 107 isc_stats_decrement(stats->counters, counter); 114 return (stats->counters); 122 isc_stats_update_if_greater(stats->counters, counter, value); 129 return (isc_stats_get_counter(stats->counters, counter));
|
/netbsd-current/sys/net/ |
H A D | net_stats.c | 45 u_int ctx_ncounters; /* number of counters in array */ 66 * that are gathered per-CPU. Statistics counters are assumed 74 uint64_t *counters; local 80 counters = kmem_zalloc(countersize, KM_SLEEP); 81 ctx.ctx_counters = counters; 88 node.sysctl_data = counters; 92 kmem_free(counters, countersize);
|
/netbsd-current/external/apache2/llvm/dist/llvm/utils/benchmark/test/ |
H A D | user_counters_test.cc | 24 state.counters["foo"] = 1; 25 state.counters["bar"] = 2 * (double)state.iterations(); 56 state.counters["foo"] = 1; 57 state.counters["bar"] = ++num_calls1; 98 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; 99 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; 129 state.counters["foo"] = 1; 130 state.counters["bar"] = 2; 159 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; 160 state.counters["ba [all...] |
/netbsd-current/external/bsd/ntp/dist/lib/isc/ |
H A D | stats.c | 73 isc_stat_t *counters; member in struct:isc_stats 76 * We don't want to lock the counters while we are dumping, so we first 104 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters); 105 if (stats->counters == NULL) { 123 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters); 134 isc_mem_put(mctx, stats->counters, sizeof(isc_stat_t) * ncounters); 179 isc_mem_put(stats->mctx, stats->counters, 210 prev = isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].lo, 1); 220 isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].hi, 1); 223 isc_atomic_xaddq((isc_int64_t *)&stats->counters[counte [all...] |
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
H A D | user_counters_test.cc | 28 state.counters["foo"] = 1; 29 state.counters["bar"] = 2 * (double)state.iterations(); 65 state.counters["foo"] = 1; 66 state.counters["bar"] = ++num_calls1; 110 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; 111 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; 145 state.counters["foo"] = 1; 146 state.counters["bar"] = 2; 181 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; 182 state.counters["ba [all...] |
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/ |
H A D | stats.c | 45 isc__atomic_statcounter_t *counters; member in struct:isc_stats 57 stats->counters = isc_mem_get(mctx, counters_alloc_size); 60 atomic_init(&stats->counters[i], 0); 91 isc_mem_put(stats->mctx, stats->counters, 117 atomic_fetch_add_relaxed(&stats->counters[counter], 1); 124 atomic_fetch_sub_release(&stats->counters[counter], 1); 135 uint32_t counter = atomic_load_acquire(&stats->counters[i]); 148 atomic_store_release(&stats->counters[counter], val); 158 atomic_load_acquire(&stats->counters[counter]); 164 &stats->counters[counte [all...] |
/netbsd-current/external/mpl/bind/dist/lib/isc/ |
H A D | stats.c | 48 isc_atomic_statscounter_t *counters; member in struct:isc_stats 60 stats->counters = isc_mem_get(mctx, counters_alloc_size); 63 atomic_init(&stats->counters[i], 0); 94 isc_mem_put(stats->mctx, stats->counters, 120 atomic_fetch_add_relaxed(&stats->counters[counter], 1); 127 atomic_fetch_sub_release(&stats->counters[counter], 1); 139 atomic_load_acquire(&stats->counters[i]); 152 atomic_store_release(&stats->counters[counter], val); 162 atomic_load_acquire(&stats->counters[counter]); 168 &stats->counters[counte [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | complaints.c | 28 /* Map format strings to counters. */ 30 static std::unordered_map<const char *, int> counters; variable 53 if (++counters[fmt] > stop_whining) 76 counters.clear (); 151 scoped_restore reset_counters = make_scoped_restore (&counters, tmp); 162 SELF_CHECK (counters[STR] == CNT); \ 171 SELF_CHECK (counters[STR] == CNT); \
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mips/ |
H A D | perfcount.d | 2 #name: MIPS R1[20]000 performance counters
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | stats.c | 48 * It doesn't make sense to have 2^16 counters for all possible types since 49 * most of them won't be used. We have counters for the first 256 types. 78 * treat S = 0b11 as a special case to deal with NXDOMAIN counters. 104 * Per key we maintain 3 counters. The first is actually no counter but 119 isc_stats_t *counters; member in struct:dns_stats 163 isc_stats_detach(&stats->counters); 179 stats->counters = NULL; 182 result = isc_stats_create(mctx, &stats->counters, ncounters); 248 * Create two counters per key, one is the key id, the other two are 249 * the actual counters fo [all...] |
/netbsd-current/external/mpl/bind/dist/lib/dns/ |
H A D | stats.c | 48 * It doesn't make sense to have 2^16 counters for all possible types since 49 * most of them won't be used. We have counters for the first 256 types. 78 * treat S = 0b11 as a special case to deal with NXDOMAIN counters. 104 * Per key we maintain 3 counters. The first is actually no counter but 119 isc_stats_t *counters; member in struct:dns_stats 163 isc_stats_detach(&stats->counters); 179 stats->counters = NULL; 182 result = isc_stats_create(mctx, &stats->counters, ncounters); 248 * Create two counters per key, one is the key id, the other two are 249 * the actual counters fo [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/config/rs6000/ |
H A D | rs6000-pcrel-opt.cc | 131 /* Various counters. */ 140 } counters; variable in typeref:struct:__anon641 354 counters.failed_loads++; 364 counters.loads++; 366 counters.adjacent_loads++; 508 counters.failed_stores++; 518 counters.stores++; 520 counters.adjacent_stores++; 616 counters.extern_addrs++; 804 memset (&counters, [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
H A D | csv_reporter.cc | 49 // save the names of all the user counters 51 for (const auto& cnt : run.counters) { 68 // check that all the current counters are saved in the name set 70 for (const auto& cnt : run.counters) { 72 << "All counters must be present in each run. " 137 // Print user counters 139 auto it = run.counters.find(ucn); 140 if(it == run.counters.end()) {
|
H A D | console_reporter.cc | 58 if(!run.counters.empty()) { 60 for(auto const& c : run.counters) { 80 (!internal::SameNames(run.counters, prev_counters_)); 83 prev_counters_ = run.counters; 150 for (auto& c : result.counters) {
|
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | value-prof.cc | 73 collects the values to profile in a vec, and adds the number of counters 202 free (hist->hvalue.counters); 230 if (hist->hvalue.counters) 242 (int64_t) hist->hvalue.counters[i]); 247 (int64_t) hist->hvalue.counters[i]); 252 if (hist->hvalue.counters) 255 (int64_t) hist->hvalue.counters[1], 256 (int64_t) hist->hvalue.counters[0]); 261 if (hist->hvalue.counters) 266 if (hist->hvalue.counters) 765 unsigned counters = hist->hvalue.counters[1]; local [all...] |