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

Method Initialize

examples/spsc.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39protected:
40 void Initialize(CppBenchmark::ContextPC& context) override
41 {
42 _queue = std::make_shared<TReaderWriterQueue>();
43 _count = 1;
44 }
45
46 void Cleanup(CppBenchmark::ContextPC& context) override
47 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected