43 #include "params/QoSTurnaroundPolicyIdeal.hh"
70 for (uint8_t
i = 0;
i < num_priorities;
i++) {
73 uint8_t queue_idx = num_priorities -
i - 1;
80 if ((readq_size == 0) && (writeq_size == 0)) {
85 if (readq_size == 0) {
87 }
else if (writeq_size == 0) {
96 "QoSMemoryTurnaround::QoSTurnaroundPolicyIdeal - "
97 "QoS priority %d queues %d, %d triggering bus %s "
98 "in state %s\n", queue_idx, readq_size, writeq_size,
100 "turnaround" :
"staying",
BusState getBusState() const
Gets the current bus state.
uint64_t getReadQueueSize(const uint8_t prio) const
Gets a READ queue size.
uint8_t numPriorities() const
Gets the total number of priority levels in the QoS memory controller.
uint64_t getWriteQueueSize(const uint8_t prio) const
Gets a WRITE queue size.
virtual MemCtrl::BusState selectBusState() override
Bus Selection function.
virtual ~TurnaroundPolicyIdeal()
TurnaroundPolicyIdeal(const Params &)
Base class for QoS Bus Turnaround policies.
MemCtrl * memCtrl
Pointer to container object.
QoSTurnaroundPolicyParams Params
GEM5_DEPRECATED_NAMESPACE(QoS, qos)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....