class ContinuousAttributionTracker

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

void ~ContinuousAttributionTracker ()

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

void ContinuousAttributionTracker (ContinuousAttributionTracker & )

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

ContinuousAttributionTracker & operator= (ContinuousAttributionTracker & )

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

uint32_t FetchCurrent ()

Returns the tracked count of populated slots.

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