pub struct EpochSummary {
pub epoch: u32,
pub switch_count: u16,
pub runnable_count: u16,
}Expand description
Summary of a scheduler epoch for witness logging.
Fields§
§epoch: u32Epoch number.
switch_count: u16Number of context switches in this epoch.
runnable_count: u16Total partitions that were runnable.
Trait Implementations§
Source§impl Clone for EpochSummary
impl Clone for EpochSummary
Source§fn clone(&self) -> EpochSummary
fn clone(&self) -> EpochSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EpochSummary
Auto Trait Implementations§
impl Freeze for EpochSummary
impl RefUnwindSafe for EpochSummary
impl Send for EpochSummary
impl Sync for EpochSummary
impl Unpin for EpochSummary
impl UnsafeUnpin for EpochSummary
impl UnwindSafe for EpochSummary
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