ZHENGRONG WANG has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/32434 )
Change subject: cpu-simple: Fix BaseSimpleCPU to reset group stats
......................................................................
cpu-simple: Fix BaseSimpleCPU to reset group stats
BaseSimpleCPU::resetStats() should call Stats::Group::resetStats()
to reset new style hierarchy stats.
Change-Id: I932280449b29577d214db56ac8347aca4143c949
---
M src/cpu/simple/base.cc
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index c9db86c..b5a2f1d 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -396,6 +396,7 @@
void
BaseSimpleCPU::resetStats()
{
+ Stats::Group::resetStats();
for (auto &thread_info : threadInfo) {
thread_info->notIdleFraction = (_status != Idle);
}
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/32434
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I932280449b29577d214db56ac8347aca4143c949
Gerrit-Change-Number: 32434
Gerrit-PatchSet: 1
Gerrit-Owner: ZHENGRONG WANG <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s