| 111 | } |
| 112 | |
| 113 | static void BM_ManyConsts_Parallel(int iters, int num) { |
| 114 | testing::ItemsProcessed(static_cast<int64>(iters) * num); |
| 115 | test::Benchmark("cpu", ManyConsts(num, false /* !sequential */)).Run(iters); |
| 116 | } |
| 117 | BENCHMARK(BM_ManyConsts_Parallel)->Range(1, 1 << 10); |
| 118 | |
| 119 | static void BM_ManyConsts_Sequential(int iters, int num) { |
nothing calls this directly
no test coverage detected