Skip to main content

format_throughput

Function format_throughput 

Source
pub fn format_throughput(bytes_per_sec: f64) -> String
Expand description

Format a throughput value (bytes/s) into a human-readable string using decimal units (MB/s = 10^6 B/s, the network-convention) — bandwidth is almost universally reported in decimal, even when storage uses binary.