pub struct CarrierSnapshot { /* private fields */ }Expand description
Owner-local scheduler counters published by a carrier.
Implementations§
Source§impl CarrierSnapshot
impl CarrierSnapshot
Sourcepub fn handoff_profile(&self) -> &HandoffProfile
pub fn handoff_profile(&self) -> &HandoffProfile
Opt-in elapsed handoff/idle histograms and useful-channel-work counts. Read after shutdown for final totals. This separate feature adds clocks; its timings are diagnostic and cannot qualify default-build performance.
Sourcepub fn scheduler_profile(&self) -> SchedulerProfile
pub fn scheduler_profile(&self) -> SchedulerProfile
Opt-in carrier-local batch and idle counters, published with this snapshot.
Read after shutdown for final totals; active observations may lag. The
scheduler-profiling feature adds no clock reads or shared counter atomics.
Sourcepub fn status(&self) -> CarrierStatus
pub fn status(&self) -> CarrierStatus
Current carrier health.
Sourcepub fn pending_starts(&self) -> usize
pub fn pending_starts(&self) -> usize
Unstarted packets waiting in the bounded inbox.
Sourcepub fn pending_wakes(&self) -> usize
pub fn pending_wakes(&self) -> usize
Selected wake notices waiting in reserved slots.
Sourcepub fn stats(&self) -> RuntimeStats
pub fn stats(&self) -> RuntimeStats
Cumulative carrier counters.
Sourcepub fn stacks(&self) -> StackSnapshot
pub fn stacks(&self) -> StackSnapshot
Carrier-local stack cache.
Trait Implementations§
Source§impl Clone for CarrierSnapshot
impl Clone for CarrierSnapshot
Source§impl Debug for CarrierSnapshot
impl Debug for CarrierSnapshot
impl Eq for CarrierSnapshot
Source§impl PartialEq for CarrierSnapshot
impl PartialEq for CarrierSnapshot
impl StructuralPartialEq for CarrierSnapshot
Auto Trait Implementations§
impl Forget for CarrierSnapshot
impl Freeze for CarrierSnapshot
impl RefUnwindSafe for CarrierSnapshot
impl Send for CarrierSnapshot
impl Sync for CarrierSnapshot
impl Unpin for CarrierSnapshot
impl UnsafeUnpin for CarrierSnapshot
impl UnwindSafe for CarrierSnapshot
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