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

Function SetBytesProcessed

cpp/src/parquet/arrow/reader_writer_benchmark.cc:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128
129template <typename ParquetType>
130void SetBytesProcessed(::benchmark::State& state, int64_t num_values = BENCHMARK_SIZE) {
131 const int64_t items_processed = state.iterations() * num_values;
132 state.SetItemsProcessed(items_processed);
133 state.SetBytesProcessed(BytesForItems<ParquetType>(items_processed));
134}
135
136constexpr int64_t kAlternatingOrNa = -1;
137

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected