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

Method Initialize

examples/sort.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 std::vector<int> items;
18
19 void Initialize(CppBenchmark::Context& context) override
20 {
21 items.resize(context.x());
22 }
23
24 void Cleanup(CppBenchmark::Context& context) override
25 {

Callers

nothing calls this directly

Calls 1

xMethod · 0.80

Tested by

no test coverage detected