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

Method Initialize

examples/spsc.cpp:209–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207
208protected:
209 void Initialize(CppBenchmark::ContextPC& context) override
210 {
211 _queue = std::make_shared<lock_bounded_queue_t<int>>(queue_bound_size);
212 _count = 1;
213 }
214
215 void Cleanup(CppBenchmark::ContextPC& context) override
216 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected