MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi_stats_get_default

Function mi_stats_get_default

3rd/mimalloc-2.0.9/src/stats.c:362–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360static mi_msecs_t mi_process_start; // = 0
361
362static mi_stats_t* mi_stats_get_default(void) {
363 mi_heap_t* heap = mi_heap_get_default();
364 return &heap->tld->stats;
365}
366
367static void mi_stats_merge_from(mi_stats_t* stats) {
368 if (stats != &_mi_stats_main) {

Callers 4

mi_stats_resetFunction · 0.85
mi_stats_mergeFunction · 0.85
mi_stats_print_outFunction · 0.85

Calls 1

mi_heap_get_defaultFunction · 0.85

Tested by

no test coverage detected