Struct liar::runner::linear::LinearRunner
[−]
[src]
pub struct LinearRunner<T: Timer> { /* fields omitted */ }
Run a target in linearly-increasing round sizes. These can then be analyzed with, for example, linear regression.
Methods
impl<T: Timer> LinearRunner<T>
[src]
pub fn new(
round_size_start: usize,
round_size_step: usize,
sample_size: usize
) -> Self
[src]
round_size_start: usize,
round_size_step: usize,
sample_size: usize
) -> Self
Construct a LinearRunner
, which records a total of sample_size
rounds. The first round records the timing of round_size_start
executions of the target. Each subsequent round inclues an additional
round_size_step
executions.
Trait Implementations
impl<T: Timer> Runner<Round> for LinearRunner<T>
[src]
Auto Trait Implementations
impl<T> Send for LinearRunner<T> where
T: Send,
T: Send,
impl<T> Sync for LinearRunner<T> where
T: Sync,
T: Sync,