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

Method GetCount

be/src/codegen/instruction-counter.cc:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67int InstructionCounter::GetCount(const char* name) {
68 CounterMap::const_iterator counter = counters_.find(name);
69 DCHECK(counter != counters_.end());
70 return counter->second;
71}
72
73void InstructionCounter::visit(const llvm::Instruction& I) {
74 IncrementCount(TOTAL_INSTS);

Callers 2

TEST_FFunction · 0.80
FinalizeModuleMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

TEST_FFunction · 0.64