MCPcopy Create free account
hub / github.com/chronoxor/CppBenchmark / Initialize

Method Initialize

examples/mpsc.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166
167protected:
168 void Initialize(CppBenchmark::ContextPC& context) override
169 {
170 _queue = std::make_shared<lock_bounded_queue_t<int>>(queue_bound_size);
171 _count = 1;
172 }
173
174 void Cleanup(CppBenchmark::ContextPC& context) override
175 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected