Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
@@ -0,0 +1,68 @@
[
{
"ArchStdEvent": "FW_MISALIGNED_LOAD"
},
{
"ArchStdEvent": "FW_MISALIGNED_STORE"
},
{
"ArchStdEvent": "FW_ACCESS_LOAD"
},
{
"ArchStdEvent": "FW_ACCESS_STORE"
},
{
"ArchStdEvent": "FW_ILLEGAL_INSN"
},
{
"ArchStdEvent": "FW_SET_TIMER"
},
{
"ArchStdEvent": "FW_IPI_SENT"
},
{
"ArchStdEvent": "FW_IPI_RECEIVED"
},
{
"ArchStdEvent": "FW_FENCE_I_SENT"
},
{
"ArchStdEvent": "FW_FENCE_I_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_RECEIVED"
}
]
@@ -0,0 +1,127 @@
[
{
"EventCode": "0x10",
"EventName": "cycle_count",
"BriefDescription": "Cycle count"
},
{
"EventCode": "0x20",
"EventName": "inst_count",
"BriefDescription": "Retired instruction count"
},
{
"EventCode": "0x30",
"EventName": "int_load_inst",
"BriefDescription": "Integer load instruction count"
},
{
"EventCode": "0x40",
"EventName": "int_store_inst",
"BriefDescription": "Integer store instruction count"
},
{
"EventCode": "0x50",
"EventName": "atomic_inst",
"BriefDescription": "Atomic instruction count"
},
{
"EventCode": "0x60",
"EventName": "sys_inst",
"BriefDescription": "System instruction count"
},
{
"EventCode": "0x70",
"EventName": "int_compute_inst",
"BriefDescription": "Integer computational instruction count"
},
{
"EventCode": "0x80",
"EventName": "condition_br",
"BriefDescription": "Conditional branch instruction count"
},
{
"EventCode": "0x90",
"EventName": "taken_condition_br",
"BriefDescription": "Taken conditional branch instruction count"
},
{
"EventCode": "0xA0",
"EventName": "jal_inst",
"BriefDescription": "JAL instruction count"
},
{
"EventCode": "0xB0",
"EventName": "jalr_inst",
"BriefDescription": "JALR instruction count"
},
{
"EventCode": "0xC0",
"EventName": "ret_inst",
"BriefDescription": "Return instruction count"
},
{
"EventCode": "0xD0",
"EventName": "control_trans_inst",
"BriefDescription": "Control transfer instruction count"
},
{
"EventCode": "0xE0",
"EventName": "ex9_inst",
"BriefDescription": "EXEC.IT instruction count"
},
{
"EventCode": "0xF0",
"EventName": "int_mul_inst",
"BriefDescription": "Integer multiplication instruction count"
},
{
"EventCode": "0x100",
"EventName": "int_div_rem_inst",
"BriefDescription": "Integer division/remainder instruction count"
},
{
"EventCode": "0x110",
"EventName": "float_load_inst",
"BriefDescription": "Floating-point load instruction count"
},
{
"EventCode": "0x120",
"EventName": "float_store_inst",
"BriefDescription": "Floating-point store instruction count"
},
{
"EventCode": "0x130",
"EventName": "float_add_sub_inst",
"BriefDescription": "Floating-point addition/subtraction instruction count"
},
{
"EventCode": "0x140",
"EventName": "float_mul_inst",
"BriefDescription": "Floating-point multiplication instruction count"
},
{
"EventCode": "0x150",
"EventName": "float_fused_muladd_inst",
"BriefDescription": "Floating-point fused multiply-add instruction count"
},
{
"EventCode": "0x160",
"EventName": "float_div_sqrt_inst",
"BriefDescription": "Floating-point division or square-root instruction count"
},
{
"EventCode": "0x170",
"EventName": "other_float_inst",
"BriefDescription": "Other floating-point instruction count"
},
{
"EventCode": "0x180",
"EventName": "int_mul_add_sub_inst",
"BriefDescription": "Integer multiplication and add/sub instruction count"
},
{
"EventCode": "0x190",
"EventName": "retired_ops",
"BriefDescription": "Retired operation count"
}
]
@@ -0,0 +1,57 @@
[
{
"EventCode": "0x01",
"EventName": "ilm_access",
"BriefDescription": "ILM access"
},
{
"EventCode": "0x11",
"EventName": "dlm_access",
"BriefDescription": "DLM access"
},
{
"EventCode": "0x21",
"EventName": "icache_access",
"BriefDescription": "ICACHE access"
},
{
"EventCode": "0x31",
"EventName": "icache_miss",
"BriefDescription": "ICACHE miss"
},
{
"EventCode": "0x41",
"EventName": "dcache_access",
"BriefDescription": "DCACHE access"
},
{
"EventCode": "0x51",
"EventName": "dcache_miss",
"BriefDescription": "DCACHE miss"
},
{
"EventCode": "0x61",
"EventName": "dcache_load_access",
"BriefDescription": "DCACHE load access"
},
{
"EventCode": "0x71",
"EventName": "dcache_load_miss",
"BriefDescription": "DCACHE load miss"
},
{
"EventCode": "0x81",
"EventName": "dcache_store_access",
"BriefDescription": "DCACHE store access"
},
{
"EventCode": "0x91",
"EventName": "dcache_store_miss",
"BriefDescription": "DCACHE store miss"
},
{
"EventCode": "0xA1",
"EventName": "dcache_wb",
"BriefDescription": "DCACHE writeback"
}
]
@@ -0,0 +1,77 @@
[
{
"EventCode": "0xB1",
"EventName": "cycle_wait_icache_fill",
"BriefDescription": "Cycles waiting for ICACHE fill data"
},
{
"EventCode": "0xC1",
"EventName": "cycle_wait_dcache_fill",
"BriefDescription": "Cycles waiting for DCACHE fill data"
},
{
"EventCode": "0xD1",
"EventName": "uncached_ifetch_from_bus",
"BriefDescription": "Uncached ifetch data access from bus"
},
{
"EventCode": "0xE1",
"EventName": "uncached_load_from_bus",
"BriefDescription": "Uncached load data access from bus"
},
{
"EventCode": "0xF1",
"EventName": "cycle_wait_uncached_ifetch",
"BriefDescription": "Cycles waiting for uncached ifetch data from bus"
},
{
"EventCode": "0x101",
"EventName": "cycle_wait_uncached_load",
"BriefDescription": "Cycles waiting for uncached load data from bus"
},
{
"EventCode": "0x111",
"EventName": "main_itlb_access",
"BriefDescription": "Main ITLB access"
},
{
"EventCode": "0x121",
"EventName": "main_itlb_miss",
"BriefDescription": "Main ITLB miss"
},
{
"EventCode": "0x131",
"EventName": "main_dtlb_access",
"BriefDescription": "Main DTLB access"
},
{
"EventCode": "0x141",
"EventName": "main_dtlb_miss",
"BriefDescription": "Main DTLB miss"
},
{
"EventCode": "0x151",
"EventName": "cycle_wait_itlb_fill",
"BriefDescription": "Cycles waiting for Main ITLB fill data"
},
{
"EventCode": "0x161",
"EventName": "pipe_stall_cycle_dtlb_miss",
"BriefDescription": "Pipeline stall cycles caused by Main DTLB miss"
},
{
"EventCode": "0x02",
"EventName": "mispredict_condition_br",
"BriefDescription": "Misprediction of conditional branches"
},
{
"EventCode": "0x12",
"EventName": "mispredict_take_condition_br",
"BriefDescription": "Misprediction of taken conditional branches"
},
{
"EventCode": "0x22",
"EventName": "mispredict_target_ret_inst",
"BriefDescription": "Misprediction of targets of Return instructions"
}
]
@@ -0,0 +1,26 @@
# Format:
# MVENDORID-MARCHID-MIMPID,Version,JSON/file/pathname,Type
#
# where
# MVENDORID JEDEC code of the core provider
# MARCHID base microarchitecture of the hart
# MIMPID unique encoding of the version
# of the processor implementation
# Version could be used to track version of JSON file
# but currently unused.
# JSON/file/pathname is the path to JSON file, relative
# to tools/perf/pmu-events/arch/riscv/.
# Type is core, uncore etc
#
#
#MVENDORID-MARCHID-MIMPID,Version,Filename,EventType
0x489-0x8000000000000007-0x[[:xdigit:]]+,v1,sifive/bullet,core
0x489-0x8000000000000[1-9a-e]07-0x[78ac][[:xdigit:]]+,v1,sifive/bullet-07,core
0x489-0x8000000000000[1-9a-e]07-0xd[[:xdigit:]]+,v1,sifive/bullet-0d,core
0x489-0x8000000000000008-0x[[:xdigit:]]+,v1,sifive/p550,core
0x489-0x8000000000000[1-6]08-0x[9b][[:xdigit:]]+,v1,sifive/p650,core
0x5b7-0x0-0x0,v1,thead/c900-legacy,core
0x5b7-0x80000000090c0d00-0x2047000,v1,thead/c900-legacy,core
0x602-0x3-0x0,v1,openhwgroup/cva6,core
0x67e-0x80000000db0000[89]0-0x[[:xdigit:]]+,v1,starfive/dubhe-80,core
0x31e-0x8000000000008a45-0x[[:xdigit:]]+,v1,andes/ax45,core
1 # Format:
2 # MVENDORID-MARCHID-MIMPID,Version,JSON/file/pathname,Type
3 #
4 # where
5 # MVENDORID JEDEC code of the core provider
6 # MARCHID base microarchitecture of the hart
7 # MIMPID unique encoding of the version
8 # of the processor implementation
9 # Version could be used to track version of JSON file
10 # but currently unused.
11 # JSON/file/pathname is the path to JSON file, relative
12 # to tools/perf/pmu-events/arch/riscv/.
13 # Type is core, uncore etc
14 #
15 #
16 #MVENDORID-MARCHID-MIMPID,Version,Filename,EventType
17 0x489-0x8000000000000007-0x[[:xdigit:]]+,v1,sifive/bullet,core
18 0x489-0x8000000000000[1-9a-e]07-0x[78ac][[:xdigit:]]+,v1,sifive/bullet-07,core
19 0x489-0x8000000000000[1-9a-e]07-0xd[[:xdigit:]]+,v1,sifive/bullet-0d,core
20 0x489-0x8000000000000008-0x[[:xdigit:]]+,v1,sifive/p550,core
21 0x489-0x8000000000000[1-6]08-0x[9b][[:xdigit:]]+,v1,sifive/p650,core
22 0x5b7-0x0-0x0,v1,thead/c900-legacy,core
23 0x5b7-0x80000000090c0d00-0x2047000,v1,thead/c900-legacy,core
24 0x602-0x3-0x0,v1,openhwgroup/cva6,core
25 0x67e-0x80000000db0000[89]0-0x[[:xdigit:]]+,v1,starfive/dubhe-80,core
26 0x31e-0x8000000000008a45-0x[[:xdigit:]]+,v1,andes/ax45,core
@@ -0,0 +1,68 @@
[
{
"ArchStdEvent": "FW_MISALIGNED_LOAD"
},
{
"ArchStdEvent": "FW_MISALIGNED_STORE"
},
{
"ArchStdEvent": "FW_ACCESS_LOAD"
},
{
"ArchStdEvent": "FW_ACCESS_STORE"
},
{
"ArchStdEvent": "FW_ILLEGAL_INSN"
},
{
"ArchStdEvent": "FW_SET_TIMER"
},
{
"ArchStdEvent": "FW_IPI_SENT"
},
{
"ArchStdEvent": "FW_IPI_RECEIVED"
},
{
"ArchStdEvent": "FW_FENCE_I_SENT"
},
{
"ArchStdEvent": "FW_FENCE_I_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_RECEIVED"
}
]
@@ -0,0 +1,47 @@
[
{
"EventName": "LOAD_INSTRUCTIONS_RETIRED",
"EventCode": "0x5",
"BriefDescription": "number of data memory load instructions retired"
},
{
"EventName": "STORE_INSTRUCTIONS_RETIRED",
"EventCode": "0x6",
"BriefDescription": "number of data memory store instructions retired"
},
{
"EventName": "EXCEPTIONS",
"EventCode": "0x7",
"BriefDescription": "valid exceptions encountered"
},
{
"EventName": "EXCEPTION_HANDLER_RETURNS",
"EventCode": "0x8",
"BriefDescription": "return from an exception"
},
{
"EventName": "BRANCH_INSTRUCTIONS_RETIRED",
"EventCode": "0x9",
"BriefDescription": "number of branch instructions encountered retired"
},
{
"EventName": "CALL_INSTRUCTIONS_RETIRED",
"EventCode": "0xC",
"BriefDescription": "number of call instructions retired"
},
{
"EventName": "RETURN_INSTRUCTIONS_RETIRED",
"EventCode": "0xD",
"BriefDescription": "number of return instructions retired"
},
{
"EventName": "INTEGER_INSTRUCTIONS_RETIRED",
"EventCode": "0x14",
"BriefDescription": "number of integer instructions retired"
},
{
"EventName": "FLOATING_POINT_INSTRUCTIONS_RETIRED",
"EventCode": "0x15",
"BriefDescription": "number of floating point instructions retired"
}
]
@@ -0,0 +1,42 @@
[
{
"EventName": "L1_I_CACHE_MISSES",
"EventCode": "0x1",
"BriefDescription": "number of misses in L1 I-Cache"
},
{
"EventName": "L1_D_CACHE_MISSES",
"EventCode": "0x2",
"BriefDescription": "number of misses in L1 D-Cache"
},
{
"EventName": "ITLB_MISSES",
"EventCode": "0x3",
"BriefDescription": "number of misses in ITLB"
},
{
"EventName": "DTLB_MISSES",
"EventCode": "0x4",
"BriefDescription": "number of misses in DTLB"
},
{
"EventName": "L1_I_CACHE_ACCESSES",
"EventCode": "0x10",
"BriefDescription": "number of accesses to instruction cache"
},
{
"EventName": "L1_D_CACHE_ACCESSES",
"EventCode": "0x11",
"BriefDescription": "number of accesses to data cache"
},
{
"EventName": "L1_CACHE_LINE_EVICTION",
"EventCode": "0x12",
"BriefDescription": "number of data cache line eviction"
},
{
"EventName": "ITLB_FLUSH",
"EventCode": "0x13",
"BriefDescription": "number of ITLB flushes"
}
]
@@ -0,0 +1,27 @@
[
{
"EventName": "BRANCH_MISPREDICTS",
"EventCode": "0xA",
"BriefDescription": "number of branch mispredictions"
},
{
"EventName": "BRANCH_EXCEPTIONS",
"EventCode": "0xB",
"BriefDescription": "number of valid branch exceptions"
},
{
"EventName": "MSB_FULL",
"EventCode": "0xE",
"BriefDescription": "scoreboard is full"
},
{
"EventName": "INSTRUCTION_FETCH_EMPTY",
"EventCode": "0xF",
"BriefDescription": "number of invalid instructions in IF stage"
},
{
"EventName": "PIPELINE_STALL",
"EventCode": "0x16",
"BriefDescription": "number of cycles the pipeline is stalled during read operands"
}
]
@@ -0,0 +1,134 @@
[
{
"PublicDescription": "Misaligned load trap",
"ConfigCode": "0x8000000000000000",
"EventName": "FW_MISALIGNED_LOAD",
"BriefDescription": "Misaligned load trap event"
},
{
"PublicDescription": "Misaligned store trap",
"ConfigCode": "0x8000000000000001",
"EventName": "FW_MISALIGNED_STORE",
"BriefDescription": "Misaligned store trap event"
},
{
"PublicDescription": "Load access trap",
"ConfigCode": "0x8000000000000002",
"EventName": "FW_ACCESS_LOAD",
"BriefDescription": "Load access trap event"
},
{
"PublicDescription": "Store access trap",
"ConfigCode": "0x8000000000000003",
"EventName": "FW_ACCESS_STORE",
"BriefDescription": "Store access trap event"
},
{
"PublicDescription": "Illegal instruction trap",
"ConfigCode": "0x8000000000000004",
"EventName": "FW_ILLEGAL_INSN",
"BriefDescription": "Illegal instruction trap event"
},
{
"PublicDescription": "Set timer event",
"ConfigCode": "0x8000000000000005",
"EventName": "FW_SET_TIMER",
"BriefDescription": "Set timer event"
},
{
"PublicDescription": "Sent IPI to other HART event",
"ConfigCode": "0x8000000000000006",
"EventName": "FW_IPI_SENT",
"BriefDescription": "Sent IPI to other HART event"
},
{
"PublicDescription": "Received IPI from other HART event",
"ConfigCode": "0x8000000000000007",
"EventName": "FW_IPI_RECEIVED",
"BriefDescription": "Received IPI from other HART event"
},
{
"PublicDescription": "Sent FENCE.I request to other HART event",
"ConfigCode": "0x8000000000000008",
"EventName": "FW_FENCE_I_SENT",
"BriefDescription": "Sent FENCE.I request to other HART event"
},
{
"PublicDescription": "Received FENCE.I request from other HART event",
"ConfigCode": "0x8000000000000009",
"EventName": "FW_FENCE_I_RECEIVED",
"BriefDescription": "Received FENCE.I request from other HART event"
},
{
"PublicDescription": "Sent SFENCE.VMA request to other HART event",
"ConfigCode": "0x800000000000000a",
"EventName": "FW_SFENCE_VMA_SENT",
"BriefDescription": "Sent SFENCE.VMA request to other HART event"
},
{
"PublicDescription": "Received SFENCE.VMA request from other HART event",
"ConfigCode": "0x800000000000000b",
"EventName": "FW_SFENCE_VMA_RECEIVED",
"BriefDescription": "Received SFENCE.VMA request from other HART event"
},
{
"PublicDescription": "Sent SFENCE.VMA with ASID request to other HART event",
"ConfigCode": "0x800000000000000c",
"EventName": "FW_SFENCE_VMA_ASID_SENT",
"BriefDescription": "Sent SFENCE.VMA with ASID request to other HART event"
},
{
"PublicDescription": "Received SFENCE.VMA with ASID request from other HART event",
"ConfigCode": "0x800000000000000d",
"EventName": "FW_SFENCE_VMA_ASID_RECEIVED",
"BriefDescription": "Received SFENCE.VMA with ASID request from other HART event"
},
{
"PublicDescription": "Sent HFENCE.GVMA request to other HART event",
"ConfigCode": "0x800000000000000e",
"EventName": "FW_HFENCE_GVMA_SENT",
"BriefDescription": "Sent HFENCE.GVMA request to other HART event"
},
{
"PublicDescription": "Received HFENCE.GVMA request from other HART event",
"ConfigCode": "0x800000000000000f",
"EventName": "FW_HFENCE_GVMA_RECEIVED",
"BriefDescription": "Received HFENCE.GVMA request from other HART event"
},
{
"PublicDescription": "Sent HFENCE.GVMA with VMID request to other HART event",
"ConfigCode": "0x8000000000000010",
"EventName": "FW_HFENCE_GVMA_VMID_SENT",
"BriefDescription": "Sent HFENCE.GVMA with VMID request to other HART event"
},
{
"PublicDescription": "Received HFENCE.GVMA with VMID request from other HART event",
"ConfigCode": "0x8000000000000011",
"EventName": "FW_HFENCE_GVMA_VMID_RECEIVED",
"BriefDescription": "Received HFENCE.GVMA with VMID request from other HART event"
},
{
"PublicDescription": "Sent HFENCE.VVMA request to other HART event",
"ConfigCode": "0x8000000000000012",
"EventName": "FW_HFENCE_VVMA_SENT",
"BriefDescription": "Sent HFENCE.VVMA request to other HART event"
},
{
"PublicDescription": "Received HFENCE.VVMA request from other HART event",
"ConfigCode": "0x8000000000000013",
"EventName": "FW_HFENCE_VVMA_RECEIVED",
"BriefDescription": "Received HFENCE.VVMA request from other HART event"
},
{
"PublicDescription": "Sent HFENCE.VVMA with ASID request to other HART event",
"ConfigCode": "0x8000000000000014",
"EventName": "FW_HFENCE_VVMA_ASID_SENT",
"BriefDescription": "Sent HFENCE.VVMA with ASID request to other HART event"
},
{
"PublicDescription": "Received HFENCE.VVMA with ASID request from other HART event",
"ConfigCode": "0x8000000000000015",
"EventName": "FW_HFENCE_VVMA_ASID_RECEIVED",
"BriefDescription": "Received HFENCE.VVMA with ASID request from other HART event"
}
]
@@ -0,0 +1,12 @@
[
{
"EventName": "CORE_CLOCK_CYCLES",
"EventCode": "0x165",
"BriefDescription": "Counts core clock cycles"
},
{
"EventName": "INSTRUCTIONS_RETIRED",
"EventCode": "0x265",
"BriefDescription": "Counts instructions retired"
}
]
@@ -0,0 +1 @@
../bullet/firmware.json
@@ -0,0 +1 @@
../bullet/instruction.json
@@ -0,0 +1 @@
../bullet/memory.json
@@ -0,0 +1,62 @@
[
{
"EventName": "ADDRESSGEN_INTERLOCK",
"EventCode": "0x101",
"BriefDescription": "Counts cycles with an address-generation interlock"
},
{
"EventName": "LONGLATENCY_INTERLOCK",
"EventCode": "0x201",
"BriefDescription": "Counts cycles with a long-latency interlock"
},
{
"EventName": "CSR_INTERLOCK",
"EventCode": "0x401",
"BriefDescription": "Counts cycles with a CSR interlock"
},
{
"EventName": "ICACHE_BLOCKED",
"EventCode": "0x801",
"BriefDescription": "Counts cycles in which the instruction cache was not able to provide an instruction"
},
{
"EventName": "DCACHE_BLOCKED",
"EventCode": "0x1001",
"BriefDescription": "Counts cycles in which the data cache blocked an instruction"
},
{
"EventName": "BRANCH_DIRECTION_MISPREDICTION",
"EventCode": "0x2001",
"BriefDescription": "Counts mispredictions of conditional branch direction (taken/not taken)"
},
{
"EventName": "BRANCH_TARGET_MISPREDICTION",
"EventCode": "0x4001",
"BriefDescription": "Counts mispredictions of the target PC of control-flow instructions"
},
{
"EventName": "PIPELINE_FLUSH",
"EventCode": "0x8001",
"BriefDescription": "Counts flushes of the core pipeline. Common causes include fence.i and CSR accesses"
},
{
"EventName": "REPLAY",
"EventCode": "0x10001",
"BriefDescription": "Counts instruction replays"
},
{
"EventName": "INTEGER_MUL_DIV_INTERLOCK",
"EventCode": "0x20001",
"BriefDescription": "Counts cycles with a multiply or divide interlock"
},
{
"EventName": "FP_INTERLOCK",
"EventCode": "0x40001",
"BriefDescription": "Counts cycles with a floating-point interlock"
},
{
"EventName": "TRACE_STALL",
"EventCode": "0x80001",
"BriefDescription": "Counts cycles in which the core pipeline is stalled due to backpressure from the Trace Encoder"
}
]
@@ -0,0 +1,42 @@
[
{
"EventName": "WATCHPOINT_0",
"EventCode": "0x164",
"BriefDescription": "Counts occurrences of watchpoint 0 with action=8"
},
{
"EventName": "WATCHPOINT_1",
"EventCode": "0x264",
"BriefDescription": "Counts occurrences of watchpoint 1 with action=8"
},
{
"EventName": "WATCHPOINT_2",
"EventCode": "0x464",
"BriefDescription": "Counts occurrences of watchpoint 2 with action=8"
},
{
"EventName": "WATCHPOINT_3",
"EventCode": "0x864",
"BriefDescription": "Counts occurrences of watchpoint 3 with action=8"
},
{
"EventName": "WATCHPOINT_4",
"EventCode": "0x1064",
"BriefDescription": "Counts occurrences of watchpoint 4 with action=8"
},
{
"EventName": "WATCHPOINT_5",
"EventCode": "0x2064",
"BriefDescription": "Counts occurrences of watchpoint 5 with action=8"
},
{
"EventName": "WATCHPOINT_6",
"EventCode": "0x4064",
"BriefDescription": "Counts occurrences of watchpoint 6 with action=8"
},
{
"EventName": "WATCHPOINT_7",
"EventCode": "0x8064",
"BriefDescription": "Counts occurrences of watchpoint 7 with action=8"
}
]
@@ -0,0 +1 @@
../bullet-07/cycle-and-instruction-count.json
@@ -0,0 +1 @@
../bullet/firmware.json
@@ -0,0 +1 @@
../bullet/instruction.json
@@ -0,0 +1 @@
../bullet/memory.json
@@ -0,0 +1,72 @@
[
{
"EventName": "ADDRESSGEN_INTERLOCK",
"EventCode": "0x101",
"BriefDescription": "Counts cycles with an address-generation interlock"
},
{
"EventName": "LONGLATENCY_INTERLOCK",
"EventCode": "0x201",
"BriefDescription": "Counts cycles with a long-latency interlock"
},
{
"EventName": "CSR_INTERLOCK",
"EventCode": "0x401",
"BriefDescription": "Counts cycles with a CSR interlock"
},
{
"EventName": "ICACHE_BLOCKED",
"EventCode": "0x801",
"BriefDescription": "Counts cycles in which the instruction cache was not able to provide an instruction"
},
{
"EventName": "DCACHE_BLOCKED",
"EventCode": "0x1001",
"BriefDescription": "Counts cycles in which the data cache blocked an instruction"
},
{
"EventName": "BRANCH_DIRECTION_MISPREDICTION",
"EventCode": "0x2001",
"BriefDescription": "Counts mispredictions of conditional branch direction (taken/not taken)"
},
{
"EventName": "BRANCH_TARGET_MISPREDICTION",
"EventCode": "0x4001",
"BriefDescription": "Counts mispredictions of the target PC of control-flow instructions"
},
{
"EventName": "PIPELINE_FLUSH",
"EventCode": "0x8001",
"BriefDescription": "Counts flushes of the core pipeline. Common causes include fence.i and CSR accesses"
},
{
"EventName": "REPLAY",
"EventCode": "0x10001",
"BriefDescription": "Counts instruction replays"
},
{
"EventName": "INTEGER_MUL_DIV_INTERLOCK",
"EventCode": "0x20001",
"BriefDescription": "Counts cycles with a multiply or divide interlock"
},
{
"EventName": "FP_INTERLOCK",
"EventCode": "0x40001",
"BriefDescription": "Counts cycles with a floating-point interlock"
},
{
"EventName": "TRACE_STALL",
"EventCode": "0x80001",
"BriefDescription": "Counts cycles in which the core pipeline is stalled due to backpressure from the Trace Encoder"
},
{
"EventName": "ITLB_MISS_STALL",
"EventCode": "0x100001",
"BriefDescription": "Counts cycles in which the core pipeline is stalled due to ITLB Miss"
},
{
"EventName": "DTLB_MISS_STALL",
"EventCode": "0x200001",
"BriefDescription": "Counts cycles in which the core pipeline is stalled due to DTLB Miss"
}
]
@@ -0,0 +1 @@
../bullet-07/watchpoint.json
@@ -0,0 +1,68 @@
[
{
"ArchStdEvent": "FW_MISALIGNED_LOAD"
},
{
"ArchStdEvent": "FW_MISALIGNED_STORE"
},
{
"ArchStdEvent": "FW_ACCESS_LOAD"
},
{
"ArchStdEvent": "FW_ACCESS_STORE"
},
{
"ArchStdEvent": "FW_ILLEGAL_INSN"
},
{
"ArchStdEvent": "FW_SET_TIMER"
},
{
"ArchStdEvent": "FW_IPI_SENT"
},
{
"ArchStdEvent": "FW_IPI_RECEIVED"
},
{
"ArchStdEvent": "FW_FENCE_I_SENT"
},
{
"ArchStdEvent": "FW_FENCE_I_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_RECEIVED"
}
]
@@ -0,0 +1,92 @@
[
{
"EventName": "EXCEPTION_TAKEN",
"EventCode": "0x100",
"BriefDescription": "Counts exceptions taken"
},
{
"EventName": "INTEGER_LOAD_RETIRED",
"EventCode": "0x200",
"BriefDescription": "Counts integer load instructions retired"
},
{
"EventName": "INTEGER_STORE_RETIRED",
"EventCode": "0x400",
"BriefDescription": "Counts integer store instructions retired"
},
{
"EventName": "ATOMIC_MEMORY_RETIRED",
"EventCode": "0x800",
"BriefDescription": "Counts atomic memory instructions retired"
},
{
"EventName": "SYSTEM_INSTRUCTION_RETIRED",
"EventCode": "0x1000",
"BriefDescription": "Counts system instructions retired (CSR, WFI, MRET, etc.)"
},
{
"EventName": "INTEGER_ARITHMETIC_RETIRED",
"EventCode": "0x2000",
"BriefDescription": "Counts integer arithmetic instructions retired"
},
{
"EventName": "CONDITIONAL_BRANCH_RETIRED",
"EventCode": "0x4000",
"BriefDescription": "Counts conditional branch instructions retired"
},
{
"EventName": "JAL_INSTRUCTION_RETIRED",
"EventCode": "0x8000",
"BriefDescription": "Counts jump-and-link instructions retired"
},
{
"EventName": "JALR_INSTRUCTION_RETIRED",
"EventCode": "0x10000",
"BriefDescription": "Counts indirect jump instructions (JALR) retired"
},
{
"EventName": "INTEGER_MULTIPLICATION_RETIRED",
"EventCode": "0x20000",
"BriefDescription": "Counts integer multiplication instructions retired"
},
{
"EventName": "INTEGER_DIVISION_RETIRED",
"EventCode": "0x40000",
"BriefDescription": "Counts integer division instructions retired"
},
{
"EventName": "FP_LOAD_RETIRED",
"EventCode": "0x80000",
"BriefDescription": "Counts floating-point load instructions retired"
},
{
"EventName": "FP_STORE_RETIRED",
"EventCode": "0x100000",
"BriefDescription": "Counts floating-point store instructions retired"
},
{
"EventName": "FP_ADD_RETIRED",
"EventCode": "0x200000",
"BriefDescription": "Counts floating-point add instructions retired"
},
{
"EventName": "FP_MUL_RETIRED",
"EventCode": "0x400000",
"BriefDescription": "Counts floating-point multiply instructions retired"
},
{
"EventName": "FP_MULADD_RETIRED",
"EventCode": "0x800000",
"BriefDescription": "Counts floating-point fused multiply-add instructions retired"
},
{
"EventName": "FP_DIV_SQRT_RETIRED",
"EventCode": "0x1000000",
"BriefDescription": "Counts floating point divide or square root instructions retired"
},
{
"EventName": "OTHER_FP_RETIRED",
"EventCode": "0x2000000",
"BriefDescription": "Counts other floating-point instructions retired"
}
]
@@ -0,0 +1,32 @@
[
{
"EventName": "ICACHE_MISS",
"EventCode": "0x102",
"BriefDescription": "Counts instruction cache misses"
},
{
"EventName": "DCACHE_MISS",
"EventCode": "0x202",
"BriefDescription": "Counts data cache misses"
},
{
"EventName": "DCACHE_RELEASE",
"EventCode": "0x402",
"BriefDescription": "Counts writeback requests from the data cache"
},
{
"EventName": "ITLB_MISS",
"EventCode": "0x802",
"BriefDescription": "Counts Instruction TLB misses caused by instruction address translation requests"
},
{
"EventName": "DTLB_MISS",
"EventCode": "0x1002",
"BriefDescription": "Counts Data TLB misses caused by data address translation requests"
},
{
"EventName": "UTLB_MISS",
"EventCode": "0x2002",
"BriefDescription": "Counts Unified TLB misses caused by address translation requests"
}
]
@@ -0,0 +1,57 @@
[
{
"EventName": "ADDRESSGEN_INTERLOCK",
"EventCode": "0x101",
"BriefDescription": "Counts cycles with an address-generation interlock"
},
{
"EventName": "LONGLATENCY_INTERLOCK",
"EventCode": "0x201",
"BriefDescription": "Counts cycles with a long-latency interlock"
},
{
"EventName": "CSR_INTERLOCK",
"EventCode": "0x401",
"BriefDescription": "Counts cycles with a CSR interlock"
},
{
"EventName": "ICACHE_BLOCKED",
"EventCode": "0x801",
"BriefDescription": "Counts cycles in which the instruction cache was not able to provide an instruction"
},
{
"EventName": "DCACHE_BLOCKED",
"EventCode": "0x1001",
"BriefDescription": "Counts cycles in which the data cache blocked an instruction"
},
{
"EventName": "BRANCH_DIRECTION_MISPREDICTION",
"EventCode": "0x2001",
"BriefDescription": "Counts mispredictions of conditional branch direction (taken/not taken)"
},
{
"EventName": "BRANCH_TARGET_MISPREDICTION",
"EventCode": "0x4001",
"BriefDescription": "Counts mispredictions of the target PC of control-flow instructions"
},
{
"EventName": "PIPELINE_FLUSH",
"EventCode": "0x8001",
"BriefDescription": "Counts flushes of the core pipeline. Common causes include fence.i and CSR accesses"
},
{
"EventName": "REPLAY",
"EventCode": "0x10001",
"BriefDescription": "Counts instruction replays"
},
{
"EventName": "INTEGER_MUL_DIV_INTERLOCK",
"EventCode": "0x20001",
"BriefDescription": "Counts cycles with a multiply or divide interlock"
},
{
"EventName": "FP_INTERLOCK",
"EventCode": "0x40001",
"BriefDescription": "Counts cycles with a floating-point interlock"
}
]
@@ -0,0 +1 @@
../bullet/firmware.json
@@ -0,0 +1 @@
../bullet/instruction.json
@@ -0,0 +1,47 @@
[
{
"EventName": "ICACHE_MISS",
"EventCode": "0x102",
"BriefDescription": "Counts instruction cache misses"
},
{
"EventName": "DCACHE_MISS",
"EventCode": "0x202",
"BriefDescription": "Counts data cache misses"
},
{
"EventName": "DCACHE_RELEASE",
"EventCode": "0x402",
"BriefDescription": "Counts writeback requests from the data cache"
},
{
"EventName": "ITLB_MISS",
"EventCode": "0x802",
"BriefDescription": "Counts Instruction TLB misses caused by instruction address translation requests"
},
{
"EventName": "DTLB_MISS",
"EventCode": "0x1002",
"BriefDescription": "Counts Data TLB misses caused by data address translation requests"
},
{
"EventName": "UTLB_MISS",
"EventCode": "0x2002",
"BriefDescription": "Counts Unified TLB misses caused by address translation requests"
},
{
"EventName": "UTLB_HIT",
"EventCode": "0x4002",
"BriefDescription": "Counts Unified TLB hits for address translation requests"
},
{
"EventName": "PTE_CACHE_MISS",
"EventCode": "0x8002",
"BriefDescription": "Counts Page Table Entry cache misses"
},
{
"EventName": "PTE_CACHE_HIT",
"EventCode": "0x10002",
"BriefDescription": "Counts Page Table Entry cache hits"
}
]
@@ -0,0 +1 @@
../bullet/microarch.json
@@ -0,0 +1 @@
../bullet-07/cycle-and-instruction-count.json
@@ -0,0 +1 @@
../bullet/firmware.json
@@ -0,0 +1 @@
../bullet/instruction.json
@@ -0,0 +1,57 @@
[
{
"EventName": "ICACHE_MISS",
"EventCode": "0x102",
"BriefDescription": "Counts instruction cache misses"
},
{
"EventName": "DCACHE_MISS",
"EventCode": "0x202",
"BriefDescription": "Counts data cache misses"
},
{
"EventName": "DCACHE_RELEASE",
"EventCode": "0x402",
"BriefDescription": "Counts writeback requests from the data cache"
},
{
"EventName": "ITLB_MISS",
"EventCode": "0x802",
"BriefDescription": "Counts Instruction TLB misses caused by instruction address translation requests"
},
{
"EventName": "DTLB_MISS",
"EventCode": "0x1002",
"BriefDescription": "Counts Data TLB misses caused by data address translation requests"
},
{
"EventName": "UTLB_MISS",
"EventCode": "0x2002",
"BriefDescription": "Counts Unified TLB misses caused by address translation requests"
},
{
"EventName": "UTLB_HIT",
"EventCode": "0x4002",
"BriefDescription": "Counts Unified TLB hits for address translation requests"
},
{
"EventName": "PTE_CACHE_MISS",
"EventCode": "0x8002",
"BriefDescription": "Counts Page Table Entry cache misses"
},
{
"EventName": "PTE_CACHE_HIT",
"EventCode": "0x10002",
"BriefDescription": "Counts Page Table Entry cache hits"
},
{
"EventName": "ITLB_MULTI_HIT",
"EventCode": "0x20002",
"BriefDescription": "Counts Instruction TLB multi-hits"
},
{
"EventName": "DTLB_MULTI_HIT",
"EventCode": "0x40002",
"BriefDescription": "Counts Data TLB multi-hits"
}
]
@@ -0,0 +1,62 @@
[
{
"EventName": "ADDRESSGEN_INTERLOCK",
"EventCode": "0x101",
"BriefDescription": "Counts cycles with an address-generation interlock"
},
{
"EventName": "LONGLATENCY_INTERLOCK",
"EventCode": "0x201",
"BriefDescription": "Counts cycles with a long-latency interlock"
},
{
"EventName": "CSR_INTERLOCK",
"EventCode": "0x401",
"BriefDescription": "Counts cycles with a CSR interlock"
},
{
"EventName": "ICACHE_BLOCKED",
"EventCode": "0x801",
"BriefDescription": "Counts cycles in which the instruction cache was not able to provide an instruction"
},
{
"EventName": "DCACHE_BLOCKED",
"EventCode": "0x1001",
"BriefDescription": "Counts cycles in which the data cache blocked an instruction"
},
{
"EventName": "BRANCH_DIRECTION_MISPREDICTION",
"EventCode": "0x2001",
"BriefDescription": "Counts mispredictions of conditional branch direction (taken/not taken)"
},
{
"EventName": "BRANCH_TARGET_MISPREDICTION",
"EventCode": "0x4001",
"BriefDescription": "Counts mispredictions of the target PC of control-flow instructions"
},
{
"EventName": "PIPELINE_FLUSH",
"EventCode": "0x8001",
"BriefDescription": "Counts flushes of the core pipeline. Common causes include fence.i and CSR accesses"
},
{
"EventName": "REPLAY",
"EventCode": "0x10001",
"BriefDescription": "Counts instruction replays"
},
{
"EventName": "INTEGER_MUL_DIV_INTERLOCK",
"EventCode": "0x20001",
"BriefDescription": "Counts cycles with a multiply or divide interlock"
},
{
"EventName": "FP_INTERLOCK",
"EventCode": "0x40001",
"BriefDescription": "Counts cycles with a floating-point interlock"
},
{
"EventName": "TRACE_STALL",
"EventCode": "0x80001",
"BriefDescription": "Counts cycles in which the core pipeline is stalled due to backpressure from the Trace Encoder"
}
]
@@ -0,0 +1 @@
../bullet-07/watchpoint.json
@@ -0,0 +1,172 @@
[
{
"EventName": "ACCESS_MMU_STLB",
"EventCode": "0x1",
"BriefDescription": "access MMU STLB"
},
{
"EventName": "MISS_MMU_STLB",
"EventCode": "0x2",
"BriefDescription": "miss MMU STLB"
},
{
"EventName": "ACCESS_MMU_PTE_C",
"EventCode": "0x3",
"BriefDescription": "access MMU PTE-Cache"
},
{
"EventName": "MISS_MMU_PTE_C",
"EventCode": "0x4",
"BriefDescription": "miss MMU PTE-Cache"
},
{
"EventName": "ROB_FLUSH",
"EventCode": "0x5",
"BriefDescription": "ROB flush (all kinds of exceptions)"
},
{
"EventName": "BTB_PREDICTION_MISS",
"EventCode": "0x6",
"BriefDescription": "BTB prediction miss"
},
{
"EventName": "ITLB_MISS",
"EventCode": "0x7",
"BriefDescription": "ITLB miss"
},
{
"EventName": "SYNC_DEL_FETCH_G",
"EventCode": "0x8",
"BriefDescription": "SYNC delivery a fetch-group"
},
{
"EventName": "ICACHE_MISS",
"EventCode": "0x9",
"BriefDescription": "ICache miss"
},
{
"EventName": "BPU_BR_RETIRE",
"EventCode": "0xA",
"BriefDescription": "condition branch instruction retire"
},
{
"EventName": "BPU_BR_MISS",
"EventCode": "0xB",
"BriefDescription": "condition branch instruction miss"
},
{
"EventName": "RET_INS_RETIRE",
"EventCode": "0xC",
"BriefDescription": "return instruction retire"
},
{
"EventName": "RET_INS_MISS",
"EventCode": "0xD",
"BriefDescription": "return instruction miss"
},
{
"EventName": "INDIRECT_JR_MISS",
"EventCode": "0xE",
"BriefDescription": "indirect JR instruction miss (inlcude without target)"
},
{
"EventName": "IBUF_VAL_ID_NORDY",
"EventCode": "0xF",
"BriefDescription": "IBUF valid while ID not ready"
},
{
"EventName": "IBUF_NOVAL_ID_RDY",
"EventCode": "0x10",
"BriefDescription": "IBUF not valid while ID ready"
},
{
"EventName": "REN_INT_PHY_REG_NORDY",
"EventCode": "0x11",
"BriefDescription": "REN integer physical register file is not ready"
},
{
"EventName": "REN_FP_PHY_REG_NORDY",
"EventCode": "0x12",
"BriefDescription": "REN floating point physical register file is not ready"
},
{
"EventName": "REN_CP_NORDY",
"EventCode": "0x13",
"BriefDescription": "REN checkpoint is not ready"
},
{
"EventName": "DEC_VAL_ROB_NORDY",
"EventCode": "0x14",
"BriefDescription": "DEC is valid and ROB is not ready"
},
{
"EventName": "OOD_FLUSH_LS_DEP",
"EventCode": "0x15",
"BriefDescription": "out of order flush due to load/store dependency"
},
{
"EventName": "BRU_RET_IJR_INS",
"EventCode": "0x16",
"BriefDescription": "BRU retire an IJR instruction"
},
{
"EventName": "ACCESS_DTLB",
"EventCode": "0x17",
"BriefDescription": "access DTLB"
},
{
"EventName": "MISS_DTLB",
"EventCode": "0x18",
"BriefDescription": "miss DTLB"
},
{
"EventName": "LOAD_INS_DCACHE",
"EventCode": "0x19",
"BriefDescription": "load instruction access DCache"
},
{
"EventName": "LOAD_INS_MISS_DCACHE",
"EventCode": "0x1A",
"BriefDescription": "load instruction miss DCache"
},
{
"EventName": "STORE_INS_DCACHE",
"EventCode": "0x1B",
"BriefDescription": "store/amo instruction access DCache"
},
{
"EventName": "STORE_INS_MISS_DCACHE",
"EventCode": "0x1C",
"BriefDescription": "store/amo instruction miss DCache"
},
{
"EventName": "LOAD_SCACHE",
"EventCode": "0x1D",
"BriefDescription": "load access SCache"
},
{
"EventName": "STORE_SCACHE",
"EventCode": "0x1E",
"BriefDescription": "store access SCache"
},
{
"EventName": "LOAD_MISS_SCACHE",
"EventCode": "0x1F",
"BriefDescription": "load miss SCache"
},
{
"EventName": "STORE_MISS_SCACHE",
"EventCode": "0x20",
"BriefDescription": "store miss SCache"
},
{
"EventName": "L2C_PF_REQ",
"EventCode": "0x21",
"BriefDescription": "L2C data-prefetcher request"
},
{
"EventName": "L2C_PF_HIT",
"EventCode": "0x22",
"BriefDescription": "L2C data-prefetcher hit"
}
]
@@ -0,0 +1,68 @@
[
{
"ArchStdEvent": "FW_MISALIGNED_LOAD"
},
{
"ArchStdEvent": "FW_MISALIGNED_STORE"
},
{
"ArchStdEvent": "FW_ACCESS_LOAD"
},
{
"ArchStdEvent": "FW_ACCESS_STORE"
},
{
"ArchStdEvent": "FW_ILLEGAL_INSN"
},
{
"ArchStdEvent": "FW_SET_TIMER"
},
{
"ArchStdEvent": "FW_IPI_SENT"
},
{
"ArchStdEvent": "FW_IPI_RECEIVED"
},
{
"ArchStdEvent": "FW_FENCE_I_SENT"
},
{
"ArchStdEvent": "FW_FENCE_I_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_RECEIVED"
}
]
@@ -0,0 +1,67 @@
[
{
"EventName": "L1_ICACHE_ACCESS",
"EventCode": "0x00000001",
"BriefDescription": "L1 instruction cache access"
},
{
"EventName": "L1_ICACHE_MISS",
"EventCode": "0x00000002",
"BriefDescription": "L1 instruction cache miss"
},
{
"EventName": "ITLB_MISS",
"EventCode": "0x00000003",
"BriefDescription": "I-UTLB miss"
},
{
"EventName": "DTLB_MISS",
"EventCode": "0x00000004",
"BriefDescription": "D-UTLB miss"
},
{
"EventName": "JTLB_MISS",
"EventCode": "0x00000005",
"BriefDescription": "JTLB miss"
},
{
"EventName": "L1_DCACHE_READ_ACCESS",
"EventCode": "0x0000000c",
"BriefDescription": "L1 data cache read access"
},
{
"EventName": "L1_DCACHE_READ_MISS",
"EventCode": "0x0000000d",
"BriefDescription": "L1 data cache read miss"
},
{
"EventName": "L1_DCACHE_WRITE_ACCESS",
"EventCode": "0x0000000e",
"BriefDescription": "L1 data cache write access"
},
{
"EventName": "L1_DCACHE_WRITE_MISS",
"EventCode": "0x0000000f",
"BriefDescription": "L1 data cache write miss"
},
{
"EventName": "LL_CACHE_READ_ACCESS",
"EventCode": "0x00000010",
"BriefDescription": "LL Cache read access"
},
{
"EventName": "LL_CACHE_READ_MISS",
"EventCode": "0x00000011",
"BriefDescription": "LL Cache read miss"
},
{
"EventName": "LL_CACHE_WRITE_ACCESS",
"EventCode": "0x00000012",
"BriefDescription": "LL Cache write access"
},
{
"EventName": "LL_CACHE_WRITE_MISS",
"EventCode": "0x00000013",
"BriefDescription": "LL Cache write miss"
}
]
@@ -0,0 +1,68 @@
[
{
"ArchStdEvent": "FW_MISALIGNED_LOAD"
},
{
"ArchStdEvent": "FW_MISALIGNED_STORE"
},
{
"ArchStdEvent": "FW_ACCESS_LOAD"
},
{
"ArchStdEvent": "FW_ACCESS_STORE"
},
{
"ArchStdEvent": "FW_ILLEGAL_INSN"
},
{
"ArchStdEvent": "FW_SET_TIMER"
},
{
"ArchStdEvent": "FW_IPI_SENT"
},
{
"ArchStdEvent": "FW_IPI_RECEIVED"
},
{
"ArchStdEvent": "FW_FENCE_I_SENT"
},
{
"ArchStdEvent": "FW_FENCE_I_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_RECEIVED"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_SFENCE_VMA_ASID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_GVMA_VMID_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_RECEIVED"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_SENT"
},
{
"ArchStdEvent": "FW_HFENCE_VVMA_ASID_RECEIVED"
}
]
@@ -0,0 +1,72 @@
[
{
"EventName": "INST_BRANCH_MISPREDICT",
"EventCode": "0x00000006",
"BriefDescription": "Mispredicted branch instructions"
},
{
"EventName": "INST_BRANCH",
"EventCode": "0x00000007",
"BriefDescription": "Retired branch instructions"
},
{
"EventName": "INST_JMP_MISPREDICT",
"EventCode": "0x00000008",
"BriefDescription": "Indirect branch mispredict"
},
{
"EventName": "INST_JMP",
"EventCode": "0x00000009",
"BriefDescription": "Retired jmp instructions"
},
{
"EventName": "INST_STORE",
"EventCode": "0x0000000b",
"BriefDescription": "Retired store instructions"
},
{
"EventName": "INST_ALU",
"EventCode": "0x0000001d",
"BriefDescription": "Retired ALU instructions"
},
{
"EventName": "INST_LDST",
"EventCode": "0x0000001e",
"BriefDescription": "Retired Load/Store instructions"
},
{
"EventName": "INST_VECTOR",
"EventCode": "0x0000001f",
"BriefDescription": "Retired Vector instructions"
},
{
"EventName": "INST_CSR",
"EventCode": "0x00000020",
"BriefDescription": "Retired CSR instructions"
},
{
"EventName": "INST_SYNC",
"EventCode": "0x00000021",
"BriefDescription": "Retired sync instructions (AMO/LR/SC instructions)"
},
{
"EventName": "INST_UNALIGNED_ACCESS",
"EventCode": "0x00000022",
"BriefDescription": "Retired Store/Load instructions with unaligned memory access"
},
{
"EventName": "INST_ECALL",
"EventCode": "0x00000025",
"BriefDescription": "Retired ecall instructions"
},
{
"EventName": "INST_LONG_JP",
"EventCode": "0x00000026",
"BriefDescription": "Retired long jump instructions"
},
{
"EventName": "INST_FP",
"EventCode": "0x0000002a",
"BriefDescription": "Retired FPU instructions"
}
]
@@ -0,0 +1,80 @@
[
{
"EventName": "LSU_SPEC_FAIL",
"EventCode": "0x0000000a",
"BriefDescription": "LSU speculation fail"
},
{
"EventName": "IDU_RF_PIPE_FAIL",
"EventCode": "0x00000014",
"BriefDescription": "Instruction decode unit launch pipeline failed in RF state"
},
{
"EventName": "IDU_RF_REG_FAIL",
"EventCode": "0x00000015",
"BriefDescription": "Instruction decode unit launch register file fail in RF state"
},
{
"EventName": "IDU_RF_INSTRUCTION",
"EventCode": "0x00000016",
"BriefDescription": "retired instruction count of Instruction decode unit in RF (Register File) stage"
},
{
"EventName": "LSU_4K_STALL",
"EventCode": "0x00000017",
"BriefDescription": "LSU stall times for long distance data access (Over 4K)",
"PublicDescription": "This stall occurs when translate virtual address with page offset over 4k"
},
{
"EventName": "LSU_OTHER_STALL",
"EventCode": "0x00000018",
"BriefDescription": "LSU stall times for other reasons (except the 4k stall)"
},
{
"EventName": "LSU_SQ_OTHER_DIS",
"EventCode": "0x00000019",
"BriefDescription": "LSU store queue discard others"
},
{
"EventName": "LSU_SQ_DATA_DISCARD",
"EventCode": "0x0000001a",
"BriefDescription": "LSU store queue discard data (uops)"
},
{
"EventName": "BRANCH_DIRECTION_MISPREDICTION",
"EventCode": "0x0000001b",
"BriefDescription": "Branch misprediction in BTB"
},
{
"EventName": "BRANCH_DIRECTION_PREDICTION",
"EventCode": "0x0000001c",
"BriefDescription": "All branch prediction in BTB",
"PublicDescription": "This event including both successful prediction and failed prediction in BTB"
},
{
"EventName": "INTERRUPT_ACK_COUNT",
"EventCode": "0x00000023",
"BriefDescription": "acknowledged interrupt count"
},
{
"EventName": "INTERRUPT_OFF_CYCLE",
"EventCode": "0x00000024",
"BriefDescription": "PLIC arbitration time when the interrupt is not responded",
"PublicDescription": "The arbitration time is recorded while meeting any of the following:\n- CPU is M-mode and MIE == 0\n- CPU is S-mode and delegation and SIE == 0\n"
},
{
"EventName": "IFU_STALLED_CYCLE",
"EventCode": "0x00000027",
"BriefDescription": "Number of stall cycles of the instruction fetch unit (IFU)."
},
{
"EventName": "IDU_STALLED_CYCLE",
"EventCode": "0x00000028",
"BriefDescription": "hpcp_backend_stall Number of stall cycles of the instruction decoding unit (IDU) and next-level pipeline unit."
},
{
"EventName": "SYNC_STALL",
"EventCode": "0x00000029",
"BriefDescription": "Sync instruction stall cycle fence/fence.i/sync/sfence"
}
]