| 201 | static const std::vector<int32_t> kWorkloadSizes = {1000, 10000, 100000}; |
| 202 | |
| 203 | static void WorkloadCost_Customize(benchmark::internal::Benchmark* b) { |
| 204 | for (const int32_t w : kWorkloadSizes) { |
| 205 | b->Args({w}); |
| 206 | } |
| 207 | b->ArgNames({"task_cost"}); |
| 208 | b->UseRealTime(); |
| 209 | } |
| 210 | |
| 211 | static void ThreadPoolSpawn_Customize(benchmark::internal::Benchmark* b) { |
| 212 | for (const int32_t w : kWorkloadSizes) { |
nothing calls this directly
no outgoing calls
no test coverage detected