pub struct TaskLedgerStats {
pub allocation_count: u64,
pub allocated_bytes: u64,
pub deallocation_count: u64,
pub deallocated_bytes: u64,
pub live_bytes: u64,
}Expand description
Per-task accounting derived from the event stream.
Fields§
§allocation_count: u64Allocation events attributed to the task.
allocated_bytes: u64Bytes of those allocations.
deallocation_count: u64Release events attributed to the task.
deallocated_bytes: u64Bytes of those releases.
live_bytes: u64Live bytes still attributed to the task at the cut.
Trait Implementations§
Source§impl Clone for TaskLedgerStats
impl Clone for TaskLedgerStats
impl Copy for TaskLedgerStats
Source§impl Debug for TaskLedgerStats
impl Debug for TaskLedgerStats
Source§impl Default for TaskLedgerStats
impl Default for TaskLedgerStats
impl Eq for TaskLedgerStats
Source§impl PartialEq for TaskLedgerStats
impl PartialEq for TaskLedgerStats
Source§impl Serialize for TaskLedgerStats
impl Serialize for TaskLedgerStats
impl StructuralPartialEq for TaskLedgerStats
Auto Trait Implementations§
impl Forget for TaskLedgerStats
impl Freeze for TaskLedgerStats
impl RefUnwindSafe for TaskLedgerStats
impl Send for TaskLedgerStats
impl Sync for TaskLedgerStats
impl Unpin for TaskLedgerStats
impl UnsafeUnpin for TaskLedgerStats
impl UnwindSafe for TaskLedgerStats
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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