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

Function BenchmarkSetArgsWithSizes

cpp/src/arrow/util/benchmark_util.h:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85};
86
87void BenchmarkSetArgsWithSizes(benchmark::internal::Benchmark* bench,
88 const std::vector<int64_t>& sizes = kMemorySizes) {
89 bench->Unit(benchmark::kMicrosecond);
90
91 for (const auto size : sizes) {
92 for (const auto inverse_null_proportion : kInverseNullProportions) {
93 bench->Args({static_cast<ArgsType>(size), inverse_null_proportion});
94 }
95 }
96}
97
98void BenchmarkSetArgs(benchmark::internal::Benchmark* bench) {
99 BenchmarkSetArgsWithSizes(bench, kMemorySizes);

Callers 9

SumKernelArgsFunction · 0.85
ModeKernelArgsFunction · 0.85
MinMaxKernelBenchArgsFunction · 0.85
VarianceKernelBenchArgsFunction · 0.85
QuantileKernelArgsFunction · 0.85
BenchmarkSetArgsFunction · 0.85
RegressionSetArgsFunction · 0.85
SetArgsFunction · 0.85
SetArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected