summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorJose Marinho <jose.marinho@arm.com>2017-10-17 15:34:56 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-11-21 17:09:18 +0000
commit69ac4aced0930c37d5523e5b56db8759bbc2bcc8 (patch)
tree29fb933400d0b9c4b6fdbbb3a728264915868e35 /src/arch
parent760cc5735f48f3a5a52ebe31df0c039b23c3d611 (diff)
downloadgem5-69ac4aced0930c37d5523e5b56db8759bbc2bcc8.tar.xz
arch-arm: Do not increment PMU cycle event in WFI/WFE
Change-Id: I09531e9992e045254e5ee989dd11ccabbf84e4ce Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com> Reviewed-on: https://gem5-review.googlesource.com/5763 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/ArmPMU.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/ArmPMU.py b/src/arch/arm/ArmPMU.py
index 4292fd5e8..83c7dd48e 100644
--- a/src/arch/arm/ArmPMU.py
+++ b/src/arch/arm/ArmPMU.py
@@ -111,7 +111,7 @@ class ArmPMU(SimObject):
# 0x0E: BR_RETURN_RETIRED
# 0x0F: UNALIGEND_LDST_RETIRED
self.addEventProbe(0x10, bpred, "Misses")
- self.addEventProbe(0x11, cpu, "Cycles")
+ self.addEventProbe(0x11, cpu, "ActiveCycles")
self.addEventProbe(0x12, bpred, "Branches")
self.addEventProbe(0x13, cpu, "RetiredLoads", "RetiredStores")
# 0x14: L1I_CACHE