summaryrefslogtreecommitdiff
path: root/src/mem/qos
diff options
context:
space:
mode:
authorMatteo Andreozzi <Matteo.Andreozzi@arm.com>2016-09-07 14:04:45 +0100
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2018-11-16 11:45:42 +0000
commit4fa4b9bfef3ed8a99f73d8bafb9d6e0a860dd46c (patch)
tree4f76cc1d7dfe98620e2a2f4eb1e1bfa365b5374e /src/mem/qos
parent0c50a0b4fe3956f9d2e08e75d47c9cbd79bf0268 (diff)
downloadgem5-4fa4b9bfef3ed8a99f73d8bafb9d6e0a860dd46c.tar.xz
mem: avoid calling regStat twice on a QoSPolicy
Change-Id: I216c57073fabe29c3f898a5d89cee41efd4277d5 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/13696 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/qos')
-rw-r--r--src/mem/qos/mem_ctrl.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mem/qos/mem_ctrl.cc b/src/mem/qos/mem_ctrl.cc
index ce15fd779..27ff0eb61 100644
--- a/src/mem/qos/mem_ctrl.cc
+++ b/src/mem/qos/mem_ctrl.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited
+ * Copyright (c) 2017-2018 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -329,9 +329,6 @@ MemCtrl::regStats()
priorityMinLatency.subname(j, std::to_string(j));
priorityMaxLatency.subname(j, std::to_string(j));
}
-
- if (policy)
- policy->regStats();
}
void