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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more