From: Jose Marinho Date: Tue, 17 Oct 2017 14:34:56 +0000 (+0100) Subject: arch-arm: Do not increment PMU cycle event in WFI/WFE X-Git-Tag: v19.0.0.0~2534 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69ac4aced0930c37d5523e5b56db8759bbc2bcc8;p=gem5.git arch-arm: Do not increment PMU cycle event in WFI/WFE Change-Id: I09531e9992e045254e5ee989dd11ccabbf84e4ce Reviewed-by: Sascha Bischoff Reviewed-on: https://gem5-review.googlesource.com/5763 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- 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