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

Method SetMetadata

cpp/src/arrow/compute/kernels/vector_hash_benchmark.cc:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void SetMetadata(benchmark::State& state) const {
104 state.counters["null_percent"] = params.null_probability * 100;
105 state.counters["num_unique"] = static_cast<double>(params.num_unique);
106 state.SetBytesProcessed(state.iterations() * params.length * sizeof(CType));
107 state.SetItemsProcessed(state.iterations() * params.length);
108 }
109};
110
111template <>

Callers 3

BenchUniqueFunction · 0.45
BenchDictionaryEncodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected