MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / work

Method work

deps/memkind/src/test/performance/framework.cpp:134–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 void Worker::work()
135 {
136 EMIT(1, "Entering barrier " << m_threadId)
137 Barrier::GetInstance().wait();
138 EMIT(1, "Starting thread " << m_threadId)
139 for (Action *action : m_actions) {
140 action->alloc();
141 }
142 }
143
144 void Worker::clean()
145 {

Callers

nothing calls this directly

Calls 2

allocMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected