Function calc_util

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