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
# 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
# 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