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

Method RefreshConsumptionFromMetric

be/src/runtime/mem-tracker.cc:172–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void MemTracker::RefreshConsumptionFromMetric() {
173 DCHECK(consumption_metric_ != nullptr);
174 consumption_->Set(consumption_metric_->GetValue());
175}
176
177int64_t MemTracker::GetPoolMemReserved() {
178 // Pool trackers should have a pool_name_ and no limit.

Callers 1

MemoryMaintenanceThreadFunction · 0.80

Calls 2

SetMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected