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

Method GetAllChildren

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

Source from the content-addressed store, hash-verified

976}
977
978void RuntimeProfileBase::GetAllChildren(vector<RuntimeProfileBase*>* children) {
979 lock_guard<SpinLock> l(children_lock_);
980 for (ChildMap::iterator i = child_map_.begin(); i != child_map_.end(); ++i) {
981 children->push_back(i->second);
982 i->second->GetAllChildren(children);
983 }
984}
985
986int RuntimeProfileBase::num_counters() const {
987 std::lock_guard<SpinLock> l(counter_map_lock_);

Callers 1

GetStatusReportMethod · 0.80

Calls 3

push_backMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected