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

Method Initialize

examples/spsc.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123protected:
124 void Initialize(CppBenchmark::ContextPC& context) override
125 {
126 _queue = std::make_shared<spsc_queue_t<int>>();
127 _count = 1;
128 }
129
130 void Cleanup(CppBenchmark::ContextPC& context) override
131 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected