summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/arch/riscv/sifive/bullet/microarch.json
blob: d9cdb7d747eede08309aa83a5165fa123797b6bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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"
  }
]