Function measure_sync

Source
pub fn measure_sync<F, T>(func: F) -> (T, Duration)
where F: FnOnce() -> T,