|
gem5 [DEVELOP-FOR-25.0]
|
#include <mshr.hh>
Public Types | |
| enum | Source { FromCPU , FromSnoop , FromPrefetcher } |
Public Member Functions | |
| Target (PacketPtr _pkt, Tick _readyTime, Counter _order, Source _source, bool _markedPending, bool alloc_on_fill) | |
Public Member Functions inherited from gem5::QueueEntry::Target | |
| Target (PacketPtr _pkt, Tick ready_time, Counter _order) | |
| Default constructor. | |
Public Attributes | |
| const Source | source |
| Request from cpu, memory, or prefetcher? | |
| bool | markedPending |
| We use this flag to track whether we have cleared the downstreamPending flag for the MSHR of the cache above where this packet originates from and guard noninitial attempts to clear it. | |
| const bool | allocOnFill |
| Should the response servicing this target list allocate in the cache? | |
Public Attributes inherited from gem5::QueueEntry::Target | |
| const Tick | recvTime |
| Time when request was received (for stats) | |
| const Tick | readyTime |
| Time when request is ready to be serviced. | |
| const Counter | order |
| Global order (for memory consistency mgmt) | |
| PacketPtr | pkt |
| Pending request packet. | |
|
inline |
Definition at line 162 of file mshr.hh.
References allocOnFill, markedPending, gem5::QueueEntry::QueueEntry(), source, and Target().
Referenced by Target().
| const bool gem5::MSHR::Target::allocOnFill |
| bool gem5::MSHR::Target::markedPending |
We use this flag to track whether we have cleared the downstreamPending flag for the MSHR of the cache above where this packet originates from and guard noninitial attempts to clear it.
The flag markedPending needs to be updated when the TargetList is in service which can be: 1) during the Target instantiation if the MSHR is in service and the target is not deferred, 2) when the MSHR becomes in service if the target is not deferred, 3) or when the TargetList is promoted (deferredTargets -> targets).
Definition at line 157 of file mshr.hh.
Referenced by Target().
| const Source gem5::MSHR::Target::source |