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

/freebsd-11-stable/usr.bin/ctlstat/
H A Dctlstat.c238 uint64_t total_bytes = 0, total_operations = 0, total_dmas = 0; local
249 total_operations += cur_stats->operations[i];
255 total_operations -= prev_stats->operations[i];
270 if (total_operations > 0)
271 *kb_per_transfer /= total_operations;
274 *transfers_per_second = total_operations;
286 if (total_operations > 0) {
292 *ms_per_transfer /= total_operations;
/freebsd-11-stable/usr.bin/nfsstat/
H A Dnfsstat.c500 uint64_t total_bytes = 0, total_operations = 0; local
508 total_operations = cur_stats->srvops[curop];
511 total_operations -= prev_stats->srvops[curop];
531 if (total_operations > 0)
532 *kb_per_transfer /= total_operations;
536 *transfers_per_second = total_operations;
542 if (total_operations > 0) {
544 *ms_per_transfer /= total_operations;

Completed in 61 milliseconds