MCPcopy Create free account
hub / github.com/Restream/reindexer / get_alloc_size

Function get_alloc_size

cpp_src/debug/allocdebug.cc:86–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84#endif
85
86size_t get_alloc_size() { return ismt ? tracer_mt.alloced_sz.load() : tracer.alloced_sz; }
87size_t get_alloc_cnt() { return ismt ? tracer_mt.alloced_cnt.load() : tracer.alloced_cnt; }
88size_t get_alloc_size_total() { return ismt ? tracer_mt.alloced_sz_total.load() : tracer.alloced_sz_total; }
89size_t get_alloc_cnt_total() { return ismt ? tracer_mt.alloced_cnt_total.load() : tracer.alloced_cnt_total; }

Callers 6

TESTFunction · 0.85
AllocsTrackerMethod · 0.85
~AllocsTrackerMethod · 0.85
BuildFastTextIndexMethod · 0.85
allocdebug_showFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68