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

Method UpdateReservation

be/src/runtime/bufferpool/reservation-tracker.cc:455–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TransferReservationToMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected