Home
last modified time | relevance | path

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

/freebsd-11-stable/usr.bin/ctlstat/
HDctlstat.c119 struct ctl_io_stats *cur_stats, *prev_stats; member
141 struct ctl_io_stats *prev_stats,
233 struct ctl_io_stats *prev_stats, long double etime, in compute_stats() argument
253 if (prev_stats != NULL) { in compute_stats()
254 total_bytes -= prev_stats->bytes[i]; in compute_stats()
255 total_operations -= prev_stats->operations[i]; in compute_stats()
256 total_dmas -= prev_stats->dmas[i]; in compute_stats()
257 bintime_sub(&total_time_bt, &prev_stats->time[i]); in compute_stats()
258 bintime_sub(&total_dma_bt, &prev_stats->dma_time[i]); in compute_stats()
548 if (ctx->prev_stats[j].item == in ctlstat_standard()
[all …]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
HDnet_dim.h69 struct net_dim_stats prev_stats; member
297 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats); in net_dim_decision()
310 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats); in net_dim_decision()
333 dim->prev_stats = *curr_stats; in net_dim_decision()
/freebsd-11-stable/usr.bin/nfsstat/
HDnfsstat.c119 struct nfsstatsv1 *prev_stats, int curop, long double etime,
485 (prev_stats ? &prev_stats->field : NULL))
493 struct nfsstatsv1 *prev_stats, int curop, in compute_new_stats() argument
509 if (prev_stats != NULL) { in compute_new_stats()
510 total_bytes -= prev_stats->srvbytes[curop]; in compute_new_stats()
511 total_operations -= prev_stats->srvops[curop]; in compute_new_stats()