pub struct WaitReport {
pub kind: WaitKind,
pub outcome: Option<Outcome>,
pub wait_ns: u64,
pub slept_ns: u64,
pub parks: u64,
pub backstop_queries: u64,
}Expand description
What one wait did, for the estimator (outcome) and the host’s counters.
Fields§
§kind: WaitKindHow it ended.
outcome: Option<Outcome>The sample for the point’s estimate (None for WaitKind::Blocked).
wait_ns: u64Start to return.
slept_ns: u64Time asleep on the timer (0 when the wait did not sleep).
parks: u64Parks on the device word (flag waits only).
backstop_queries: u64Status queries a flag wait’s backstop issued.
Trait Implementations§
Source§impl Clone for WaitReport
impl Clone for WaitReport
impl Copy for WaitReport
Source§impl Debug for WaitReport
impl Debug for WaitReport
impl Eq for WaitReport
Source§impl PartialEq for WaitReport
impl PartialEq for WaitReport
impl StructuralPartialEq for WaitReport
Auto Trait Implementations§
impl Forget for WaitReport
impl Freeze for WaitReport
impl Move for WaitReport
impl RefUnwindSafe for WaitReport
impl Send for WaitReport
impl Sync for WaitReport
impl Unpin for WaitReport
impl UnsafeUnpin for WaitReport
impl UnwindSafe for WaitReport
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