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

Method Initialize

examples/mpmc.cpp:127–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126protected:
127 void Initialize(CppBenchmark::ContextPC& context) override
128 {
129 _queue = std::make_shared<lock_bounded_queue_t<int>>(queue_bound_size);
130 _count = 1;
131 }
132
133 void Cleanup(CppBenchmark::ContextPC& context) override
134 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected