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

Method Initialize

examples/mpsc.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82protected:
83 void Initialize(CppBenchmark::ContextPC& context) override
84 {
85 _queue = std::make_shared<mpsc_queue_t<int>>();
86 _count = 1;
87 }
88
89 void Cleanup(CppBenchmark::ContextPC& context) override
90 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected