MCPcopy Create free account
hub / github.com/apple/foundationdb / bench_callback

Function bench_callback

flowbench/BenchCallback.actor.cpp:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61template <size_t Size>
62static void bench_callback(benchmark::State& benchState) {
63 onMainThread([&benchState]() { return benchCallbackActor<Size>(&benchState); }).blockUntilReady();
64}
65
66BENCHMARK_TEMPLATE(bench_callback, 1)->Range(1, 1 << 8)->ReportAggregatesOnly(true);
67BENCHMARK_TEMPLATE(bench_callback, 32)->Range(1, 1 << 8)->ReportAggregatesOnly(true);

Callers

nothing calls this directly

Calls 2

onMainThreadFunction · 0.50
blockUntilReadyMethod · 0.45

Tested by

no test coverage detected