gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::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 gem5::QueueEntry::Target:
gem5::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 87 of file queue_entry.hh.

Constructor & Destructor Documentation

◆ Target()

gem5::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 103 of file queue_entry.hh.

Member Data Documentation

◆ order

const Counter gem5::QueueEntry::Target::order

Global order (for memory consistency mgmt)

Definition at line 92 of file queue_entry.hh.

◆ pkt

const PacketPtr gem5::QueueEntry::Target::pkt

◆ readyTime

const Tick gem5::QueueEntry::Target::readyTime

Time when request is ready to be serviced.

Definition at line 91 of file queue_entry.hh.

◆ recvTime

const Tick gem5::QueueEntry::Target::recvTime

Time when request was received (for stats)

Definition at line 90 of file queue_entry.hh.

Referenced by gem5::BaseCache::recvTimingResp().


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

Generated on Tue Sep 21 2021 12:27:59 for gem5 by doxygen 1.8.17