MCPcopy Create free account
hub / github.com/beefytech/Beef / InitModule

Function InitModule

BeefRT/gperftools/src/malloc_extension.cc:199–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197static MallocExtension* current_instance = NULL;
198
199static void InitModule() {
200 current_instance = new MallocExtension;
201#ifndef NO_HEAP_CHECK
202 HeapLeakChecker::IgnoreObject(current_instance);
203#endif
204}
205
206MallocExtension* MallocExtension::instance() {
207 perftools_pthread_once(&module_init, InitModule);

Callers 4

GetCacheMethod · 0.70
do_memalignFunction · 0.70
BFGCMethod · 0.50
RawInitMethod · 0.50

Calls 1

IgnoreObjectFunction · 0.50

Tested by

no test coverage detected