Function microbench::measure [] [src]

pub fn measure<T, F>(options: &Options, f: F) -> Vec<Measurement> where F: FnMut() -> T

Measures the execution time of the supplied function and returns the resulting timing data.