MCPcopy Create free account
hub / github.com/apache/arrow / ThreadPoolSpawn_Customize

Function ThreadPoolSpawn_Customize

cpp/src/arrow/util/thread_pool_benchmark.cc:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211static void ThreadPoolSpawn_Customize(benchmark::internal::Benchmark* b) {
212 for (const int32_t w : kWorkloadSizes) {
213 for (const int nthreads : {1, 2, 4, 8}) {
214 b->Args({nthreads, w});
215 }
216 }
217 b->ArgNames({"threads", "task_cost"});
218 b->UseRealTime();
219}
220
221#ifdef ARROW_WITH_BENCHMARKS_REFERENCE
222

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected