HomeSort by: relevance | last modified time | path
    Searched refs:counters (Results 1 - 22 of 22) sorted by relevancy

  /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 in function:netstat_sysctl
80 counters = kmem_zalloc(countersize, KM_SLEEP);
81 ctx.ctx_counters = counters;
88 node.sysctl_data = counters;
92 kmem_free(counters, countersize);
  /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) !=
sanitizer_allocator_test.cc 1147 NoMemoryPackedCounterArray counters(64, 1ULL << i, &no_memory_mapper); local in function:TEST
1157 // Make sure counters request one memory page for the buffer.
1159 RedZonePackedCounterArray counters(kNumCounters, local in function:TEST
1162 counters.Inc(0);
1164 ASSERT_EQ(0ULL, counters.Get(c));
1165 counters.Inc(c);
1166 ASSERT_EQ(1ULL, counters.Get(c - 1));
1168 ASSERT_EQ(0ULL, counters.Get(kNumCounters - 1));
1169 counters.Inc(kNumCounters - 1);
1172 counters.IncRange(0, kNumCounters - 1)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/profile/
GCDAProfiling.c 326 /* Given an array of pointers to counters (counters), increment the n-th one,
330 uint64_t **counters) {
337 counter = counters[pred];
346 "llvmgcda: increment_indirect_counter counters=%08llx, pred=%u\n",
377 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) {
388 /* There are counters present in the file. Merge them. */
399 "mismatched number of counters (%d)\n",
415 counters[i] += (old_ctrs ? old_ctrs[i] : 0);
416 write_64bit_value(counters[i])
    [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/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_primary64.h 322 // A packed array of counters. Each counter occupies 2^n bits, enough to store
488 PackedCounterArray<MemoryMapperT> counters(allocated_pages_count, local in function:SizeClassAllocator64::ReleaseFreeMemoryToOS
491 if (!counters.IsAllocated())
503 counters.Inc(free_array[i] >> page_size_scaled_log);
507 counters.IncRange(
513 // Iterate over pages detecting ranges of pages with chunk counters equal
518 for (uptr i = 0; i < counters.GetCount(); i++)
519 range_tracker.NextPage(counters.Get(i) == full_pages_chunk_count_max);
533 for (uptr i = 0; i < counters.GetCount(); i++) {
547 range_tracker.NextPage(counters.Get(i) == chunks_per_page)
    [all...]
sanitizer_win.cc 760 PROCESS_MEMORY_COUNTERS counters; local in function:__sanitizer::GetRSS
761 if (!GetProcessMemoryInfo(GetCurrentProcess(), &counters, sizeof(counters)))
763 return counters.WorkingSetSize;
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_ioctl.c 218 for (i = 0; i < dev->counters; i++) {
227 stats->count = dev->counters;
drm_drv.c 595 dev->counters = 6;
drmP.h 667 /* (driver must alloc the right number of counters) */
794 /* Usage Counters */
798 /* Performance counters */
799 unsigned long counters; member in struct:drm_device
  /src/usr.sbin/tprof/
tprof_top.c 119 static uint64_t *counters; /* counters[2][ncpu][nevent] */ variable in typeref:typename:uint64_t *
591 size_t sz = 2 * ncpu * nevent * sizeof(*counters);
592 counters = ecalloc(1, sz);
603 cn[0] = counters;
604 cn[1] = counters + ncpu * nevent;
937 "counters can be used.", ncounters);
  /src/sys/dev/tprof/
tprof.c 353 * Unconfigured counters are ignored.
438 /* All counters have stopped? */
582 /* update counters bitmasks */
591 /* counters with less than 64bits also require overflow handling */
607 uint64_t *counters = arg2; local in function:tprof_getcounts_cpu
616 counters[c] = counters_offset[c] +
620 counters[c] = 0;
  /src/sys/dev/
lockstat.c 66 #error CPU counters not available
  /src/sys/dev/pci/
if_mcx.c 6363 struct mcx_nic_vport_counters *counters;
6369 sizeof(*out) + sizeof(*counters), token);
6378 "query nic vport counters mailboxen\n");
6391 printf("%s: query nic vport counters timeout\n", DEVNAME(sc));
6395 printf("%s: query nic vport counters command corrupt\n",
6402 printf("%s: query nic vport counters failed (%x, %x)\n",
6408 counters = (struct mcx_nic_vport_counters *)
6410 if (counters->rx_bcast.packets + counters->tx_bcast.packets +
6411 counters->rx_ucast.packets + counters->tx_ucast.packets
    [all...]
  /src/sys/dist/pf/net/
pfvar.h 1154 /* Counters for other things we want to keep track of */
1224 pf_status.counters[x]++; \
1230 pf_status.counters[x]++; \
1234 u_int64_t counters[PFRES_MAX]; member in struct:pf_status
1235 u_int64_t lcounters[LCNT_MAX]; /* limit counters */
pf_ioctl.c 2068 bzero(pf_status.counters, sizeof(pf_status.counters));
  /src/sys/arch/mac68k/mac68k/
macromasm.s 545 .space 20 * 4 | save last 20 program counters on trace trap
  /src/dist/pf/sbin/pfctl/
pfctl_parser.c 623 printf("Counters\n");
626 (unsigned long long)s->counters[i]);
629 (double)s->counters[i] / (double)runtime);
634 printf("Limit Counters\n");
  /src/sys/external/bsd/drm/dist/shared-core/
i915_dma.c 845 /* i915 has 4 more counters */
846 dev->counters += 4;
mga_dma.c 92 /* FIXME: Reset counters, buffer ages etc...
414 dev->counters += 3;
  /src/sys/netipsec/
key.c 847 * Utilities for percpu counters for sadb_lifetime_allocations and
8443 lifetime_counters_t *counters; local in function:key_sa_recordxfer
8449 counters = percpu_getref(sav->lft_c_counters_percpu);
8455 (*counters)[LIFETIME_COUNTER_BYTES] += m->m_pkthdr.len;
8463 (*counters)[LIFETIME_COUNTER_ALLOCATIONS]++;

Completed in 100 milliseconds