gem5
v20.1.0.0
|
A queue entry is holding packets that will be serviced as soon as resources are available. More...
#include <queue_entry.hh>
Public Member Functions | |
Target (PacketPtr _pkt, Tick ready_time, Counter _order) | |
Default constructor. More... | |
Public Attributes | |
const Tick | recvTime |
Time when request was received (for stats) More... | |
const Tick | readyTime |
Time when request is ready to be serviced. More... | |
const Counter | order |
Global order (for memory consistency mgmt) More... | |
const PacketPtr | pkt |
Pending request packet. More... | |
A queue entry is holding packets that will be serviced as soon as resources are available.
Since multiple references to the same address can arrive while a packet is not serviced, each packet is stored in a target containing its availability, order and other info, and the queue entry stores these similar targets in a list.
Definition at line 83 of file queue_entry.hh.
Default constructor.
Assigns the current tick as the arrival time of the packet.
_pkt | The pending request packet. |
ready_time | The tick at which the packet will be serviceable. |
_order | Global order. |
Definition at line 98 of file queue_entry.hh.
const Counter QueueEntry::Target::order |
Global order (for memory consistency mgmt)
Definition at line 87 of file queue_entry.hh.
const PacketPtr QueueEntry::Target::pkt |
Pending request packet.
Definition at line 88 of file queue_entry.hh.
Referenced by BaseCache::access(), BaseCache::recvTimingResp(), Cache::recvTimingSnoopReq(), BaseCache::CacheReqPacketQueue::sendDeferredPacket(), Cache::sendMSHRQueuePacket(), BaseCache::sendMSHRQueuePacket(), BaseCache::sendWriteQueuePacket(), NoncoherentCache::serviceMSHRTargets(), and Cache::serviceMSHRTargets().
const Tick QueueEntry::Target::readyTime |
Time when request is ready to be serviced.
Definition at line 86 of file queue_entry.hh.
const Tick QueueEntry::Target::recvTime |
Time when request was received (for stats)
Definition at line 85 of file queue_entry.hh.
Referenced by BaseCache::recvTimingResp().