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

Function mi_stats_merge_from

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

Source from the content-addressed store, hash-verified

365}
366
367static void mi_stats_merge_from(mi_stats_t* stats) {
368 if (stats != &_mi_stats_main) {
369 mi_stats_add(&_mi_stats_main, stats);
370 memset(stats, 0, sizeof(mi_stats_t));
371 }
372}
373
374void mi_stats_reset(void) mi_attr_noexcept {
375 mi_stats_t* stats = mi_stats_get_default();

Callers 3

mi_stats_mergeFunction · 0.85
_mi_stats_doneFunction · 0.85
mi_stats_print_outFunction · 0.85

Calls 1

mi_stats_addFunction · 0.85

Tested by

no test coverage detected