pub struct RunTable {
pub steps: u64,
pub warmup: u64,
pub replicates: u64,
pub stop: Option<StopTable>,
pub timeout_s: Option<f64>,
}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 of each config, each with its own seed.
stop: Option<StopTable>Condition that can end a run before its last tick.
timeout_s: Option<f64>Seconds of wall-clock time after which a run is abandoned. On a GPU track, a run’s clock counts its share of the time the sweep spends on the tracks, so the run can take longer than this in real time.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunTable
impl<'de> Deserialize<'de> for RunTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RunSettings> for RunTable
impl From<&RunSettings> for RunTable
Source§fn from(run: &RunSettings) -> Self
fn from(run: &RunSettings) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for RunTable
Auto Trait Implementations§
impl Freeze for RunTable
impl RefUnwindSafe for RunTable
impl Send for RunTable
impl Sync for RunTable
impl Unpin for RunTable
impl UnsafeUnpin for RunTable
impl UnwindSafe for RunTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more