Home
last modified time | relevance | path

Searched refs:prev_stats (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.bin/ctlstat/
H A Dctlstat.c122 struct ctl_io_stats *cur_stats, *prev_stats; member
155 struct ctl_io_stats *prev_stats,
247 struct ctl_io_stats *prev_stats, long double etime, in compute_stats() argument
267 if (prev_stats != NULL) { in compute_stats()
268 total_bytes -= prev_stats->bytes[i]; in compute_stats()
269 total_operations -= prev_stats->operations[i]; in compute_stats()
270 total_dmas -= prev_stats->dmas[i]; in compute_stats()
271 bintime_sub(&total_time_bt, &prev_stats->time[i]); in compute_stats()
272 bintime_sub(&total_dma_bt, &prev_stats->dma_time[i]); in compute_stats()
780 if (ctx->prev_stats[j].item == in ctlstat_standard()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dnet_dim.h67 struct net_dim_stats prev_stats; member
295 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats); in net_dim_decision()
308 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats); in net_dim_decision()
331 dim->prev_stats = *curr_stats; in net_dim_decision()
/freebsd/usr.bin/nfsstat/
H A Dnfsstat.c103 struct nfsstatsv1 *prev_stats, int curop, long double etime,
547 (prev_stats ? &prev_stats->field : NULL))
555 struct nfsstatsv1 *prev_stats, int curop, in compute_new_stats() argument
571 if (prev_stats != NULL) { in compute_new_stats()
572 total_bytes -= prev_stats->srvbytes[curop]; in compute_new_stats()
573 total_operations -= prev_stats->srvops[curop]; in compute_new_stats()
/freebsd/contrib/libpcap/
H A Dpcap-dpdk.c185 struct rte_eth_stats prev_stats; member
472 uint64_t delta_pkt = pd->curr_stats.ipackets - pd->prev_stats.ipackets; in pcap_dpdk_stats()
476 uint64_t delta_bit = (pd->curr_stats.ibytes-pd->prev_stats.ibytes)*8; in pcap_dpdk_stats()
481 pd->prev_stats = pd->curr_stats; in pcap_dpdk_stats()
937 rte_eth_stats_get(pd->portid,&(pd->prev_stats)); in pcap_dpdk_activate()