MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / init

Method init

src/objectSampler.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void init() {
54 memset(_refs, 0, sizeof(_refs));
55 memset(_values, 0, sizeof(_values));
56 _full = false;
57 _lock.unlock();
58 }
59
60 void gc() {
61 _full = false;

Callers 1

initLiveRefsMethod · 0.45

Calls 1

unlockMethod · 0.45

Tested by

no test coverage detected