| 85 | }; |
| 86 | |
| 87 | void 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 | |
| 98 | void BenchmarkSetArgs(benchmark::internal::Benchmark* bench) { |
| 99 | BenchmarkSetArgsWithSizes(bench, kMemorySizes); |
no outgoing calls
no test coverage detected