Skip to main content

stats

Function stats 

Source
pub fn stats() -> ProfStats
Expand description

Read the profiler’s current counters via mi_prof_stats_get.

Returns ProfStats::default() (all zero/false) if the call fails, e.g. because the sys struct’s size/version header does not match what the linked mimalloc build expects.