gem5
v20.1.0.0
|
First In First Out Queue Policy. More...
#include <q_policy.hh>
Public Member Functions | |
FifoQueuePolicy (const QoSMemCtrlParams *p) | |
PacketQueue::iterator | selectPacket (PacketQueue *queue) override |
Implements FCFS packet select policy. More... | |
Public Member Functions inherited from QoS::QueuePolicy | |
virtual void | enqueuePacket (PacketPtr pkt) |
This method is called by the memory controller after it enqueues a packet. More... | |
void | setMemCtrl (MemCtrl *mem) |
Setting a pointer to the Memory Controller implementing the policy. More... | |
virtual | ~QueuePolicy () |
Additional Inherited Members | |
Public Types inherited from QoS::QueuePolicy | |
typedef std::deque< PacketPtr > | PacketQueue |
Static Public Member Functions inherited from QoS::QueuePolicy | |
static QueuePolicy * | create (const QoSMemCtrlParams *p) |
This factory method is used for generating the queue policy. More... | |
Protected Member Functions inherited from QoS::QueuePolicy | |
QueuePolicy (const QoSMemCtrlParams *p) | |
Protected Attributes inherited from QoS::QueuePolicy | |
MemCtrl * | memCtrl |
Pointer to parent memory controller implementing the policy. More... | |
First In First Out Queue Policy.
Definition at line 135 of file q_policy.hh.
|
inline |
Definition at line 138 of file q_policy.hh.
|
inlineoverridevirtual |
Implements FCFS packet select policy.
queue | The queue in which to select a packet |
Implements QoS::QueuePolicy.
Definition at line 149 of file q_policy.hh.