Skip to main content

calc_throughput

Function calc_throughput 

Source
pub fn calc_throughput(bytes: u64, elapsed_us: f64, unit: ThroughputUnit) -> f64
Expand description

Calculates throughput given byte count and elapsed microseconds.