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]

[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]

[src]

Runs and measures a target function according to the implementor's strategy, recording a sample of timing measurements. Read more

Auto Trait Implementations

impl<T> Send for FixedRunner<T> where
    T: Send

impl<T> Sync for FixedRunner<T> where
    T: Sync