MCPcopy Create free account
hub / github.com/apache/impala / Probe

Function Probe

be/src/benchmarks/hash-table-benchmark.cc:240–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238};
239
240void Probe(TestCtx* ctx, vector<TupleRow*>& pdata) {
241 HashTable* hTable = ctx->hash_table_;
242 HashTableCtx* ht_ctx = ctx->hash_context_.get();
243 HashTable::Iterator iter;
244 for (int i = 0; i < pdata.size(); i++) {
245 const TupleRow* row = pdata[i];
246 if (!ht_ctx->EvalAndHashProbe(row)) continue;
247 iter = hTable->FindProbeRow(ht_ctx);
248 }
249}
250
251void Build(TestCtx* ctx, vector<TupleRow*>& bdata) {
252 HashTable* ht = ctx->hash_table_;

Callers 1

BenchmarkFunction · 0.85

Calls 4

EvalAndHashProbeMethod · 0.80
FindProbeRowMethod · 0.80
getMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected