MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / mspace_footprint

Function mspace_footprint

libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:3968–3977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3966}
3967
3968SPP_API inline size_t mspace_footprint(mspace msp)
3969{
3970 size_t result = 0;
3971 mstate ms = (mstate)msp;
3972 if (ms->ok_magic())
3973 result = ms->_footprint;
3974 else
3975 SPP_USAGE_ERROR_ACTION(ms, ms);
3976 return result;
3977}
3978
3979SPP_API inline size_t mspace_max_footprint(mspace msp)
3980{

Callers

nothing calls this directly

Calls 1

ok_magicMethod · 0.80

Tested by

no test coverage detected