Skip to main content

alloc_count

Function alloc_count 

Source
pub fn alloc_count() -> Option<u64>
Expand description

Allocations made since process start, or None under the same condition as stats. Cheaper than a full stats read; the frame loop samples this around every system step in dev builds to attribute per-frame allocation churn.