pub struct PubMonitorCell {
pub count: AtomicU32,
pub max_latency_us: AtomicU32,
}Expand description
One contracted publisher’s counters. Baked as a static by codegen
(or declared by the fixture); the publisher handle bumps count on
every publish, the executor reads deltas on spin ticks.
Fields§
§count: AtomicU32§max_latency_us: AtomicU32W3b.5 — max observed take→publish latency (µs) in the current check window. Written by the dispatch loop (fetch_max), drained (swap 0) by the latency check.
Implementations§
Trait Implementations§
Source§impl Debug for PubMonitorCell
impl Debug for PubMonitorCell
Source§impl Default for PubMonitorCell
impl Default for PubMonitorCell
Source§fn default() -> PubMonitorCell
fn default() -> PubMonitorCell
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for PubMonitorCell
impl RefUnwindSafe for PubMonitorCell
impl Send for PubMonitorCell
impl Sync for PubMonitorCell
impl Unpin for PubMonitorCell
impl UnsafeUnpin for PubMonitorCell
impl UnwindSafe for PubMonitorCell
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