pub struct DurationStats { /* private fields */ }
Expand description
DurationStats
tracks:
- durations an escrowing component was executing (
started_durations/histogram/MONIKER
) - durations an escrowing component stayed stopped in-between two executions
(
stopped_durations/histogram/MONIKER
)
The tracking begins the first time a component sends an escrow request. Subsequently, started/stopped durations will be tracked regardless if that component keeps sending escrow requests.
The duration is measured in ticks in the Zircon monotonic clock, hence does not account into times the system is suspended.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DurationStats
impl !RefUnwindSafe for DurationStats
impl Send for DurationStats
impl Sync for DurationStats
impl Unpin for DurationStats
impl !UnwindSafe for DurationStats
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