MissStatusTableModel<LineAddressType extends Object, TransactionTagType extends Object, MetadataType extends Object> class
Independent software model of miss merging and lifecycle state.
An equal line address increments its merge count without replacing the
transaction tag or metadata established by the first acquire. Misses
allocate the lowest free physical index. Issue and completion updates name
physical indices, matching CombinationalMissStatusTable's public tag
streams.
- Mixed-in types
-
- SoftwareStateTransactionEndpoint<
MissStatusTableImage< LineAddressType, TransactionTagType, MetadataType> >
- SoftwareStateTransactionEndpoint<
Constructors
- MissStatusTableModel({required int capacity, required int maximumMerges})
- Creates an empty miss-status model.
Properties
- allocatedCount → int
-
Number of allocated distinct line misses.
no setter
- capabilities → StateTransactionCapabilities
-
Static software transaction behavior.
no setterinherited
- capacity → int
-
Number of distinct line misses.
final
- full → bool
-
Whether every physical entry is allocated.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
image
→ MissStatusTableImage<
LineAddressType, TransactionTagType, MetadataType> -
Current immutable logical image.
no setteroverride
- maximumMerges → int
-
Maximum requests merged into one line miss.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stateTransactions
→ StateTransactionEndpoint<
MissStatusTableImage< LineAddressType, TransactionTagType, MetadataType> > -
This model's software transaction endpoint.
no setterinherited
Methods
-
acquire(
MissStatusModelAcquire< LineAddressType, TransactionTagType, MetadataType> request) → MissStatusModelAcquireResult - Merges an equal line or allocates a new miss.
-
complete(
int index) → bool -
Marks the physical entry at
indexas completed. -
issue(
int index) → bool -
Marks the physical entry at
indexas issued. -
load(
covariant MissStatusTableImage< LineAddressType, TransactionTagType, MetadataType> image) → void -
Replaces model state from a compatible image.
override
-
lookup(
LineAddressType lineAddress) → ({MissStatusEntryImage< LineAddressType, TransactionTagType, MetadataType> entry, int index})? - Finds a line miss and returns its physical index and logical state.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
int index) → MissStatusModelReleaseResult -
Releases one merged reference by physical
index. -
reset(
) → void - Clears all miss and lifecycle state.
-
toString(
) → String -
A string representation of this object.
inherited
-
transact(
StateTransactionRequest< MissStatusTableImage< request, {bool quiescent = false}) → StateTransactionCompletion<LineAddressType, TransactionTagType, MetadataType> >MissStatusTableImage< LineAddressType, TransactionTagType, MetadataType> > -
Accepts a request and returns its completion.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited