gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 

Public Attributes

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.
 

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

◆ 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 Jun 18 2024 16:24:13 for gem5 by doxygen 1.11.0