gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
QueueEntry::Target Class Reference

A queue entry is holding packets that will be serviced as soon as resources are available. More...

#include <queue_entry.hh>

Inheritance diagram for QueueEntry::Target:
MSHR::Target

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Target()

QueueEntry::Target::Target ( PacketPtr  _pkt,
Tick  ready_time,
Counter  _order 
)
inline

Default constructor.

Assigns the current tick as the arrival time of the packet.

Parameters
_pktThe pending request packet.
ready_timeThe tick at which the packet will be serviceable.
_orderGlobal order.

Definition at line 98 of file queue_entry.hh.

Member Data Documentation

◆ order

const Counter QueueEntry::Target::order

Global order (for memory consistency mgmt)

Definition at line 87 of file queue_entry.hh.

◆ pkt

const PacketPtr QueueEntry::Target::pkt

◆ readyTime

const Tick QueueEntry::Target::readyTime

Time when request is ready to be serviced.

Definition at line 86 of file queue_entry.hh.

◆ recvTime

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().


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 2020 14:02:29 for gem5 by doxygen 1.8.17