(bytes: u64, elapsed: std::time::Duration)
| 43 | } |
| 44 | |
| 45 | fn human_bytes_per_second(bytes: u64, elapsed: std::time::Duration) -> String { |
| 46 | let bytes_per_second = bytes as f64 / elapsed.as_secs_f64(); |
| 47 | format!("{}/s", human_bytes(bytes_per_second as u64)) |
| 48 | } |
| 49 | |
| 50 | /// Create a profile archive from the profile folder |
| 51 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected