pub struct LoadHighRule { /* private fields */ }Expand description
One-minute load sustained high relative to the logical CPU count (§11.2).
Normalized per CPU, because a load of eleven is unremarkable on 64 cores and severe on two. The summary states what load actually counts, since on Linux it includes tasks blocked in uninterruptible I/O and is therefore not a CPU utilization figure.
Implementations§
Source§impl LoadHighRule
impl LoadHighRule
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 LoadHighRule
impl Clone for LoadHighRule
Source§fn clone(&self) -> LoadHighRule
fn clone(&self) -> LoadHighRule
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 LoadHighRule
Source§impl Debug for LoadHighRule
impl Debug for LoadHighRule
Source§impl DiagnosticRule for LoadHighRule
impl DiagnosticRule for LoadHighRule
Auto Trait Implementations§
impl Freeze for LoadHighRule
impl RefUnwindSafe for LoadHighRule
impl Send for LoadHighRule
impl Sync for LoadHighRule
impl Unpin for LoadHighRule
impl UnsafeUnpin for LoadHighRule
impl UnwindSafe for LoadHighRule
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