pub struct SoakCheckpoint {
pub at_offset: Duration,
pub window_iters: usize,
pub window_duration: Duration,
pub ops_per_sec: f64,
}Expand description
One sampling window inside a SoakResult.
Fields§
§at_offset: DurationOffset from the run start to the end of this checkpoint.
window_iters: usizeIterations executed during this window across all threads.
window_duration: DurationWall-clock duration of this window.
ops_per_sec: f64Throughput during this window.
Trait Implementations§
Source§impl Clone for SoakCheckpoint
impl Clone for SoakCheckpoint
Source§fn clone(&self) -> SoakCheckpoint
fn clone(&self) -> SoakCheckpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SoakCheckpoint
impl Debug for SoakCheckpoint
Source§impl PartialEq for SoakCheckpoint
impl PartialEq for SoakCheckpoint
Source§fn eq(&self, other: &SoakCheckpoint) -> bool
fn eq(&self, other: &SoakCheckpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SoakCheckpoint
impl StructuralPartialEq for SoakCheckpoint
Auto Trait Implementations§
impl Freeze for SoakCheckpoint
impl RefUnwindSafe for SoakCheckpoint
impl Send for SoakCheckpoint
impl Sync for SoakCheckpoint
impl Unpin for SoakCheckpoint
impl UnsafeUnpin for SoakCheckpoint
impl UnwindSafe for SoakCheckpoint
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