Function global_metrics

Source
pub fn global_metrics() -> Metrics
Expand description

Get the current allocation metrics for the entire program.

Allocations in other threads will affect this value, but each modification is guaranteed to be atomic.