pub fn throughput_rates(
files: u64,
bytes: u64,
elapsed: Duration,
) -> Option<(String, String)>Expand description
Cumulative walk rates over one actual elapsed sample. The byte rate is binary GiB/s,
rounded to three decimals; the grouped file rate counts complete files per second.
Returns (files_per_second, gib_per_second) without unit labels, or None when
elapsed time is zero. Neither rate estimates storage read bandwidth.