pub struct Peaks {
pub jobs: u64,
pub at_cap: u64,
pub on_cap: u64,
pub memory: Spread,
pub cpu: Spread,
pub cpu_runs: u64,
}Expand description
The peaks of a set of jobs, each the highest of its samples.
Fields§
§jobs: u64How many jobs: the number of peaks the percentiles are taken over.
at_cap: u64Of those, how many met their container’s memory cap: its own limit failed reclaim (for a run recorded before that was told apart, a kill or a limit hit in the container, or without events a peak within 5% of it). They may need more than they show.
on_cap: u64How many of their jobs are on their cap: one of their runs met it or was killed for memory, and fewer than 3 successful runs since were clear of it. No lowering while any is.
memory: SpreadMemory without page cache, in bytes.
cpu: SpreadCPU, in millicores, of the runs at the profile’s cpus now: a run at a larger cap may have peaked past them.
cpu_runs: u64How many runs cpu is over: those of jobs at the profile’s cpus now.
Implementations§
Source§impl Peaks
impl Peaks
Sourcepub fn cpu_p99(&self) -> Option<u64>
pub fn cpu_p99(&self) -> Option<u64>
The CPU p99 of the runs at the profile’s cpus now; None without one, where it would read 0.
Sourcepub fn cpu_runs_line(&self, cpus: u32) -> String
pub fn cpu_runs_line(&self, cpus: u32) -> String
Which runs the CPU percentiles are over, for a profile at cpus, as every client says it: of the 4 at 8 CPUs, or without one no run at 8 CPUs yet.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Peaks
impl<'de> Deserialize<'de> for Peaks
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>,
impl Eq for Peaks
impl StructuralPartialEq for Peaks
Auto Trait Implementations§
impl Freeze for Peaks
impl RefUnwindSafe for Peaks
impl Send for Peaks
impl Sync for Peaks
impl Unpin for Peaks
impl UnsafeUnpin for Peaks
impl UnwindSafe for Peaks
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
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<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
key and return true if they are equal.