pub struct ZoneStats {
pub count: u64,
pub total_ns: u128,
pub min_ns: u128,
pub max_ns: u128,
pub sum_sq_ns: u128,
}Expand description
Per-zone aggregated statistics.
Fields§
§count: u64Number of times the zone has been stopped.
total_ns: u128Total nanoseconds spent in the zone.
min_ns: u128Minimum single-call nanoseconds.
max_ns: u128Maximum single-call nanoseconds.
sum_sq_ns: u128Sum of ns^2 across calls, for stddev without FMA.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZoneStats
impl RefUnwindSafe for ZoneStats
impl Send for ZoneStats
impl Sync for ZoneStats
impl Unpin for ZoneStats
impl UnsafeUnpin for ZoneStats
impl UnwindSafe for ZoneStats
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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