#[non_exhaustive]pub struct RepetitionReport {
pub index: u64,
pub seed: Option<u64>,
pub elapsed: Duration,
pub population_after_warmup: u64,
pub population_after_steps: u64,
pub heap_bytes: Option<usize>,
}Available on non-WebAssembly only.
Expand description
One timed repetition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: u64Position of the repetition, from 0.
seed: Option<u64>Seed of the repetition’s build. None for the model’s default seed, as in RunSetup::seed.
elapsed: DurationTime the timed steps took.
population_after_warmup: u64Population once the warm-up ended, the denominator of updates per second. A grid model’s population is its cell count.
population_after_steps: u64Population once the timed steps and the actions due on the last tick ended.
heap_bytes: Option<usize>Heap the state held after warm-up. None for a GPU model, whose state lives on the device.
Trait Implementations§
Source§impl Clone for RepetitionReport
impl Clone for RepetitionReport
Auto Trait Implementations§
impl Freeze for RepetitionReport
impl RefUnwindSafe for RepetitionReport
impl Send for RepetitionReport
impl Sync for RepetitionReport
impl Unpin for RepetitionReport
impl UnsafeUnpin for RepetitionReport
impl UnwindSafe for RepetitionReport
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,
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