pub struct SampleUsage {
pub memory_peak: u64,
pub cpu_average: u64,
}Expand description
What a container used over a stretch of its run, from SampleSeries::usage_between.
Fields§
§memory_peak: u64The highest memory of the samples, without page cache.
cpu_average: u64The samples’ CPU use averaged, in millicores.
Implementations§
Trait Implementations§
Source§impl Clone for SampleUsage
impl Clone for SampleUsage
impl Copy for SampleUsage
Source§impl Debug for SampleUsage
impl Debug for SampleUsage
impl Eq for SampleUsage
Source§impl PartialEq for SampleUsage
impl PartialEq for SampleUsage
impl StructuralPartialEq for SampleUsage
Auto Trait Implementations§
impl Freeze for SampleUsage
impl RefUnwindSafe for SampleUsage
impl Send for SampleUsage
impl Sync for SampleUsage
impl Unpin for SampleUsage
impl UnsafeUnpin for SampleUsage
impl UnwindSafe for SampleUsage
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.