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

Method GetPrototypes

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

Source from the content-addressed store, hash-verified

140}
141
142void ProfileEntryPrototypeRegistry::GetPrototypes(
143 vector<const ProfileEntryPrototype*>* out) {
144 lock_guard<SpinLock> l(lock_);
145 out->reserve(prototypes_.size());
146 for (auto p : prototypes_) out->push_back(p.second);
147}
148
149ProfileEntryPrototype::ProfileEntryPrototype(const char* name, Significance significance,
150 const char* desc, TUnit::type unit) :

Callers 1

ProfileDocsHandlerFunction · 0.80

Calls 3

reserveMethod · 0.80
push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected