Skip to main content

allocation_stats

Function allocation_stats 

Source
pub fn allocation_stats() -> Allocations
Expand description

Return a snapshot of coarse process-wide allocation counters.

These counters are updated only when the global allocator wrapper was configured with PprofAlloc::with_stats.