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