From 69ac4aced0930c37d5523e5b56db8759bbc2bcc8 Mon Sep 17 00:00:00 2001 From: Jose Marinho Date: Tue, 17 Oct 2017 15:34:56 +0100 Subject: [PATCH] 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 --- src/arch/arm/ArmPMU.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2