Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_chksum.c144 uint64_t run_bw, run_time_ns, run_count = 0, size = 0; in chksum_run() local
177 run_bw = size * run_count * NANOSEC; in chksum_run()
178 run_bw /= run_time_ns; /* B/s */ in chksum_run()
179 *result = run_bw/1024/1024; /* MiB/s */ in chksum_run()
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c691 uint64_t run_bw, run_time_ns, best_run = 0; in fletcher_4_benchmark_impl() local
715 run_bw = data_size * run_count * NANOSEC; in fletcher_4_benchmark_impl()
716 run_bw /= run_time_ns; /* B/s */ in fletcher_4_benchmark_impl()
719 stat->native = run_bw; in fletcher_4_benchmark_impl()
721 stat->byteswap = run_bw; in fletcher_4_benchmark_impl()
723 if (run_bw > best_run) { in fletcher_4_benchmark_impl()
724 best_run = run_bw; in fletcher_4_benchmark_impl()