pub fn dur_avg_ratio(measure: Duration, global: Duration) -> String {
    format!(
        "{} {}",
        White.bold().paint(format!("{:7.3} ms/i", measure.as_secs_f64() * 1e3)),
        Yellow
            .bold()
            .paint(format!("{:>4.1}%", measure.as_secs_f64() / global.as_secs_f64() * 100.)),
    )
}
/// Format a rusage::Duration showing avgtime in ms, with percentage to a global
/// one.
Format a rusage::Duration showing avgtime in ms, with percentage to a global
one.
Format a rusage :: Duration showing avgtime in ms with percentage to a global one .
pub fn dur_avg_ratio(measure: Duration, global: Duration) -> String {
    format!(
        "{} {}",
        White.bold().paint(format!("{:7.3} ms/i", measure.as_secs_f64() * 1e3)),
        Yellow
            .bold()
            .paint(format!("{:>4.1}%", measure.as_secs_f64() / global.as_secs_f64() * 100.)),
    )
}
pub fn dur_avg_ratio ( measure : Duration , global : Duration ) -> String { format ! ( " " White bold ( ) paint ( format ( " " measure as_secs_f64 ( ) 1e3 ) ) Yellow bold ( ) paint ( format ( " " measure as_secs_f64 ( ) global as_secs_f64 ( ) 100. ) ) ) }
Format a rusage::Duration showing avgtime in ms, with percentage to a global
one.
Format a rusage :: Duration showing avgtime in ms with percentage to a global one .
measure
Duration
global
Duration
measure
Duration
global
Duration