Nikos Nikoleris has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/17730
Change subject: cpu: Correctly account for executed instructions in simple
cpus
......................................................................
cpu: Correctly account for executed instructions in simple cpus
Change-Id: I53f34b2d9db6e4d2e03dde42a970764bb2a5e701
Signed-off-by: Nikos Nikoleris <nikos.nikole...@arm.com>
---
M src/cpu/simple/base.cc
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index b243dcc..49bc1ad 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -175,12 +175,12 @@
if (!curStaticInst->isMicroop() || curStaticInst->isLastMicroop()) {
t_info.numInst++;
t_info.numInsts++;
+
+ system->totalNumInsts++;
+ t_info.thread->funcExeInst++;
}
t_info.numOp++;
t_info.numOps++;
-
- system->totalNumInsts++;
- t_info.thread->funcExeInst++;
}
Counter
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/17730
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I53f34b2d9db6e4d2e03dde42a970764bb2a5e701
Gerrit-Change-Number: 17730
Gerrit-PatchSet: 1
Gerrit-Owner: Nikos Nikoleris <nikos.nikole...@arm.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev