class ContinuousAttributionTracker

Defined at line 40 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.

This class is not thread safe and should only be accessed under the lock of the associated

VmCowPages.

Public Methods

void ContinuousAttributionTracker ()

Defined at line 42 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h

void ~ContinuousAttributionTracker ()

Defined at line 43 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h

void ContinuousAttributionTracker (ContinuousAttributionTracker && source)

Move and move assignment zero the |source|.

Defined at line 46 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h

ContinuousAttributionTracker & operator= (ContinuousAttributionTracker && source)

Defined at line 49 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h

void ContinuousAttributionTracker (ContinuousAttributionTracker & )

Defined at line 55 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h

ContinuousAttributionTracker & operator= (ContinuousAttributionTracker & )

Defined at line 56 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h

uint32_t FetchCurrent ()

Returns the tracked count of populated slots.

Defined at line 59 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h

uint32_t FetchHwmAndReset ()

Get the greatest number of populated slots since the statistic was last reset.

Resets the high-water mark.

Defined at line 64 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h

void Increment (uint32_t by)

Increments the count by |by|. This quantity must be strictly positive.

Defined at line 69 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 72 of file ../../zircon/kernel/vm/include/vm/continuous_attribution_tracker.h