Function calc_util

Source
pub(crate) fn calc_util(curr: &CpuStat, prev: &CpuStat) -> Result<f64>