Home
last modified time | relevance | path

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

/src/sys/contrib/openzfs/module/zfs/
H A Dzfs_chksum.c151 uint64_t run_bw, run_time_ns, run_count = 0, size = 0; in chksum_run() local
184 run_bw = size * run_count * NANOSEC; in chksum_run()
185 run_bw /= run_time_ns; /* B/s */ in chksum_run()
186 *result = run_bw/1024/1024; /* MiB/s */ in chksum_run()
/src/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c692 uint64_t run_bw, run_time_ns, best_run = 0; in fletcher_4_benchmark_impl() local
716 run_bw = data_size * run_count * NANOSEC; in fletcher_4_benchmark_impl()
717 run_bw /= run_time_ns; /* B/s */ in fletcher_4_benchmark_impl()
720 stat->native = run_bw; in fletcher_4_benchmark_impl()
722 stat->byteswap = run_bw; in fletcher_4_benchmark_impl()
724 if (run_bw > best_run) { in fletcher_4_benchmark_impl()
725 best_run = run_bw; in fletcher_4_benchmark_impl()