class ContinuousAttributionTracker
Defined at line 18 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h
Tracks the number of populated slots in the VmCowPages' local page list. If the VmCowPages
changes a slot to being populated, or vice versa, that should be reported to
ContinuousAttributionTracker.
Public Methods
void ContinuousAttributionTracker (ContinuousAttributionTracker && source)
Move and move assignment zero the |source|.
Defined at line 9 of file ../../zircon/kernel/vm/continuous_attribution_tracker.cc
ContinuousAttributionTracker & operator= (ContinuousAttributionTracker && source)
Defined at line 15 of file ../../zircon/kernel/vm/continuous_attribution_tracker.cc
void ContinuousAttributionTracker ()
Defined at line 20 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h
void ~ContinuousAttributionTracker ()
Defined at line 21 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h
void ContinuousAttributionTracker (ContinuousAttributionTracker & )
Defined at line 26 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h
ContinuousAttributionTracker & operator= (ContinuousAttributionTracker & )
Defined at line 27 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h
uint32_t FetchCurrent ()
Returns the tracked count of populated slots.
Defined at line 31 of file ../../zircon/kernel/vm/continuous_attribution_tracker.cc
uint32_t FetchHwmAndReset ()
Get the greatest number of populated slots since the statistic was last reset.
Resets the high-water mark.
Defined at line 24 of file ../../zircon/kernel/vm/continuous_attribution_tracker.cc
void Increment (uint32_t by)
Increments the count by |by|. This quantity must be strictly positive.
Defined at line 38 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h
void Decrement (uint32_t by)
Decrements the count by |by|. This quantity must be strictly positive.
Defined at line 48 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h