pub struct PhaseRecvStats {
pub fast_catches: u64,
pub predictive_parks: u64,
pub spin_catches: u64,
pub doorbell_parks: u64,
pub doorbell_catches: u64,
}Expand description
Instrumentation for BlockingSpscRing::recv_phase_locked: how
each item was caught. The headline ratio is spin_catches (no
wake syscall) vs doorbell_catches (a park/wake round-trip).
Fields§
§fast_catches: u64Item already present at entry (no wait at all).
predictive_parks: u64Predictive parks: a budgeted wait until just before the predicted arrival, in engaged mode.
spin_catches: u64Item caught by the guard-band spin after a predictive park - the syscall-free path the experiment is about.
doorbell_parks: u64Doorbell parks: a park in the fallback (disengaged or missed-prediction) path.
doorbell_catches: u64Item caught in the fallback path.
Trait Implementations§
Source§impl Clone for PhaseRecvStats
impl Clone for PhaseRecvStats
Source§fn clone(&self) -> PhaseRecvStats
fn clone(&self) -> PhaseRecvStats
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 PhaseRecvStats
Source§impl Debug for PhaseRecvStats
impl Debug for PhaseRecvStats
Source§impl Default for PhaseRecvStats
impl Default for PhaseRecvStats
Source§fn default() -> PhaseRecvStats
fn default() -> PhaseRecvStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PhaseRecvStats
impl RefUnwindSafe for PhaseRecvStats
impl Send for PhaseRecvStats
impl Sync for PhaseRecvStats
impl Unpin for PhaseRecvStats
impl UnsafeUnpin for PhaseRecvStats
impl UnwindSafe for PhaseRecvStats
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