pub enum RowCpu {
None,
NotSampled,
Unmeasured,
Busy(u32),
Idle,
}Expand description
What a running check’s CPU is doing, as far as the displays may say.
Variants§
None
No spawned command is attached (an in-process check, or between two commands): nothing to say.
NotSampled
A command is attached but its CPU is not sampled here
(amont.idleCpuCredit false, no silence budget, or the platform):
silence alone counts.
Unmeasured
Sampled, but nothing fresh to report (not quiet long enough yet, or the last snapshot was incomplete).
Busy(u32)
Measurably working, at this many thousandths of a core.
Idle
Measured under the busy threshold.
Trait Implementations§
impl Copy for RowCpu
impl Eq for RowCpu
impl StructuralPartialEq for RowCpu
Auto Trait Implementations§
impl Freeze for RowCpu
impl RefUnwindSafe for RowCpu
impl Send for RowCpu
impl Sync for RowCpu
impl Unpin for RowCpu
impl UnsafeUnpin for RowCpu
impl UnwindSafe for RowCpu
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