pub enum Verdict {
Late {
wait: u64,
slept: bool,
},
Blocked {
busy: u64,
},
Slow {
work: u64,
phase: &'static str,
phase_us: u64,
span: Option<(NameId, u64)>,
},
Waited {
wall: u64,
cpu: u64,
},
Wasted,
Burn {
k: usize,
of: usize,
},
Fine {
share: f32,
},
}Expand description
Why a frame lagged, the first that holds (ADR 0058, decision 9).
Variants§
Late
An input waited this long for its frame; the loop slept through it, or was busy.
Blocked
A gap this long with no sleep recorded: the thread was busy outside kui.
Slow
Over the budget: the slowest phase, and the span with the most self time in the frame.
Waited
The frame’s wall time far over its CPU time.
Wasted
It drew what the frame before drew.
Burn
Frame k (from 1) of a run of of with no input.
Fine
Within the budget: its work as a share of it.
Fields
Trait Implementations§
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Forget for Verdict
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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