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

Function SetCacheBandwidthArgs

cpp/src/arrow/io/memory_benchmark.cc:265–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263
264# ifdef ARROW_HAVE_SSE4_2
265static 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
276BENCHMARK_TEMPLATE(MemoryBandwidth, Read)->Apply(SetCacheBandwidthArgs);
277# endif // ARROW_HAVE_SSE4_2

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected