pub struct TrackingStatistics {
pub track_size_threshold: usize,
pub untracked: CountAndSize,
pub stochastically_tracked: CountAndSize,
pub fully_tracked: CountAndSize,
pub overhead: CountAndSize,
pub top_callstacks: Vec<CallstackStatistics>,
}
Fields§
§track_size_threshold: usize
Allocations smaller than these are left untracked.
untracked: CountAndSize
All live allocations that we are NOT tracking (because they were below Self::track_size_threshold
).
stochastically_tracked: CountAndSize
All live allocations sampled of medium size, stochastically sampled.
fully_tracked: CountAndSize
All live largish allocations, fully tracked.
overhead: CountAndSize
All live allocations used for internal book-keeping.
top_callstacks: Vec<CallstackStatistics>
The most popular callstacks.
Auto Trait Implementations§
impl Freeze for TrackingStatistics
impl RefUnwindSafe for TrackingStatistics
impl Send for TrackingStatistics
impl Sync for TrackingStatistics
impl Unpin for TrackingStatistics
impl UnwindSafe for TrackingStatistics
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> 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