Skip to main content

max_disk_util

Function max_disk_util 

Source
pub fn max_disk_util(
    prev: &[(String, u64)],
    cur: &[(String, u64)],
    dt_ms: f64,
) -> Option<(String, f64)>
Expand description

The highest per-device utilization between two diskstats snapshots taken dt_ms apart. Devices present in only one snapshot are skipped (hotplug between samples); an empty intersection yields None.