arch-arm: Do not increment PMU cycle event in WFI/WFE
authorJose Marinho <jose.marinho@arm.com>
Tue, 17 Oct 2017 14:34:56 +0000 (15:34 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 21 Nov 2017 17:09:18 +0000 (17:09 +0000)
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>

src/arch/arm/ArmPMU.py

index 4292fd5e827e77cf105d0590144543cdfa8fadea..83c7dd48e81ea5a1227ae288fc4d89df27aa02fd 100644 (file)
@@ -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