pub struct RunStats {
pub polls: u64,
pub woke: u64,
pub slept: u64,
pub parked: u64,
pub idle_ns: u64,
}Expand description
What a Executor::run did: the work it ran and the idle it measured.
Fields§
§polls: u64Task polls.
woke: u64Reactor turns that woke a task without idling.
slept: u64Idles spent asleep to a deadline.
parked: u64Idles spent parked on a completion line.
idle_ns: u64Clock time spent inside the idles, ns (the executor’s measured idle).
Trait Implementations§
impl Copy for RunStats
impl Eq for RunStats
impl StructuralPartialEq for RunStats
Auto Trait Implementations§
impl Forget for RunStats
impl Freeze for RunStats
impl Move for RunStats
impl RefUnwindSafe for RunStats
impl Send for RunStats
impl Sync for RunStats
impl Unpin for RunStats
impl UnsafeUnpin for RunStats
impl UnwindSafe for RunStats
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