Struct liar::runner::fixed::FixedRunner
[−]
[src]
pub struct FixedRunner<T: Timer> { /* fields omitted */ }
Runs multiple rounds of executions of a target, recording the average target execution time in each round.
Methods
impl<T: Timer> FixedRunner<T>
[src]
pub fn new(round_size: usize, sample_size: usize) -> Self
[src]
Construct a FixedRunner
that will record a sample of its target with
sample_size
timing measurements. Each measurement will be the average
time per call after executing the target round_size
times.
Trait Implementations
impl<T: Timer> Runner<f64> for FixedRunner<T>
[src]
Auto Trait Implementations
impl<T> Send for FixedRunner<T> where
T: Send,
T: Send,
impl<T> Sync for FixedRunner<T> where
T: Sync,
T: Sync,