From: Matteo Andreozzi Date: Wed, 7 Sep 2016 13:04:45 +0000 (+0100) Subject: mem: avoid calling regStat twice on a QoSPolicy X-Git-Tag: v19.0.0.0~1389 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fa4b9bfef3ed8a99f73d8bafb9d6e0a860dd46c;p=gem5.git 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 --- 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