MCPcopy Create free account
hub / github.com/alibaba/async_simple / ThreadPool_noWorkSteal

Function ThreadPool_noWorkSteal

benchmarks/ThreadPool.bench.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void ThreadPool_noWorkSteal(benchmark::State& state) {
46 for ([[maybe_unused]] const auto& _ : state)
47 autoScheduleTasks(/*enableWorkSteal = */ false);
48}
49
50void ThreadPool_withWorkSteal(benchmark::State& state) {
51 for ([[maybe_unused]] const auto& _ : state)

Callers

nothing calls this directly

Calls 1

autoScheduleTasksFunction · 0.85

Tested by

no test coverage detected