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

Method Update

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

Source from the content-addressed store, hash-verified

748}
749
750void RuntimeProfile::Update(
751 const TRuntimeProfileTree& thrift_profile, bool add_default_counters) {
752 int idx = 0;
753 Update(thrift_profile.nodes, &idx, add_default_counters);
754 DCHECK_EQ(idx, thrift_profile.nodes.size());
755 // Re-compute the total time for the entire profile tree.
756 ComputeTimeInProfile();
757}
758
759void RuntimeProfile::Update(
760 const vector<TRuntimeProfileNode>& nodes, int* idx, bool add_default_counters) {

Callers 3

TESTFunction · 0.45
TEST_FFunction · 0.45

Calls 15

FindOrInsertFunction · 0.85
UntimedProfileNodeFunction · 0.85
CreateClass · 0.85
SetSamplesMethod · 0.80
push_backMethod · 0.80
AddNewerEventsMethod · 0.80
SetStatsMethod · 0.80
sizeMethod · 0.45
findMethod · 0.45
endMethod · 0.45
AddMethod · 0.45
unitMethod · 0.45

Tested by 2

TESTFunction · 0.36
TEST_FFunction · 0.36