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

Method CreateChild

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

Source from the content-addressed store, hash-verified

961}
962
963RuntimeProfile* RuntimeProfile::CreateChild(
964 const string& name, bool indent, bool prepend, bool add_default_counters) {
965 lock_guard<SpinLock> l(children_lock_);
966 DCHECK(child_map_.find(name) == child_map_.end());
967 RuntimeProfile* child = Create(pool_, name, add_default_counters);
968 AddChildLocked(child, indent, prepend ? children_.begin() : children_.end());
969 return child;
970}
971
972void RuntimeProfileBase::GetChildren(vector<RuntimeProfileBase*>* children) const {
973 children->clear();

Callers 2

AddHashTableCountersMethod · 0.80
ClientMethod · 0.80

Calls 4

CreateClass · 0.85
findMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected