Software replacement state used by a CacheModel.
select must not mutate policy state. Accesses and allocations are reported only when their cache operation takes effect.
- Implementers
- Annotations
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
access(
int set, int way) → void - Records a successful access to an existing way.
-
allocate(
int set, int way) → void - Records allocation of a way for a previously absent block.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Resets all replacement state.
-
select(
int set, List< bool> valid) → int -
Selects a way in
setgiven the current validity of its ways. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited