summaryrefslogtreecommitdiff
path: root/src/mem/qos/QoSTurnaround.py
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2018-05-10 17:07:42 +0100
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2018-09-07 13:16:20 +0000
commit70718a9feed127d42f8aa3780894bb599c1f1fd1 (patch)
tree0d165296c3201b8497e11a7d3bfa6f8f1460a622 /src/mem/qos/QoSTurnaround.py
parentaa103566d6413bfdbfab7177734f0894a751a856 (diff)
downloadgem5-70718a9feed127d42f8aa3780894bb599c1f1fd1.tar.xz
mem: Implement base QoS Policies.
This patch implements a base fixed priority policy and an ideal turnaround policy for the QoS memory controller. Change-Id: I38ce16f845fc0ec86d6fc4cc5dc5406f213a465e Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/11972 Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/qos/QoSTurnaround.py')
-rw-r--r--src/mem/qos/QoSTurnaround.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mem/qos/QoSTurnaround.py b/src/mem/qos/QoSTurnaround.py
index 8f9c94296..506be7529 100644
--- a/src/mem/qos/QoSTurnaround.py
+++ b/src/mem/qos/QoSTurnaround.py
@@ -43,3 +43,8 @@ class QoSTurnaroundPolicy(SimObject):
cxx_header = "mem/qos/turnaround_policy.hh"
cxx_class = 'QoS::TurnaroundPolicy'
abstract = True
+
+class QoSTurnaroundPolicyIdeal(QoSTurnaroundPolicy):
+ type = 'QoSTurnaroundPolicyIdeal'
+ cxx_header = "mem/qos/turnaround_policy_ideal.hh"
+ cxx_class = 'QoS::TurnaroundPolicyIdeal'