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

Method CounterSum

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

Source from the content-addressed store, hash-verified

1792}
1793
1794int64_t RuntimeProfile::CounterSum(const vector<Counter*>* counters) {
1795 int64_t value = 0;
1796 for (int i = 0; i < counters->size(); ++i) {
1797 value += (*counters)[i]->value();
1798 }
1799 return value;
1800}
1801
1802RuntimeProfile::EventSequence* RuntimeProfile::AddEventSequence(const string& name) {
1803 lock_guard<SpinLock> l(event_sequence_lock_);

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected