Skip to main content

cached_allocator_observation

Function cached_allocator_observation 

Source
pub fn cached_allocator_observation() -> Option<(AllocatorMemorySnapshot, u64)>
Expand description

Return the last process-wide allocator observation without walking allocator zones. The observation timestamp is separate from the sampler reservation so a status request never mistakes an in-progress sample for a fresh reading.