| 117 | BENCHMARK(BM_ManyConsts_Parallel)->Range(1, 1 << 10); |
| 118 | |
| 119 | static void BM_ManyConsts_Sequential(int iters, int num) { |
| 120 | testing::ItemsProcessed(static_cast<int64>(iters) * num); |
| 121 | test::Benchmark("cpu", ManyConsts(num, true /* sequential */)).Run(iters); |
| 122 | } |
| 123 | BENCHMARK(BM_ManyConsts_Sequential)->Range(1, 1 << 10); |
| 124 | |
| 125 | } // end namespace tensorflow |
nothing calls this directly
no test coverage detected