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

Method usedMemory

src/flightRecorder.cpp:410–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408 }
409
410 size_t usedMemory() {
411 return _method_map.usedMemory() + _thread_set.usedMemory() +
412 (_memfd >= 0 ? lseek(_memfd, 0, SEEK_CUR) : 0);
413 }
414
415 void cpuMonitorCycle() {
416 if (!_cpu_monitor_enabled) return;

Callers

nothing calls this directly

Calls 1

usedMemoryMethod · 0.45

Tested by

no test coverage detected