From 4fa4b9bfef3ed8a99f73d8bafb9d6e0a860dd46c Mon Sep 17 00:00:00 2001 From: Matteo Andreozzi Date: Wed, 7 Sep 2016 14:04:45 +0100 Subject: mem: avoid calling regStat twice on a QoSPolicy Change-Id: I216c57073fabe29c3f898a5d89cee41efd4277d5 Reviewed-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/13696 Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- src/mem/qos/mem_ctrl.cc | 5 +---- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3