pub struct DurationSummary { /* private fields */ }
Implementations§
Source§impl DurationSummary
impl DurationSummary
Sourcepub fn queue_time(&self) -> i64
pub fn queue_time(&self) -> i64
Sum of time this duration was ready to execute and was pending in the scheduler queue, in nanoseconds.
Sourcepub fn page_fault_time(&self) -> i64
pub fn page_fault_time(&self) -> i64
Sum of time this duration was blocked handling page faults, in nanoseconds.
Sourcepub fn lock_contention_time(&self) -> i64
pub fn lock_contention_time(&self) -> i64
Sum of time this duration was blocked on contended kernel locks, in nanoseconds.
Trait Implementations§
Source§impl Clone for DurationSummary
impl Clone for DurationSummary
Source§fn clone(&self) -> DurationSummary
fn clone(&self) -> DurationSummary
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DurationSummary
impl Debug for DurationSummary
Source§impl Display for DurationSummary
impl Display for DurationSummary
Source§impl PartialEq for DurationSummary
impl PartialEq for DurationSummary
impl StructuralPartialEq for DurationSummary
Auto Trait Implementations§
impl Freeze for DurationSummary
impl RefUnwindSafe for DurationSummary
impl Send for DurationSummary
impl Sync for DurationSummary
impl Unpin for DurationSummary
impl UnwindSafe for DurationSummary
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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