pub struct CallSiteStats {
pub frames: [u64; 8],
pub frame_count: u8,
pub count: u64,
pub total_bytes: u64,
}Available on crate feature
backtraces only.Expand description
One row in the per-call-site report.
Frames are raw return addresses, top of stack first. The
frames[..frame_count] slice is the captured trace; the rest
is zero. Symbolication happens at report-generation time (lands
in v0.9.2).
Fields§
§frames: [u64; 8]Raw return addresses, top of stack first.
frame_count: u8Number of valid frames in frames.
count: u64Number of allocations attributed to this call site.
total_bytes: u64Total bytes allocated at this call site (across all recorded events).
Trait Implementations§
Source§impl Clone for CallSiteStats
impl Clone for CallSiteStats
Source§fn clone(&self) -> CallSiteStats
fn clone(&self) -> CallSiteStats
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 CallSiteStats
impl Debug for CallSiteStats
impl Copy for CallSiteStats
Auto Trait Implementations§
impl Freeze for CallSiteStats
impl RefUnwindSafe for CallSiteStats
impl Send for CallSiteStats
impl Sync for CallSiteStats
impl Unpin for CallSiteStats
impl UnsafeUnpin for CallSiteStats
impl UnwindSafe for CallSiteStats
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