fn cpu_time_interval(start: &CPUTimes, end: &CPUTimes) -> CPUInterval {
    CPUInterval {
        user: ((end.user_usec - start.user_usec) as f64) * 1e-6,
        system: ((end.system_usec - start.system_usec) as f64) * 1e-6,
    }
}
/// Compute the time intervals in between two `CPUTimes` snapshots
Compute the time intervals in between two `CPUTimes` snapshots
Compute the time intervals in between two ` CPUTimes ` snapshots
fn cpu_time_interval(start: &CPUTimes, end: &CPUTimes) -> CPUInterval {
    CPUInterval {
        user: ((end.user_usec - start.user_usec) as f64) * 1e-6,
        system: ((end.system_usec - start.system_usec) as f64) * 1e-6,
    }
}
fn cpu_time_interval ( start : & CPUTimes , end : & CPUTimes ) -> CPUInterval { CPUInterval { user : ( ( end . user_usec - start . user_usec ) as f64 ) * 1e-6 , system : ( ( end . system_usec - start . system_usec ) as f64 ) * 1e-6 , } }
Compute the time intervals in between two `CPUTimes` snapshots
Compute the time intervals in between two ` CPUTimes ` snapshots
start
&CPUTimes
end
&CPUTimes