Ciro Santilli has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/37976 )
Change subject: arch-arm: add official names to all PMU events
......................................................................
arch-arm: add official names to all PMU events
Change-Id: I1d44ffa540b0cf175f279c6509839ad2dd69017a
---
M src/arch/arm/ArmPMU.py
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/arch/arm/ArmPMU.py b/src/arch/arm/ArmPMU.py
index c712a97..1839010 100644
--- a/src/arch/arm/ArmPMU.py
+++ b/src/arch/arm/ArmPMU.py
@@ -117,14 +117,20 @@
if bpred is not None and isNullPointer(bpred):
bpred = None
+ # 0x00: SW_INCR
self.addEvent(SoftwareIncrement(self,0x00))
# 0x01: L1I_CACHE_REFILL
+ # 0x02: L1I_TLB_REFILL,
self.addEvent(ProbeEvent(self,0x02, itb, "Refills"))
# 0x03: L1D_CACHE_REFILL
# 0x04: L1D_CACHE
+ # 0x05: L1D_TLB_REFILL
self.addEvent(ProbeEvent(self,0x05, dtb, "Refills"))
+ # 0x06: LD_RETIRED
self.addEvent(ProbeEvent(self,0x06, cpu, "RetiredLoads"))
+ # 0x07: ST_RETIRED
self.addEvent(ProbeEvent(self,0x07, cpu, "RetiredStores"))
+ # 0x08: INST_RETIRED
self.addEvent(ProbeEvent(self,0x08, cpu, "RetiredInsts"))
# 0x09: EXC_TAKEN
# 0x0A: EXC_RETURN
@@ -133,10 +139,14 @@
# 0x0D: BR_IMMED_RETIRED
# 0x0E: BR_RETURN_RETIRED
# 0x0F: UNALIGEND_LDST_RETIRED
+ # 0x10: BR_MIS_PRED
self.addEvent(ProbeEvent(self,0x10, bpred, "Misses"))
+ # 0x11: CPU_CYCLES
self.addEvent(ProbeEvent(self, ARCH_EVENT_CORE_CYCLES, cpu,
"ActiveCycles"))
+ # 0x12: BR_PRED
self.addEvent(ProbeEvent(self,0x12, bpred, "Branches"))
+ # 0x13: MEM_ACCESS
self.addEvent(ProbeEvent(self,0x13, cpu, "RetiredLoads",
"RetiredStores"))
# 0x14: L1I_CACHE
@@ -152,6 +162,7 @@
# 0x1E: CHAIN
# 0x1F: L1D_CACHE_ALLOCATE
# 0x20: L2D_CACHE_ALLOCATE
+ # 0x21: BR_RETIRED
self.addEvent(ProbeEvent(self,0x21, cpu, "RetiredBranches"))
# 0x22: BR_MIS_PRED_RETIRED
# 0x23: STALL_FRONTEND
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/37976
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I1d44ffa540b0cf175f279c6509839ad2dd69017a
Gerrit-Change-Number: 37976
Gerrit-PatchSet: 1
Gerrit-Owner: Ciro Santilli <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s