summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/metrics.json
blob: 8ad15b726dca1afba8c829d057754af0ef761a3c (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
[
    {
        "ArchStdEvent": "FRONTEND_BOUND",
        "MetricExpr": "((stall_slot_frontend) if (#slots - 5) else (stall_slot_frontend - cpu_cycles)) / (#slots * cpu_cycles)"
    },
    {
        "ArchStdEvent": "BAD_SPECULATION",
        "MetricExpr": "(1 - op_retired / op_spec) * (1 - (stall_slot if (#slots - 5) else (stall_slot - cpu_cycles)) / (#slots * cpu_cycles))"
    },
    {
        "ArchStdEvent": "RETIRING",
        "MetricExpr": "(op_retired / op_spec) * (1 - (stall_slot if (#slots - 5) else (stall_slot - cpu_cycles)) / (#slots * cpu_cycles))"
    },
    {
        "ArchStdEvent": "BACKEND_BOUND"
    },
    {
        "MetricExpr": "L1D_TLB_REFILL / L1D_TLB",
        "BriefDescription": "The rate of L1D TLB refill to the overall L1D TLB lookups",
        "MetricGroup": "TLB",
        "MetricName": "l1d_tlb_miss_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "L1I_TLB_REFILL / L1I_TLB",
        "BriefDescription": "The rate of L1I TLB refill to the overall L1I TLB lookups",
        "MetricGroup": "TLB",
        "MetricName": "l1i_tlb_miss_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "L2D_TLB_REFILL / L2D_TLB",
        "BriefDescription": "The rate of L2D TLB refill to the overall L2D TLB lookups",
        "MetricGroup": "TLB",
        "MetricName": "l2_tlb_miss_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "DTLB_WALK / INST_RETIRED * 1000",
        "BriefDescription": "The rate of TLB Walks per kilo instructions for data accesses",
        "MetricGroup": "TLB",
        "MetricName": "dtlb_mpki",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricExpr": "DTLB_WALK / L1D_TLB",
        "BriefDescription": "The rate of DTLB Walks to the overall L1D TLB lookups",
        "MetricGroup": "TLB",
        "MetricName": "dtlb_walk_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "ITLB_WALK / INST_RETIRED * 1000",
        "BriefDescription": "The rate of TLB Walks per kilo instructions for instruction accesses",
        "MetricGroup": "TLB",
        "MetricName": "itlb_mpki",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricExpr": "ITLB_WALK / L1I_TLB",
        "BriefDescription": "The rate of ITLB Walks to the overall L1I TLB lookups",
        "MetricGroup": "TLB",
        "MetricName": "itlb_walk_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "L1I_CACHE_REFILL / INST_RETIRED * 1000",
        "BriefDescription": "The rate of L1 I-Cache misses per kilo instructions",
        "MetricGroup": "Cache",
        "MetricName": "l1i_cache_mpki",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricExpr": "L1I_CACHE_REFILL / L1I_CACHE",
        "BriefDescription": "The rate of L1 I-Cache misses to the overall L1 I-Cache",
        "MetricGroup": "Cache",
        "MetricName": "l1i_cache_miss_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "L1D_CACHE_REFILL / INST_RETIRED * 1000",
        "BriefDescription": "The rate of L1 D-Cache misses per kilo instructions",
        "MetricGroup": "Cache",
        "MetricName": "l1d_cache_mpki",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricExpr": "L1D_CACHE_REFILL / L1D_CACHE",
        "BriefDescription": "The rate of L1 D-Cache misses to the overall L1 D-Cache",
        "MetricGroup": "Cache",
        "MetricName": "l1d_cache_miss_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "L2D_CACHE_REFILL / INST_RETIRED * 1000",
        "BriefDescription": "The rate of L2 D-Cache misses per kilo instructions",
        "MetricGroup": "Cache",
        "MetricName": "l2d_cache_mpki",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricExpr": "L2D_CACHE_REFILL / L2D_CACHE",
        "BriefDescription": "The rate of L2 D-Cache misses to the overall L2 D-Cache",
        "MetricGroup": "Cache",
        "MetricName": "l2d_cache_miss_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "L3D_CACHE_REFILL / INST_RETIRED * 1000",
        "BriefDescription": "The rate of L3 D-Cache misses per kilo instructions",
        "MetricGroup": "Cache",
        "MetricName": "l3d_cache_mpki",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricExpr": "L3D_CACHE_REFILL / L3D_CACHE",
        "BriefDescription": "The rate of L3 D-Cache misses to the overall L3 D-Cache",
        "MetricGroup": "Cache",
        "MetricName": "l3d_cache_miss_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "LL_CACHE_MISS_RD / INST_RETIRED * 1000",
        "BriefDescription": "The rate of LL Cache read misses per kilo instructions",
        "MetricGroup": "Cache",
        "MetricName": "ll_cache_read_mpki",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricExpr": "LL_CACHE_MISS_RD / LL_CACHE_RD",
        "BriefDescription": "The rate of LL Cache read misses to the overall LL Cache read",
        "MetricGroup": "Cache",
        "MetricName": "ll_cache_read_miss_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "(LL_CACHE_RD - LL_CACHE_MISS_RD) / LL_CACHE_RD",
        "BriefDescription": "The rate of LL Cache read hit to the overall LL Cache read",
        "MetricGroup": "Cache",
        "MetricName": "ll_cache_read_hit_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "BR_MIS_PRED_RETIRED / INST_RETIRED * 1000",
        "BriefDescription": "The rate of branches mis-predicted per kilo instructions",
        "MetricGroup": "Branch",
        "MetricName": "branch_mpki",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricExpr": "BR_RETIRED / INST_RETIRED * 1000",
        "BriefDescription": "The rate of branches retired per kilo instructions",
        "MetricGroup": "Branch",
        "MetricName": "branch_pki",
        "ScaleUnit": "1PKI"
    },
    {
        "MetricExpr": "BR_MIS_PRED_RETIRED / BR_RETIRED",
        "BriefDescription": "The rate of branches mis-predited to the overall branches",
        "MetricGroup": "Branch",
        "MetricName": "branch_miss_pred_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "instructions / CPU_CYCLES",
        "BriefDescription": "The average number of instructions executed for each cycle.",
        "MetricGroup": "PEutilization",
        "MetricName": "ipc"
    },
    {
        "MetricExpr": "ipc / 5",
        "BriefDescription": "IPC percentage of peak. The peak of IPC is 5.",
        "MetricGroup": "PEutilization",
        "MetricName": "ipc_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "INST_RETIRED / CPU_CYCLES",
        "BriefDescription": "Architecturally executed Instructions Per Cycle (IPC)",
        "MetricGroup": "PEutilization",
        "MetricName": "retired_ipc"
    },
    {
        "MetricExpr": "INST_SPEC / CPU_CYCLES",
        "BriefDescription": "Speculatively executed Instructions Per Cycle (IPC)",
        "MetricGroup": "PEutilization",
        "MetricName": "spec_ipc"
    },
    {
        "MetricExpr": "OP_RETIRED / OP_SPEC",
        "BriefDescription": "Of all the micro-operations issued, what percentage are retired(committed)",
        "MetricGroup": "PEutilization",
        "MetricName": "retired_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "1 - OP_RETIRED / OP_SPEC",
        "BriefDescription": "Of all the micro-operations issued, what percentage are not retired(committed)",
        "MetricGroup": "PEutilization",
        "MetricName": "wasted_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "OP_RETIRED / OP_SPEC * (1 - (STALL_SLOT if (#slots - 5) else (STALL_SLOT - CPU_CYCLES)) / (#slots * CPU_CYCLES))",
        "BriefDescription": "The truly effective ratio of micro-operations executed by the CPU, which means that misprediction and stall are not included",
        "MetricGroup": "PEutilization",
        "MetricName": "cpu_utilization",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "LD_SPEC / INST_SPEC",
        "BriefDescription": "The rate of load instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "load_spec_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "ST_SPEC / INST_SPEC",
        "BriefDescription": "The rate of store instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "store_spec_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "DP_SPEC / INST_SPEC",
        "BriefDescription": "The rate of integer data-processing instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "data_process_spec_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "ASE_SPEC / INST_SPEC",
        "BriefDescription": "The rate of advanced SIMD instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "advanced_simd_spec_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "VFP_SPEC / INST_SPEC",
        "BriefDescription": "The rate of floating point instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "float_point_spec_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "CRYPTO_SPEC / INST_SPEC",
        "BriefDescription": "The rate of crypto instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "crypto_spec_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "BR_IMMED_SPEC / INST_SPEC",
        "BriefDescription": "The rate of branch immediate instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "branch_immed_spec_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "BR_RETURN_SPEC / INST_SPEC",
        "BriefDescription": "The rate of procedure return instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "branch_return_spec_rate",
        "ScaleUnit": "100%"
    },
    {
        "MetricExpr": "BR_INDIRECT_SPEC / INST_SPEC",
        "BriefDescription": "The rate of indirect branch instructions speculatively executed to overall instructions speclatively executed",
        "MetricGroup": "InstructionMix",
        "MetricName": "branch_indirect_spec_rate",
        "ScaleUnit": "100%"
    }
]