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

Method clear

src/callTraceStorage.cpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 void clear() {
79 memset(keys(), 0, (sizeof(u64) + sizeof(CallTraceSample)) * _capacity);
80 _size = 0;
81 }
82};
83
84CallTrace CallTraceStorage::_overflow_trace = {1, {BCI_ERROR, LP64_ONLY(0 COMMA) (jmethodID)"storage_overflow"}};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected