pub struct TimeStats { /* private fields */ }Expand description
Timestamp synchronisation statistics.
Implementations§
Source§impl TimeStats
impl TimeStats
Sourcepub fn record_sample(&self)
pub fn record_sample(&self)
Record a calibration sample.
Sourcepub fn record_latch(&self)
pub fn record_latch(&self)
Record a timestamp latch request.
Sourcepub fn record_reset(&self)
pub fn record_reset(&self)
Record a timestamp reset operation.
Sourcepub fn snapshot(&self) -> TimeSnapshot
pub fn snapshot(&self) -> TimeSnapshot
Snapshot the current counters.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TimeStats
impl RefUnwindSafe for TimeStats
impl Send for TimeStats
impl Sync for TimeStats
impl Unpin for TimeStats
impl UnwindSafe for TimeStats
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