HomeSort by: relevance | last modified time | path
    Searched defs:counters (Results 1 - 25 of 53) sorted by relevancy

1 2 3

  /src/sys/net/
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);
  /src/external/mpl/bind/dist/lib/ns/
stats.c 33 isc_stats_t *counters; member in struct:ns_stats
57 isc_stats_detach(&stats->counters);
68 stats->counters = NULL;
72 isc_stats_create(mctx, &stats->counters, ncounters);
87 return isc_stats_increment(stats->counters, counter);
94 isc_stats_decrement(stats->counters, counter);
101 return stats->counters;
109 isc_stats_update_if_greater(stats->counters, counter, value);
116 return isc_stats_get_counter(stats->counters, counter);
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
benchmark_api_internal.h 29 UserCounters counters; member in struct:benchmark::internal::BenchmarkInstance
thread_manager.h 49 UserCounters counters; member in struct:benchmark::internal::ThreadManager::Result
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
benchmark_api_internal.h 27 UserCounters counters; member in struct:benchmark::internal::Benchmark::Instance
thread_manager.h 51 UserCounters counters; member in struct:benchmark::internal::ThreadManager::Result
  /src/external/gpl3/gdb/dist/gdb/
complaints.c 31 /* Map format strings to counters. */
33 static std::unordered_map<const char *, int> counters; variable
56 if (++counters[fmt] > stop_whining)
80 counters.clear ();
153 scoped_restore reset_counters = make_scoped_restore (&counters, tmp);
164 SELF_CHECK (counters[STR] == CNT); \
173 SELF_CHECK (counters[STR] == CNT); \
  /src/external/gpl3/gdb.old/dist/gdb/
complaints.c 31 /* Map format strings to counters. */
33 static std::unordered_map<const char *, int> counters; variable
56 if (++counters[fmt] > stop_whining)
80 counters.clear ();
153 scoped_restore reset_counters = make_scoped_restore (&counters, tmp);
164 SELF_CHECK (counters[STR] == CNT); \
173 SELF_CHECK (counters[STR] == CNT); \
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_stoptheworld_test.cc 99 volatile int counters[kThreadCount]; member in struct:__sanitizer::AdvancedCallbackArgument
132 __sync_fetch_and_add(&callback_argument->counters[this_thread_index], 1);
150 counters_at_init[j] = __sync_fetch_and_add(&callback_argument->counters[j],
155 if (__sync_fetch_and_add(&callback_argument->counters[j], 0) !=
  /src/external/gpl3/gcc.old/dist/gcc/
value-prof.h 51 gcov_type *counters; /* Pointer to first counter. */
55 unsigned n_counters; /* Number of required counters. */
50 gcov_type *counters; \/* Pointer to first counter. *\/ member in struct:histogram_value_t::__anon11470
  /src/external/gpl3/gcc/dist/gcc/
value-prof.h 51 gcov_type *counters; /* Pointer to first counter. */
55 unsigned n_counters; /* Number of required counters. */
50 gcov_type *counters; \/* Pointer to first counter. *\/ member in struct:histogram_value_t::__anon1438
  /src/external/mpl/bind/dist/lib/isc/
stats.c 47 isc_atomic_statscounter_t *counters; member in struct:isc_stats
70 isc_mem_cput(stats->mctx, stats->counters, stats->ncounters,
90 stats->counters = isc_mem_get(mctx, counters_alloc_size);
93 atomic_init(&stats->counters[i], 0);
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);
130 atomic_load_acquire(&stats->counters[i]);
143 atomic_store_release(&stats->counters[counter], val);
153 atomic_load_acquire(&stats->counters[counter])
    [all...]
  /src/external/mpl/dhcp/bind/dist/lib/isc/
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[counter], &curr_value, value))
    [all...]
  /src/sys/dev/ic/
intersil7170reg.h 62 struct intersil_dt counters; member in struct:intersil7170
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/
pmu.h 34 uint32_t counters; member in struct:xen_pmu_amd_ctxt
  /src/external/public-domain/xz/dist/src/liblzma/lzma/
lzma_encoder_private.h 49 uint32_t counters[POS_STATES_MAX]; member in struct:__anon9689
  /src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
rs6000-pcrel-opt.cc 131 /* Various counters. */
140 } counters; variable in typeref:struct:__anon10881
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, 0, sizeof (counters))
    [all...]
  /src/external/gpl3/gcc.old/dist/libgcc/
libgcov-driver.c 244 /* This function merges counters in GI_PTR to an existing gcda file.
343 /* Merging with all zero counters does not make sense. */
415 /* Store all TOP N counters where each has a dynamic length. */
425 unsigned counters = n_counts / GCOV_TOPN_MEM_COUNTERS; local
428 /* It can happen in a multi-threaded environment that number of counters is
435 if (list_sizes == NULL || counters > list_size_length)
437 list_size_length = MAX (LIST_SIZE_MIN_LENGTH, 2 * counters);
452 for (unsigned i = 0; i < counters; i++)
465 unsigned disk_size = GCOV_TOPN_DISK_COUNTERS * counters + 2 * pair_total;
469 for (unsigned i = 0; i < counters; i++
    [all...]
libgcov.h 201 /* Information about counters for a single function. */
204 gcov_unsigned_t num; /* number of counters. */
209 idiom. The number of counters is determined from the merge pointer
220 struct gcov_ctr_info ctrs[1]; /* instrumented counters */
223 /* Type of function used to merge counters. */
273 /* Pointer to counters. */
274 gcov_type *counters; member in struct:indirect_call_tuple
292 /* Function to reset all counters to 0. Both externally visible (and
305 /* The merge function that just sums the counters. */
314 /* The merge function that just ors the counters together. *
    [all...]
  /src/external/gpl3/gcc/dist/gcc/config/rs6000/
rs6000-pcrel-opt.cc 131 /* Various counters. */
140 } counters; variable in typeref:struct:__anon844
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, 0, sizeof (counters))
    [all...]
  /src/external/gpl3/gcc/dist/libgcc/
libgcov-driver.c 244 /* This function merges counters in GI_PTR to an existing gcda file.
343 /* Merging with all zero counters does not make sense. */
433 /* Store all TOP N counters where each has a dynamic length. */
443 unsigned counters = n_counts / GCOV_TOPN_MEM_COUNTERS; local
446 /* It can happen in a multi-threaded environment that number of counters is
453 if (list_sizes == NULL || counters > list_size_length)
455 list_size_length = MAX (LIST_SIZE_MIN_LENGTH, 2 * counters);
470 for (unsigned i = 0; i < counters; i++)
483 unsigned disk_size = GCOV_TOPN_DISK_COUNTERS * counters + 2 * pair_total;
487 for (unsigned i = 0; i < counters; i++
    [all...]
libgcov.h 196 /* Information about counters for a single function. */
199 gcov_unsigned_t num; /* number of counters. */
204 idiom. The number of counters is determined from the merge pointer
215 struct gcov_ctr_info ctrs[1]; /* instrumented counters */
218 /* Type of function used to merge counters. */
268 /* Pointer to counters. */
269 gcov_type *counters; member in struct:indirect_call_tuple
287 /* Function to reset all counters to 0. Both externally visible (and
300 /* The merge function that just sums the counters. */
309 /* The merge function that just ors the counters together. *
    [all...]
  /src/external/mpl/bind/dist/lib/dns/
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; member in struct:dns_stats
161 isc_stats_detach(&stats->counters);
174 stats->counters = NULL;
177 isc_stats_create(mctx, &stats->counters, ncounters);
233 * Create two counters per key, one is the key id, the other two are
234 * the actual counters for creating and refreshing signatures
    [all...]
  /src/external/bsd/openldap/dist/tests/progs/
slapd-watcher.c 97 typedef struct counters { struct
101 } counters; typedef in typeref:struct:counters
124 counters c_prev;
125 counters c_curr;
349 counters *c )
  /src/external/mpl/dhcp/bind/dist/lib/dns/
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 for creating and refreshing signatures
    [all...]

Completed in 61 milliseconds

1 2 3