Skip to main content

global_alloc_count

Function global_alloc_count 

Source
pub fn global_alloc_count() -> u64
Expand description

Returns the process allocation count observed by the allocator hook.

The counter uses relaxed ordering and advances only when internal allocation counting is enabled. It is intended for allocation measurements rather than synchronized accounting.