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

Method GetCounter

be/src/util/runtime-profile.cc:1200–1206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1198}
1199
1200RuntimeProfileBase::Counter* RuntimeProfileBase::GetCounter(const string& name) const {
1201 lock_guard<SpinLock> l(counter_map_lock_);
1202 if (auto iter = counter_map_.find(name); iter != counter_map_.cend()) {
1203 return iter->second;
1204 }
1205 return NULL;
1206}
1207
1208RuntimeProfileBase::SummaryStatsCounter* RuntimeProfile::GetSummaryStatsCounter(
1209 const string& name) {

Callers 7

QueryStateExpandedMethod · 0.80
GetStatusReportMethod · 0.80
CloseMethod · 0.80
InitCountersMethod · 0.80
TestEvictionPolicyMethod · 0.80
TESTFunction · 0.80
ValidateCounterFunction · 0.80

Calls 2

cendMethod · 0.80
findMethod · 0.45

Tested by 3

TestEvictionPolicyMethod · 0.64
TESTFunction · 0.64
ValidateCounterFunction · 0.64