pub struct ProcessRssGrowthRule { /* private fields */ }Expand description
A process whose resident set has been rising across the window (§11.2).
§What this rule does not say
It reports growth, with the samples and the span it was measured over, and nothing else. §11.3 forbids concluding why memory is growing from a size series: a cache filling to its configured bound, a JIT warming up, and a genuine bug all look identical here, and only the user knows which is expected.
Evidence comes from the retained contributor lists (§2.2), which are bounded to
the top K per sample. A process that dropped out of the top K leaves a gap
rather than a zero, and gaps do not count towards the minimum sample requirement.
Implementations§
Source§impl ProcessRssGrowthRule
impl ProcessRssGrowthRule
Sourcepub const fn new(thresholds: Thresholds) -> Self
pub const fn new(thresholds: Thresholds) -> Self
Builds the rule from sanitized thresholds.
Trait Implementations§
Source§impl Clone for ProcessRssGrowthRule
impl Clone for ProcessRssGrowthRule
Source§fn clone(&self) -> ProcessRssGrowthRule
fn clone(&self) -> ProcessRssGrowthRule
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 moreimpl Copy for ProcessRssGrowthRule
Source§impl Debug for ProcessRssGrowthRule
impl Debug for ProcessRssGrowthRule
Auto Trait Implementations§
impl Freeze for ProcessRssGrowthRule
impl RefUnwindSafe for ProcessRssGrowthRule
impl Send for ProcessRssGrowthRule
impl Sync for ProcessRssGrowthRule
impl Unpin for ProcessRssGrowthRule
impl UnsafeUnpin for ProcessRssGrowthRule
impl UnwindSafe for ProcessRssGrowthRule
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