pub enum CpuVerdict {
NotSampled,
MeasuredIdle(u64),
Unmeasured,
BusyAtKill(u32),
}Expand description
What the CPU sampler could say when a command was killed.
Variants§
NotSampled
Not sampled here (knob off, no budget, platform): silence alone.
MeasuredIdle(u64)
An unbroken run of complete measurements, this many seconds long and
ending at the kill, all under BUSY_MILLI_CORES.
Unmeasured
Sampling was on but could not measure the whole budget.
BusyAtKill(u32)
Its tree was measurably busy at the kill, at this many thousandths of a core.
Trait Implementations§
Source§impl Clone for CpuVerdict
impl Clone for CpuVerdict
impl Copy for CpuVerdict
Source§impl Debug for CpuVerdict
impl Debug for CpuVerdict
impl Eq for CpuVerdict
Source§impl PartialEq for CpuVerdict
impl PartialEq for CpuVerdict
impl StructuralPartialEq for CpuVerdict
Auto Trait Implementations§
impl Forget for CpuVerdict
impl Freeze for CpuVerdict
impl Move for CpuVerdict
impl RefUnwindSafe for CpuVerdict
impl Send for CpuVerdict
impl Sync for CpuVerdict
impl Unpin for CpuVerdict
impl UnsafeUnpin for CpuVerdict
impl UnwindSafe for CpuVerdict
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