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

Function mspace_malloc_stats

system/lib/dlmalloc.c:5986–5994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5984
5985#if !NO_MALLOC_STATS
5986void mspace_malloc_stats(mspace msp) {
5987 mstate ms = (mstate)msp;
5988 if (ok_magic(ms)) {
5989 internal_malloc_stats(ms);
5990 }
5991 else {
5992 USAGE_ERROR_ACTION(ms,ms);
5993 }
5994}
5995#endif /* NO_MALLOC_STATS */
5996
5997size_t mspace_footprint(mspace msp) {

Callers

nothing calls this directly

Calls 1

internal_malloc_statsFunction · 0.85

Tested by

no test coverage detected