| 263 | |
| 264 | # ifdef ARROW_HAVE_SSE4_2 |
| 265 | static void SetCacheBandwidthArgs(benchmark::internal::Benchmark* bench) { |
| 266 | auto cache_sizes = {kL1Size, kL2Size, kL3Size}; |
| 267 | for (auto size : cache_sizes) { |
| 268 | bench->Arg(size / 2); |
| 269 | bench->Arg(size); |
| 270 | bench->Arg(size * 2); |
| 271 | } |
| 272 | |
| 273 | bench->ArgName("size"); |
| 274 | } |
| 275 | |
| 276 | BENCHMARK_TEMPLATE(MemoryBandwidth, Read)->Apply(SetCacheBandwidthArgs); |
| 277 | # endif // ARROW_HAVE_SSE4_2 |
nothing calls this directly
no outgoing calls
no test coverage detected