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

Function WorkloadCost_Customize

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

Source from the content-addressed store, hash-verified

201static const std::vector<int32_t> kWorkloadSizes = {1000, 10000, 100000};
202
203static 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
211static void ThreadPoolSpawn_Customize(benchmark::internal::Benchmark* b) {
212 for (const int32_t w : kWorkloadSizes) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected