HomeSort by: relevance | last modified time | path
    Searched refs:stats (Results 1 - 25 of 139) sorted by relevancy

1 2 3 4 5 6

  /src/sys/kern/
subr_iostat.c 140 struct io_stats *stats; local in function:iostat_alloc
142 stats = kmem_zalloc(sizeof(*stats), KM_SLEEP);
143 stats->io_type = type;
144 stats->io_parent = parent;
145 (void)strlcpy(stats->io_name, name, sizeof(stats->io_name));
150 getmicrouptime(&stats->io_attachtime);
156 TAILQ_INSERT_TAIL(&iostatlist, stats, io_link);
160 return stats;
347 struct io_stats *stats; local in function:iostati_getnames
403 struct io_stats *stats; local in function:sysctl_hw_iostats
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_stats.cc 44 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n",
46 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs);
47 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees);
48 Printf("Stats: %zuM really freed by %zu calls\n",
50 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n",
55 Printf("Stats: malloc large: %zu\n", malloc_large);
58 void AsanStats::MergeFrom(const AsanStats *stats) {
60 const uptr *src_ptr = reinterpret_cast<const uptr*>(stats);
79 accumulated_stats->MergeFrom(&t->stats());
82 static void GetAccumulatedStats(AsanStats *stats) {
109 AsanStats stats; local in function:__asan::FillMallocStatistics
123 AsanStats stats; local in function:__asan::PrintAccumulatedStats
140 AsanStats stats; local in function:__sanitizer_get_current_allocated_bytes
150 AsanStats stats; local in function:__sanitizer_get_heap_size
156 AsanStats stats; local in function:__sanitizer_get_free_bytes
    [all...]
asan_stats.h 44 // Ctor for global AsanStats (accumulated stats for dead threads).
46 // Creates empty stats.
49 void Print(); // Prints formatted stats to stderr.
51 void MergeFrom(const AsanStats *stats);
54 // Returns stats for GetCurrentThread(), or stats for fake "unknown thread"
57 // Flushes a given stats into accumulated stats of dead threads.
58 void FlushToDeadThreadStats(AsanStats *stats);
asan_malloc_mac.cc 52 #define COMMON_MALLOC_FILL_STATS(zone, stats) \
56 internal_memcpy(stats, &malloc_stats, sizeof(malloc_statistics_t));
  /src/usr.sbin/cnwctl/
cnwctl.c 154 cnwis.stats.nws_txretries[0] = 0;
157 cnwis.stats.nws_txretries[0] +=
158 cnwis.stats.nws_txretries[i] * i;
167 printf("%10llu rx\n", (unsigned long long)cnwis.stats.nws_rx);
169 (unsigned long long)cnwis.stats.nws_rxoverflow);
171 (unsigned long long)cnwis.stats.nws_rxoverrun);
173 (unsigned long long)cnwis.stats.nws_rxcrcerror);
175 (unsigned long long)cnwis.stats.nws_rxframe);
177 (unsigned long long)cnwis.stats.nws_rxerrors);
179 (unsigned long long)cnwis.stats.nws_rxavail)
    [all...]
  /src/usr.sbin/altq/altqstat/
qdisc_wfq.c 53 queue_stats stats; member in struct:wfqinfo
110 qinfo[i].stats = wfq_stats.stats;
120 qinfo[i].bps = calc_rate(qinfo[i].stats.xmit_cnt.bytes,
122 qinfo[i].last_bytes = qinfo[i].stats.xmit_cnt.bytes;
131 top[j]->stats.xmit_cnt.packets <
132 qinfo[i].stats.xmit_cnt.packets)) {
150 top[j]->stats.weight,
151 top[j]->stats.bytes / 1024,
152 (ull)top[j]->stats.xmit_cnt.packets,
    [all...]
  /src/sys/compat/common/
ieee80211_20.c 77 struct ieee80211_stats *stats)
89 COPYSTATS(ostats, stats, is_rx_badversion, is_rx_unencrypted);
90 COPYSTATS(ostats, stats, is_rx_wepfail, is_rx_beacon);
91 COPYSTATS(ostats, stats, is_rx_rstoobig, is_rx_auth_countermeasures);
92 COPYSTATS(ostats, stats, is_rx_assoc_bss, is_rx_assoc_badwpaie);
93 COPYSTATS(ostats, stats, is_rx_deauth, is_rx_unauth);
94 COPYSTATS1(ostats, stats, is_tx_nombuf, is_tx_nobuf, is_tx_badcipher);
95 COPYSTATS(ostats, stats, is_scan_active, is_crypto_tkip);
  /src/tests/lib/libc/membar/
t_seqlock.c 62 } __aligned(COHERENCY_UNIT) stats[16];
75 for (i = __arraycount(stats); i --> 0;)
76 stats[i].s = s;
108 t = stats[0].s;
128 s = stats[0].s;
129 for (result = 0, i = 1; i < __arraycount(stats); i++)
130 result |= (s != stats[i].s);
  /src/usr.sbin/envstat/
envstat.c 406 sensor_stats_t stats; local in function:find_stats_sensor
412 SIMPLEQ_FOREACH(stats, &sensor_stats_list, entries)
413 if (strcmp(stats->desc, desc) == 0)
414 return stats;
416 stats = calloc(1, sizeof(*stats));
417 if (stats == NULL)
420 (void)strlcpy(stats->desc, desc, sizeof(stats->desc));
421 stats->min = INT32_MAX
630 sensor_stats_t stats = NULL; local in function:find_sensors
899 sensor_stats_t stats = NULL; local in function:print_sensors
1364 sensor_stats_t stats = NULL; local in function:print_sensors_json
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_secondary.h 117 CHECK_LT(size_log, ARRAY_SIZE(stats.by_size_log));
125 stats.n_allocs++;
126 stats.currently_allocated += map_size;
127 stats.max_allocated = Max(stats.max_allocated, stats.currently_allocated);
128 stats.by_size_log[size_log]++;
145 stats.n_frees++;
146 stats.currently_allocated -= h->map_size;
252 Printf("Stats: LargeMmapAllocator: allocated %zd times,
320 } stats; member in class:LargeMmapAllocator
    [all...]
sanitizer_allocator_stats.h 26 // Per-thread stats, live in per-thread cache.
59 // Global stats, used for aggregation and querying.
90 const AllocatorStats *stats = this; local in function:AllocatorGlobalStats::Get
93 s[i] += stats->Get(AllocatorStat(i));
94 stats = stats->next_;
95 if (stats == this)
98 // All stats must be non-negative.
  /src/usr.bin/systat/
syscall.c 35 /* System call stats */
249 mvprintw(l, c, FMT, "STATS", "counts");
399 getinfo(struct Info *stats, int get_what)
407 size = sizeof stats->counts;
409 if (sysctl(counts_mib, counts_mib_len, &stats->counts,
413 memset(&stats->counts, 0, sizeof stats->counts);
419 size = sizeof stats->times;
421 if (sysctl(times_mib, times_mib_len, &stats->times,
425 memset(&stats->times, 0, sizeof stats->times)
    [all...]
  /src/usr.bin/netstat/
vtw.c 228 vtw_stats_t stats; local in function:show_vtw_stats
239 snarf(p, &stats, sizeof(stats));
241 printf("\t\t%" PRIu64 " inserts\n", stats.ins);
242 printf("\t\t%" PRIu64 " deletes\n", stats.del);
243 printf("\t\t%" PRIu64 " assassinations\n", stats.kill);
245 printf("\t\t%" PRIu64 " look\n", stats.look[0]);
246 printf("\t\t%" PRIu64 " hit\n", stats.hit[0]);
247 printf("\t\t%" PRIu64 " miss\n", stats.miss[0]);
248 printf("\t\t%" PRIu64 " probe\n", stats.probe[0])
    [all...]
  /src/sys/dev/pci/ixgbe/
ixgbe_netbsd.h 73 #define IXGBE_EVC_REGADD(hw, stats, regname, evname) \
74 IXGBE_EVC_ADD(&(stats)->evname, IXGBE_READ_REG((hw), (regname)))
80 #define IXGBE_EVC_REGADD2(hw, stats, regname, evname) \
83 IXGBE_EVC_ADD(&(stats)->evname, (evname)); \
ixgbe.c 1620 struct ixgbe_hw_stats *stats = &sc->stats.pf; local in function:ixgbe_update_stats_counters
1627 IXGBE_EVC_REGADD2(hw, stats, IXGBE_CRCERRS, crcerrs);
1628 IXGBE_EVC_REGADD2(hw, stats, IXGBE_ILLERRC, illerrc);
1630 IXGBE_EVC_REGADD(hw, stats, IXGBE_ERRBC, errbc);
1631 IXGBE_EVC_REGADD(hw, stats, IXGBE_MSPDC, mspdc);
1633 IXGBE_EVC_REGADD(hw, stats, IXGBE_MBSDC, mbsdc);
1636 queue_counters = uimin(__arraycount(stats->qprc), sc->num_queues);
1638 IXGBE_EVC_REGADD(hw, stats, IXGBE_QPRC(i), qprc[i]);
1639 IXGBE_EVC_REGADD(hw, stats, IXGBE_QPTC(i), qptc[i])
1815 struct ixgbe_hw_stats *stats = &sc->stats.pf; local in function:ixgbe_add_hw_stats
2144 struct ixgbe_hw_stats *stats = &sc->stats.pf; local in function:ixgbe_clear_evcnt
3704 struct ixgbe_hw_stats *stats = &sc->stats.pf; local in function:ixgbe_detach
    [all...]
ixgbe_dcb_82598.c 47 * @stats: pointer to statistics structure
53 struct ixgbe_hw_stats *stats,
66 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
68 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
70 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
72 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
81 * @stats: pointer to statistics structure
87 struct ixgbe_hw_stats *stats,
99 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
101 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXC(tc))
    [all...]
ixgbe_mbx.c 318 IXGBE_EVC_ADD(&hw->mbx.stats.reqs, 1);
328 IXGBE_EVC_ADD(&hw->mbx.stats.acks, 1);
338 IXGBE_EVC_ADD(&hw->mbx.stats.rsts, 1);
375 IXGBE_EVC_ADD(&hw->mbx.stats.reqs, 1);
397 IXGBE_EVC_ADD(&hw->mbx.stats.acks, 1);
420 IXGBE_EVC_ADD(&hw->mbx.stats.rsts, 1);
534 /* update stats */
535 IXGBE_EVC_ADD(&hw->mbx.stats.msgs_tx, 1);
576 /* update stats */
577 IXGBE_EVC_ADD(&hw->mbx.stats.msgs_tx, 1)
    [all...]
  /src/sys/net/
ppp-deflate.c 71 struct compstat stats; member in struct:deflate_state
93 static void z_comp_stats(void *state, struct compstat *stats);
181 memset(&state->stats, 0, sizeof(state->stats));
334 state->stats.comp_bytes += olen;
335 state->stats.comp_packets++;
339 state->stats.inc_bytes += orig_len;
340 state->stats.inc_packets++;
343 state->stats.unc_bytes += orig_len;
344 state->stats.unc_packets++
    [all...]
  /src/sys/dev/ic/
athrate-sample.c 176 int tt = sn->stats[size_bin][x].average_tx_time;
178 !sn->stats[size_bin][x].packets_acked)) {
187 if (sn->stats[size_bin][x].successive_failures > 3)
214 current_tt = sn->stats[size_bin][current_ndx].average_tx_time;
224 if (sn->stats[size_bin][ndx].perfect_tx_time > current_tt)
228 if (ticks - sn->stats[size_bin][ndx].last_tx < ((hz * STALE_FAILURE_TIMEOUT_MS)/1000) &&
229 sn->stats[size_bin][ndx].successive_failures > 3)
269 average_tx_time = sn->stats[size_bin][best_ndx].average_tx_time;
304 sn->stats[size_bin][ndx].successive_failures == 0) {
316 } else if (average_tx_time * 2 < sn->stats[size_bin][sn->current_rate[size_bin]].average_tx_time)
    [all...]
  /src/lib/librpcsvc/
rstat.x 104 struct stats { /* RSTATVERS_ORIG */
145 stats
  /src/sys/dev/pci/cxgb/
cxgb_vsc7323.c 309 rx_ucast = mac->stats.rx_frames - mac->stats.rx_mcast_frames -
310 mac->stats.rx_bcast_frames;
312 tx_ucast = mac->stats.tx_frames - mac->stats.tx_mcast_frames -
313 mac->stats.tx_bcast_frames;
317 mac->stats.name += (u64)((hw_stat) - (u32)(mac->stats.name))
360 mac->stats.rx_frames = rx_ucast + mac->stats.rx_mcast_frames
    [all...]
  /src/usr.sbin/makefs/
udf.c 689 fsnode *root, char *dir, struct udf_stats *stats)
704 stats->ndirs++;
745 stats->nmetadatablocks += nblk;
748 stats->nmetadatablocks += nentries + 1;
764 udf_estimate_walk(fsopts, cur->child, dir, stats);
770 // stats->nfiles++;
778 stats->ndatablocks += nblk;
782 stats->nfiles++;
796 stats->ndatablocks += nblk;
801 stats->nfiles++
1173 struct udf_stats stats; local in function:udf_makefs
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_hotplug.c 129 * intel_hpd_irq_storm_detect - gather stats and detect HPD IRQ storm on a pin
131 * @pin: the pin to gather stats on
134 * Gather stats about HPD IRQs from the specified @pin, and detect IRQ
135 * storms. Only the pin specific stats and state are changed, the caller is
161 unsigned long start = hpd->stats[pin].last_jiffies;
172 hpd->stats[pin].last_jiffies = jiffies;
173 hpd->stats[pin].count = 0;
176 hpd->stats[pin].count += increment;
177 if (hpd->stats[pin].count > threshold) {
178 hpd->stats[pin].state = HPD_MARK_DISABLED
    [all...]
  /src/usr.sbin/iwictl/
iwictl.c 207 static u_int32_t stats[256]; local in function:get_statistics
210 if (do_req(iface, SIOCGTABLE0, stats) == -1)
214 (void)printf("%-60s[%u]\n", st->desc, stats[st->index]);
  /src/sys/net/npf/
npf.c 192 uint64_t *stats = percpu_getref(npf->stats_percpu); local in function:npf_stats_inc
193 stats[st]++;
200 uint64_t *stats = percpu_getref(npf->stats_percpu); local in function:npf_stats_dec
201 stats[st]--;

Completed in 60 milliseconds

1 2 3 4 5 6