| 209 | } |
| 210 | |
| 211 | static 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 |
nothing calls this directly
no outgoing calls
no test coverage detected