pub struct StepUsage {
pub number: u32,
pub first: u64,
pub last: u64,
pub widest_gap: u64,
pub memory_peak: u64,
pub cpu_average: u64,
}Expand description
What a step’s samples say, as the store reads them over its window: the samples after its start up to its end.
Fields§
§number: u32The step’s number.
first: u64When its first sample was taken.
last: u64When its last was.
widest_gap: u64The longest time between two of its samples, in seconds; 0 for one sample.
memory_peak: u64Their highest memory, in bytes.
cpu_average: u64Their CPU use averaged, in millicores.
Implementations§
Trait Implementations§
impl Copy for StepUsage
impl Eq for StepUsage
impl StructuralPartialEq for StepUsage
Auto Trait Implementations§
impl Forget for StepUsage
impl Freeze for StepUsage
impl Move for StepUsage
impl RefUnwindSafe for StepUsage
impl Send for StepUsage
impl Sync for StepUsage
impl Unpin for StepUsage
impl UnsafeUnpin for StepUsage
impl UnwindSafe for StepUsage
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.