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

Method onThreadStart

src/cpuEngine.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void CpuEngine::onThreadStart() {
45 CpuEngine* current = loadAcquire(_current);
46 if (current != NULL) {
47 current->createForThread(OS::threadId());
48 }
49}
50
51void CpuEngine::onThreadEnd() {
52 CpuEngine* current = loadAcquire(_current);

Callers

nothing calls this directly

Calls 2

loadAcquireFunction · 0.85
createForThreadMethod · 0.45

Tested by

no test coverage detected