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

Method Initialize

examples/spsc.cpp:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected