MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / __mi_stat_decrease

Function __mi_stat_decrease

system/lib/mimalloc/src/stats.c:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 mi_stat_update_mt(stat, -((int64_t)amount));
59}
60void __mi_stat_decrease(mi_stat_count_t* stat, size_t amount) {
61 mi_stat_update(stat, -((int64_t)amount));
62}
63
64
65// Adjust stats to compensate; for example before committing a range,

Callers

nothing calls this directly

Calls 1

mi_stat_updateFunction · 0.85

Tested by

no test coverage detected