[−][src]Function benchmarking::measure_function_with_times
pub fn measure_function_with_times<F, O>(
times: u64,
f: F
) -> Result<MeasureResult, BenchmarkError> where
F: FnMut(&mut Measurer) -> O + 'static,
Run a function with a specific times and measure its execution time.