| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/ |
| H A D | libgcov-profiler.c | 47 __gcov_interval_profiler (gcov_type *counters, gcov_type value, in __gcov_interval_profiler() argument 52 counters[steps + 1]++; in __gcov_interval_profiler() 54 counters[steps]++; in __gcov_interval_profiler() 56 counters[delta]++; in __gcov_interval_profiler() 67 __gcov_interval_profiler_atomic (gcov_type *counters, gcov_type value, in __gcov_interval_profiler_atomic() argument 72 __atomic_fetch_add (&counters[steps + 1], 1, __ATOMIC_RELAXED); in __gcov_interval_profiler_atomic() 74 __atomic_fetch_add (&counters[steps], 1, __ATOMIC_RELAXED); in __gcov_interval_profiler_atomic() 76 __atomic_fetch_add (&counters[delta], 1, __ATOMIC_RELAXED); in __gcov_interval_profiler_atomic() 85 __gcov_pow2_profiler (gcov_type *counters, gcov_type value) in __gcov_pow2_profiler() argument 88 counters[0]++; in __gcov_pow2_profiler() [all …]
|
| H A D | libgcov-merge.c | 32 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_add() argument 37 void __gcov_merge_topn (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_topn() argument 48 __gcov_merge_add (gcov_type *counters, unsigned n_counters) in __gcov_merge_add() argument 50 for (; n_counters; counters++, n_counters--) in __gcov_merge_add() 51 *counters += gcov_get_counter (); in __gcov_merge_add() 60 __gcov_merge_ior (gcov_type *counters, unsigned n_counters) in __gcov_merge_ior() argument 62 for (; n_counters; counters++, n_counters--) in __gcov_merge_ior() 63 *counters |= gcov_get_counter_target (); in __gcov_merge_ior() 72 __gcov_merge_time_profile (gcov_type *counters, unsigned n_counters) in __gcov_merge_time_profile() argument 81 if (value && (!counters[i] || value < counters[i])) in __gcov_merge_time_profile() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/ |
| H A D | libgcov-profiler.c | 36 __gcov_interval_profiler (gcov_type *counters, gcov_type value, in __gcov_interval_profiler() argument 41 counters[steps + 1]++; in __gcov_interval_profiler() 43 counters[steps]++; in __gcov_interval_profiler() 45 counters[delta]++; in __gcov_interval_profiler() 56 __gcov_interval_profiler_atomic (gcov_type *counters, gcov_type value, in __gcov_interval_profiler_atomic() argument 61 __atomic_fetch_add (&counters[steps + 1], 1, __ATOMIC_RELAXED); in __gcov_interval_profiler_atomic() 63 __atomic_fetch_add (&counters[steps], 1, __ATOMIC_RELAXED); in __gcov_interval_profiler_atomic() 65 __atomic_fetch_add (&counters[delta], 1, __ATOMIC_RELAXED); in __gcov_interval_profiler_atomic() 74 __gcov_pow2_profiler (gcov_type *counters, gcov_type value) in __gcov_pow2_profiler() argument 77 counters[0]++; in __gcov_pow2_profiler() [all …]
|
| H A D | libgcov-merge.c | 32 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_add() argument 37 void __gcov_merge_topn (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_topn() argument 48 __gcov_merge_add (gcov_type *counters, unsigned n_counters) in __gcov_merge_add() argument 50 for (; n_counters; counters++, n_counters--) in __gcov_merge_add() 51 *counters += gcov_get_counter (); in __gcov_merge_add() 60 __gcov_merge_ior (gcov_type *counters, unsigned n_counters) in __gcov_merge_ior() argument 62 for (; n_counters; counters++, n_counters--) in __gcov_merge_ior() 63 *counters |= gcov_get_counter_target (); in __gcov_merge_ior() 72 __gcov_merge_time_profile (gcov_type *counters, unsigned n_counters) in __gcov_merge_time_profile() argument 81 if (value && (!counters[i] || value < counters[i])) in __gcov_merge_time_profile() [all …]
|
| H A D | libgcov.h | 274 gcov_type *counters; member 496 gcov_topn_add_value (gcov_type *counters, gcov_type value, gcov_type count, in gcov_topn_add_value() argument 503 if (counters[0] < 0) in gcov_topn_add_value() 505 gcov_counter_add (&counters[0], 1, use_atomic); in gcov_topn_add_value() 510 struct gcov_kvp *current_node = (struct gcov_kvp *)(intptr_t)counters[2]; in gcov_topn_add_value() 528 if (counters[1] == GCOV_TOPN_MAXIMUM_TRACKED_VALUES) in gcov_topn_add_value() 548 if (!counters[2]) in gcov_topn_add_value() 553 struct gcov_kvp **ptr = (struct gcov_kvp **)(intptr_t)&counters[2]; in gcov_topn_add_value() 559 counters[2] = (intptr_t)new_node; in gcov_topn_add_value() 579 gcov_counter_add (&counters[1], 1, use_atomic); in gcov_topn_add_value()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | stats.c | 119 isc_stats_t *counters; member 163 isc_stats_detach(&stats->counters); in dns_stats_detach() 179 stats->counters = NULL; in create_stats() 182 result = isc_stats_create(mctx, &stats->counters, ncounters); in create_stats() 263 isc_stats_increment(stats->counters, counter); in dns_generalstats_increment() 281 isc_stats_increment(stats->counters, counter); in dns_rdatatypestats_increment() 328 isc_stats_increment(stats->counters, counter); in update_rdatasetstats() 330 isc_stats_decrement(stats->counters, counter); in update_rdatasetstats() 356 isc_stats_increment(stats->counters, (isc_statscounter_t)code); in dns_opcodestats_increment() 364 isc_stats_increment(stats->counters, (isc_statscounter_t)code); in dns_rcodestats_increment() [all …]
|
| /netbsd-src/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 117 isc_stats_t *counters; 161 isc_stats_detach(&stats->counters); in dns_stats_detach() 174 stats->counters = NULL; in create_stats() 177 isc_stats_create(mctx, &stats->counters, ncounters); in create_stats() 233 * Create two counters per key, one is the key id, the other two are in dns_opcodestats_create() 234 * the actual counters fo in dns_opcodestats_create() 119 isc_stats_t *counters; global() member [all...] |
| /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
| H A D | user_counters_test.cc | 28 state.counters["foo"] = 1; in BM_Counters_Simple() 29 state.counters["bar"] = 2 * (double)state.iterations(); in BM_Counters_Simple() 65 state.counters["foo"] = 1; in BM_Counters_WithBytesAndItemsPSec() 66 state.counters["bar"] = ++num_calls1; in BM_Counters_WithBytesAndItemsPSec() 110 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate() 111 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate() 145 state.counters["foo"] = 1; in BM_Counters_Threads() 146 state.counters["bar"] = 2; in BM_Counters_Threads() 181 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads() 182 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/ |
| H A D | stats.c | 47 isc_atomic_statscounter_t *counters; 70 isc_mem_cput(stats->mctx, stats->counters, stats->ncounters, in create_stats() 90 stats->counters = isc_mem_get(mctx, counters_alloc_size); in isc_stats_detach() 93 atomic_init(&stats->counters[i], 0); in isc_stats_detach() 107 return atomic_fetch_add_relaxed(&stats->counters[counter], 1); 115 REQUIRE(atomic_fetch_sub_release(&stats->counters[counter], 1) > 0); 117 atomic_fetch_sub_release(&stats->counters[counter], 1); in isc_stats_increment() 130 atomic_load_acquire(&stats->counters[i]); 143 atomic_store_release(&stats->counters[counter], val); in isc_stats_dump() 153 atomic_load_acquire(&stats->counters[counte in isc_stats_set() 48 isc_atomic_statscounter_t *counters; global() member [all...] |
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/ |
| H A D | stats.c | 45 isc__atomic_statcounter_t *counters; member 57 stats->counters = isc_mem_get(mctx, counters_alloc_size); in create_stats() 60 atomic_init(&stats->counters[i], 0); in create_stats() 91 isc_mem_put(stats->mctx, stats->counters, in isc_stats_detach() 117 atomic_fetch_add_relaxed(&stats->counters[counter], 1); in isc_stats_increment() 124 atomic_fetch_sub_release(&stats->counters[counter], 1); in isc_stats_decrement() 135 uint32_t counter = atomic_load_acquire(&stats->counters[i]); in isc_stats_dump() 148 atomic_store_release(&stats->counters[counter], val); in isc_stats_set() 158 atomic_load_acquire(&stats->counters[counter]); in isc_stats_update_if_greater() 164 &stats->counters[counter], &curr_value, value)); in isc_stats_update_if_greater() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/test/ |
| H A D | user_counters_test.cc | 24 state.counters["foo"] = 1; in BM_Counters_Simple() 25 state.counters["bar"] = 2 * (double)state.iterations(); in BM_Counters_Simple() 56 state.counters["foo"] = 1; in BM_Counters_WithBytesAndItemsPSec() 57 state.counters["bar"] = ++num_calls1; in BM_Counters_WithBytesAndItemsPSec() 98 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate() 99 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate() 129 state.counters["foo"] = 1; in BM_Counters_Threads() 130 state.counters["bar"] = 2; in BM_Counters_Threads() 159 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads() 160 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| H A D | csv_reporter.cc | 51 for (const auto& cnt : run.counters) { in ReportRuns() 73 for (const auto& cnt : run.counters) { in ReportRuns() 124 if (run.counters.find("bytes_per_second") != run.counters.end()) { in PrintRunData() 125 Out << run.counters.at("bytes_per_second"); in PrintRunData() 128 if (run.counters.find("items_per_second") != run.counters.end()) { in PrintRunData() 129 Out << run.counters.at("items_per_second"); in PrintRunData() 143 auto it = run.counters.find(ucn); in PrintRunData() 144 if (it == run.counters.end()) { in PrintRunData()
|
| H A D | console_reporter.cc | 58 if(!run.counters.empty()) { in PrintHeader() 60 for(auto const& c : run.counters) { in PrintHeader() 80 (!internal::SameNames(run.counters, prev_counters_)); in ReportRuns() 83 prev_counters_ = run.counters; in ReportRuns() 156 for (auto& c : result.counters) { in PrintRunData()
|
| /netbsd-src/external/mpl/bind/dist/lib/ns/ |
| H A D | stats.c | 33 isc_stats_t *counters; member 57 isc_stats_detach(&stats->counters); in ns_stats_detach() 68 stats->counters = NULL; in ns_stats_create() 72 isc_stats_create(mctx, &stats->counters, ncounters); in ns_stats_create() 87 return isc_stats_increment(stats->counters, counter); in ns_stats_create() 94 isc_stats_decrement(stats->counters, counter); 101 return stats->counters; in ns_stats_increment() 109 isc_stats_update_if_greater(stats->counters, counter, value); 116 return isc_stats_get_counter(stats->counters, counter);
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
| H A D | rs6000-pcrel-opt.cc | 140 } counters; variable 353 counters.failed_loads++; in pcrel_opt_load() 363 counters.loads++; in pcrel_opt_load() 365 counters.adjacent_loads++; in pcrel_opt_load() 506 counters.failed_stores++; in pcrel_opt_store() 516 counters.stores++; in pcrel_opt_store() 518 counters.adjacent_stores++; in pcrel_opt_store() 614 counters.extern_addrs++; in pcrel_opt_address() 802 memset (&counters, 0, sizeof (counters)); in pcrel_opt_pass() 838 counters.extern_addrs); in pcrel_opt_pass() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | value-prof.cc | 202 free (hist->hvalue.counters); in gimple_remove_histogram_value() 230 if (hist->hvalue.counters) in dump_histogram_value() 242 (int64_t) hist->hvalue.counters[i]); in dump_histogram_value() 247 (int64_t) hist->hvalue.counters[i]); in dump_histogram_value() 252 if (hist->hvalue.counters) in dump_histogram_value() 255 (int64_t) hist->hvalue.counters[1], in dump_histogram_value() 256 (int64_t) hist->hvalue.counters[0]); in dump_histogram_value() 261 if (hist->hvalue.counters) in dump_histogram_value() 266 if (hist->hvalue.counters) in dump_histogram_value() 268 unsigned count = hist->hvalue.counters[1]; in dump_histogram_value() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/ |
| H A D | TargetPfmCounters.td | 9 // This file defines the target-independent interfaces for performance counters. 13 // Definition of a hardware counters from libpfm identifiers. 17 // measured value is the sum of events on these counters. 21 // Issue counters can be tied to a ProcResource 43 // A binding of a set of counters to a CPU. 44 class PfmCountersBinding<string cpu_name, ProcPfmCounters counters> { 46 ProcPfmCounters Counters = counters; 50 class PfmCountersDefaultBinding<ProcPfmCounters counters> 51 : PfmCountersBinding<"", counters> {}
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | value-prof.c | 202 free (hist->hvalue.counters); in gimple_remove_histogram_value() 230 if (hist->hvalue.counters) in dump_histogram_value() 242 (int64_t) hist->hvalue.counters[i]); in dump_histogram_value() 247 (int64_t) hist->hvalue.counters[i]); in dump_histogram_value() 252 if (hist->hvalue.counters) in dump_histogram_value() 255 (int64_t) hist->hvalue.counters[1], in dump_histogram_value() 256 (int64_t) hist->hvalue.counters[0]); in dump_histogram_value() 261 if (hist->hvalue.counters) in dump_histogram_value() 266 if (hist->hvalue.counters) in dump_histogram_value() 269 (int64_t) abs_hwi (hist->hvalue.counters[0]), in dump_histogram_value() [all …]
|
| /netbsd-src/sys/net/ |
| H A D | net_stats.c | 74 uint64_t *counters; in netstat_sysctl() local 80 counters = kmem_zalloc(countersize, KM_SLEEP); in netstat_sysctl() 81 ctx.ctx_counters = counters; in netstat_sysctl() 88 node.sysctl_data = counters; in netstat_sysctl() 92 kmem_free(counters, countersize); in netstat_sysctl()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/aes/asm/ |
| H A D | aesni-mb-x86_64.pl | 95 ($counters,$mask,$zero)=map("%xmm$_",(10..12)); 202 movdqa 32(%rsp),$counters # load counters 237 movdqa $counters,$mask 253 paddd $mask,$counters # decrement counters 254 movdqa $counters,32(%rsp) # update counters 475 movdqa 32(%rsp),$counters # load counters 510 movdqa $counters,$mask 526 paddd $mask,$counters # decrement counters 527 movdqa $counters,32(%rsp) # update counters 656 my ($counters,$zero)=("%xmm14","%xmm15"); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/aes/asm/ |
| H A D | aesni-mb-x86_64.pl | 104 ($counters,$mask,$zero)=map("%xmm$_",(10..12)); 215 movdqa 32(%rsp),$counters # load counters 250 movdqa $counters,$mask 266 paddd $mask,$counters # decrement counters 267 movdqa $counters,32(%rsp) # update counters 493 movdqa 32(%rsp),$counters # load counters 528 movdqa $counters,$mask 544 paddd $mask,$counters # decrement counters 545 movdqa $counters,32(%rsp) # update counters 674 my ($counters,$zero)=("%xmm14","%xmm15"); [all …]
|
| /netbsd-src/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) {
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| H A D | console_reporter.cc | 58 if(!run.counters.empty()) { in PrintHeader() 60 for(auto const& c : run.counters) { in PrintHeader() 80 (!internal::SameNames(run.counters, prev_counters_)); in ReportRuns() 83 prev_counters_ = run.counters; in ReportRuns() 150 for (auto& c : result.counters) { in PrintRunData()
|
| H A D | csv_reporter.cc | 51 for (const auto& cnt : run.counters) { in ReportRuns() 70 for (const auto& cnt : run.counters) { in ReportRuns() 139 auto it = run.counters.find(ucn); in PrintRunData() 140 if(it == run.counters.end()) { in PrintRunData()
|