pub struct PprofSummary {
pub total_stacks: u64,
pub live_stacks: u64,
pub alloc_space_bytes: u64,
pub inuse_space_bytes: u64,
pub alloc_objects: u64,
pub inuse_objects: u64,
}Expand description
Summary of the currently recorded pprof allocation profile.
Values are scaled according to the active pprof sample rate, so they are estimates when sampling is enabled.
Fields§
§total_stacks: u64Number of distinct stack traces recorded in the profile.
live_stacks: u64Number of distinct stack traces with estimated live bytes greater than zero.
alloc_space_bytes: u64Estimated cumulative allocated bytes across all recorded stacks.
inuse_space_bytes: u64Estimated currently live bytes across all recorded stacks.
alloc_objects: u64Estimated cumulative allocation count across all recorded stacks.
inuse_objects: u64Estimated currently live allocation count across all recorded stacks.
Trait Implementations§
Source§impl Clone for PprofSummary
impl Clone for PprofSummary
Source§fn clone(&self) -> PprofSummary
fn clone(&self) -> PprofSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PprofSummary
impl Debug for PprofSummary
Source§impl Default for PprofSummary
impl Default for PprofSummary
Source§fn default() -> PprofSummary
fn default() -> PprofSummary
Returns the “default value” for a type. Read more
Source§impl PartialEq for PprofSummary
impl PartialEq for PprofSummary
Source§fn eq(&self, other: &PprofSummary) -> bool
fn eq(&self, other: &PprofSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PprofSummary
impl Serialize for PprofSummary
impl Eq for PprofSummary
impl StructuralPartialEq for PprofSummary
Auto Trait Implementations§
impl Freeze for PprofSummary
impl RefUnwindSafe for PprofSummary
impl Send for PprofSummary
impl Sync for PprofSummary
impl Unpin for PprofSummary
impl UnsafeUnpin for PprofSummary
impl UnwindSafe for PprofSummary
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