gem5
v20.1.0.0
|
Last In First Out Queue Policy. More...
#include <q_policy.hh>
Public Member Functions | |
LifoQueuePolicy (const QoSMemCtrlParams *p) | |
PacketQueue::iterator | selectPacket (PacketQueue *queue) override |
Implements LIFO 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... | |
Last In First Out Queue Policy.
Definition at line 114 of file q_policy.hh.
|
inline |
Definition at line 117 of file q_policy.hh.
|
inlineoverridevirtual |
Implements LIFO packet select policy.
queue | The queue in which to select a packet |
Implements QoS::QueuePolicy.
Definition at line 128 of file q_policy.hh.