Home
last modified time | relevance | path

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

/freebsd-14.2/usr.bin/ctlstat/
H A Dctlstat.c123 struct ctl_io_stats *cur_stats, *prev_stats; member
156 struct ctl_io_stats *prev_stats,
268 if (prev_stats != NULL) { in compute_stats()
269 total_bytes -= prev_stats->bytes[i]; in compute_stats()
270 total_operations -= prev_stats->operations[i]; in compute_stats()
271 total_dmas -= prev_stats->dmas[i]; in compute_stats()
272 bintime_sub(&total_time_bt, &prev_stats->time[i]); in compute_stats()
781 if (ctx->prev_stats[j].item == in ctlstat_standard()
788 j >= 0 ? &ctx->prev_stats[j] : NULL, in ctlstat_standard()
813 tmp_stats = ctx->prev_stats; in get_and_print_stats()
[all …]
/freebsd-14.2/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-14.2/usr.bin/nfsstat/
H A Dnfsstat.c116 struct nfsstatsv1 *prev_stats, int curop, long double etime,
560 (prev_stats ? &prev_stats->field : NULL))
568 struct nfsstatsv1 *prev_stats, int curop, in compute_new_stats() argument
584 if (prev_stats != NULL) { in compute_new_stats()
585 total_bytes -= prev_stats->srvbytes[curop]; in compute_new_stats()
586 total_operations -= prev_stats->srvops[curop]; in compute_new_stats()
/freebsd-14.2/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()