pub struct RunSettings {
pub steps: u64,
pub warmup: u64,
pub replicates: u64,
pub stop: Option<StopSpec>,
pub timeout: Option<Duration>,
}Expand description
Length and end of each run, and the number of runs per config.
Fields§
§steps: u64Number of ticks stepped after the warm-up.
warmup: u64Number of ticks stepped before the first sample.
replicates: u64Number of runs per config, each with its own seed.
stop: Option<StopSpec>Condition that ends a run at the first sample where it holds.
timeout: Option<Duration>Wall-clock time after which a run is abandoned, checked between slices of steps. On a GPU track, a run’s clock counts its share of the time the sweep spends on the tracks.
Note that a timed-out run depends on the machine, so no plan or results hash covers the timeout.
Trait Implementations§
Source§impl Clone for RunSettings
impl Clone for RunSettings
Source§impl Debug for RunSettings
impl Debug for RunSettings
Source§impl Default for RunSettings
impl Default for RunSettings
Source§impl PartialEq for RunSettings
impl PartialEq for RunSettings
impl StructuralPartialEq for RunSettings
Auto Trait Implementations§
impl Freeze for RunSettings
impl RefUnwindSafe for RunSettings
impl Send for RunSettings
impl Sync for RunSettings
impl Unpin for RunSettings
impl UnsafeUnpin for RunSettings
impl UnwindSafe for RunSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more