Home
last modified time | relevance | path

Searched refs:total_operations (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/usr.bin/ctlstat/
H A Dctlstat.c253 uint64_t total_bytes = 0, total_operations = 0, total_dmas = 0; in compute_stats() local
264 total_operations += cur_stats->operations[i]; in compute_stats()
270 total_operations -= prev_stats->operations[i]; in compute_stats()
285 if (total_operations > 0) in compute_stats()
286 *kb_per_transfer /= total_operations; in compute_stats()
289 *transfers_per_second = total_operations; in compute_stats()
301 if (total_operations > 0) { in compute_stats()
307 *ms_per_transfer /= total_operations; in compute_stats()
/freebsd-14.2/usr.bin/nfsstat/
H A Dnfsstat.c575 uint64_t total_bytes = 0, total_operations = 0; in compute_new_stats() local
583 total_operations = cur_stats->srvops[curop]; in compute_new_stats()
586 total_operations -= prev_stats->srvops[curop]; in compute_new_stats()
606 if (total_operations > 0) in compute_new_stats()
607 *kb_per_transfer /= total_operations; in compute_new_stats()
611 *transfers_per_second = total_operations; in compute_new_stats()
617 if (total_operations > 0) { in compute_new_stats()
619 *ms_per_transfer /= total_operations; in compute_new_stats()