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