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

Method UpdateCounter

be/src/runtime/summary-stats.h:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 int64_t sum_ = 0;
35
36 void UpdateCounter(int64_t new_value) {
37 ++total_num_values_;
38 sum_ += new_value;
39 if (new_value < min_) min_ = new_value;
40 if (new_value > max_) max_ = new_value;
41 }
42};
43
44}

Callers 7

FreeAllMethod · 0.45
FindChunkMethod · 0.45
SortCurrentInputRunMethod · 0.45
ReportRpcSizeMethod · 0.45
AddBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected