measure_function_with_times

Function measure_function_with_times 

Source
pub fn measure_function_with_times<F, O>(
    times: u64,
    f: F,
) -> Result<MeasureResult, BenchmarkError>
where F: FnMut(&mut Measurer) -> O,
Expand description

Run a function with a specific times and measure its execution time.