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

Method GetCounters

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

Source from the content-addressed store, hash-verified

1215}
1216
1217void RuntimeProfileBase::GetCounters(const string& name, vector<Counter*>* counters) {
1218 Counter* c = GetCounter(name);
1219 if (c != NULL) counters->push_back(c);
1220
1221 lock_guard<SpinLock> l(children_lock_);
1222 for (int i = 0; i < children_.size(); ++i) {
1223 children_[i].first->GetCounters(name, counters);
1224 }
1225}
1226
1227RuntimeProfile::EventSequence* RuntimeProfile::GetEventSequence(const string& name) const
1228{

Callers 2

TEST_FFunction · 0.80

Calls 2

push_backMethod · 0.80
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64