cpu: Correctly account for executed instructions in simple cpus
Change-Id: I53f34b2d9db6e4d2e03dde42a970764bb2a5e701 Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17730 Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
@@ -175,12 +175,12 @@ BaseSimpleCPU::countInst()
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user