#
# MIPS 5K
#
# As standard the CPU supports 2 performance counters.  Event 0, 2, 3 and 4
# are available on both counters; the INSNS_EXECED is available on counter 0
# as event 0 and on counter 1 as event 1; the remaining are counter-specific.
#
event:0 counters:0,1 um:zero minimum:500 name:CYCLES : Cycles
event:2 counters:0,1 um:zero minimum:500 name:LOADS_EXECED : Load/pref(x)/sync/cache-ops executed
event:3 counters:0,1 um:zero minimum:500 name:STORES_EXECED : Stores (including conditional stores) executed
event:4 counters:0,1 um:zero minimum:500 name:COND_STORES_EXECED : Conditional stores executed

#
# Events specific to counter 0
#
event:1 counters:0 um:zero minimum:500 name:INSN_FETCHED : Instructions fetched
event:5 counters:0 um:zero minimum:500 name:FAILED_COND_STORES : Failed conditional stores
event:6 counters:0 um:zero minimum:500 name:BRANCHES_EXECED : Branches executed
event:7 counters:0 um:zero minimum:500 name:ITLB_MISSES : ITLB miss
event:8 counters:0 um:zero minimum:500 name:DTLB_MISSES : DTLB miss
event:9 counters:0 um:zero minimum:500 name:ICACHE_MISS : Instruction cache miss
event:10 counters:0 um:zero minimum:500 name:INSN_SCHEDULED : Instruction scheduled
event:14 counters:0 um:zero minimum:500 name:DUAL_ISSUED_INSNS : Dual issued instructions executed
event:15 counters:0 um:zero minimum:500 name:INSNS_EXECED : Instructions executed

#
# Events specific to counter 1
#
event:1 counters:1 um:zero minimum:500 name:INSNS_EXECED : Instructions executed
event:5 counters:1 um:zero minimum:500 name:FP_INSNS_EXECED : Floating-point instructions executed
event:6 counters:1 um:zero minimum:500 name:DCACHE_LINE_EVICTED : Data cache line evicted
event:7 counters:1 um:zero minimum:500 name:TLB_MISS_EXCEPTIONS : TLB miss exceptions
event:8 counters:1 um:zero minimum:500 name:BRANCHES_MISSPREDICTED : Branch mispredicted
event:9 counters:1 um:zero minimum:500 name:DCACHE_MISS : Data cache miss
event:10 counters:1 um:zero minimum:500 name:CONFLICT_STALL_M_STAGE : Instruction stall in M stage due to scheduling conflicts
event:15 counters:1 um:zero minimum:500 name:COP2_INSNS_EXECED : COP2 instructions executed
