| 453 | } |
| 454 | |
| 455 | void ReservationTracker::UpdateReservation(int64_t delta) { |
| 456 | int64_t reservation = reservation_.Add(delta); |
| 457 | COUNTER_SET(counters_.peak_reservation, reservation); |
| 458 | CheckConsistency(); |
| 459 | } |
| 460 | |
| 461 | string ReservationTracker::DebugString() { |
| 462 | lock_guard<SpinLock> l(lock_); |
no test coverage detected