gem5 v24.0.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. | |
Public Member Functions inherited from gem5::memory::qos::QueuePolicy | |
virtual void | enqueuePacket (PacketPtr pkt) |
This method is called by the memory controller after it enqueues a packet. | |
void | setMemCtrl (MemCtrl *mem) |
Setting a pointer to the Memory Controller implementing the policy. | |
virtual | ~QueuePolicy () |
Additional Inherited Members | |
Public Types inherited from gem5::memory::qos::QueuePolicy | |
typedef std::deque< PacketPtr > | PacketQueue |
Static Public Member Functions inherited from gem5::memory::qos::QueuePolicy | |
static QueuePolicy * | create (const QoSMemCtrlParams &p) |
This factory method is used for generating the queue policy. | |
Protected Member Functions inherited from gem5::memory::qos::QueuePolicy | |
QueuePolicy (const QoSMemCtrlParams &p) | |
Protected Attributes inherited from gem5::memory::qos::QueuePolicy | |
MemCtrl * | memCtrl |
Pointer to parent memory controller implementing the policy. | |
Last In First Out Queue Policy.
Definition at line 120 of file q_policy.hh.
|
inline |
Definition at line 123 of file q_policy.hh.
|
overridevirtual |
Implements LIFO packet select policy.
queue | The non-empty queue from which to select a packet |
Implements gem5::memory::qos::QueuePolicy.
Definition at line 81 of file q_policy.cc.
References panic_if.