xref: /linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/metrics.json (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1[
2    {
3        "ArchStdEvent": "backend_bound"
4    },
5    {
6        "MetricName": "backend_stalled_cycles",
7        "MetricExpr": "((STALL_BACKEND / CPU_CYCLES) * 100)",
8        "BriefDescription": "This metric is the percentage of cycles that were stalled due to resource constraints in the backend unit of the processor.",
9        "MetricGroup": "Cycle_Accounting",
10        "ScaleUnit": "1percent of cycles"
11    },
12    {
13        "ArchStdEvent": "bad_speculation",
14        "MetricExpr": "(100 * (((1 - (OP_RETIRED / OP_SPEC)) * (1 - (STALL_SLOT / (CPU_CYCLES * 8)))) + ((BR_MIS_PRED * 4) / CPU_CYCLES)))"
15    },
16    {
17        "MetricName": "branch_misprediction_ratio",
18        "MetricExpr": "(BR_MIS_PRED_RETIRED / BR_RETIRED)",
19        "BriefDescription": "This metric measures the ratio of branches mispredicted to the total number of branches architecturally executed. This gives an indication of the effectiveness of the branch prediction unit.",
20        "MetricGroup": "Miss_Ratio;Branch_Effectiveness",
21        "ScaleUnit": "1per branch"
22    },
23    {
24        "MetricName": "branch_mpki",
25        "MetricExpr": "((BR_MIS_PRED_RETIRED / INST_RETIRED) * 1000)",
26        "BriefDescription": "This metric measures the number of branch mispredictions per thousand instructions executed.",
27        "MetricGroup": "MPKI;Branch_Effectiveness",
28        "ScaleUnit": "1MPKI"
29    },
30    {
31        "MetricName": "branch_percentage",
32        "MetricExpr": "(((BR_IMMED_SPEC + BR_INDIRECT_SPEC) / INST_SPEC) * 100)",
33        "BriefDescription": "This metric measures branch operations as a percentage of operations speculatively executed.",
34        "MetricGroup": "Operation_Mix",
35        "ScaleUnit": "1percent of operations"
36    },
37    {
38        "MetricName": "crypto_percentage",
39        "MetricExpr": "((CRYPTO_SPEC / INST_SPEC) * 100)",
40        "BriefDescription": "This metric measures crypto operations as a percentage of operations speculatively executed.",
41        "MetricGroup": "Operation_Mix",
42        "ScaleUnit": "1percent of operations"
43    },
44    {
45        "MetricName": "dtlb_mpki",
46        "MetricExpr": "((DTLB_WALK / INST_RETIRED) * 1000)",
47        "BriefDescription": "This metric measures the number of data TLB Walks per thousand instructions executed.",
48        "MetricGroup": "MPKI;DTLB_Effectiveness",
49        "ScaleUnit": "1MPKI"
50    },
51    {
52        "MetricName": "dtlb_walk_ratio",
53        "MetricExpr": "(DTLB_WALK / L1D_TLB)",
54        "BriefDescription": "This metric measures the ratio of data TLB Walks to the total number of data TLB accesses. This gives an indication of the effectiveness of the data TLB accesses.",
55        "MetricGroup": "Miss_Ratio;DTLB_Effectiveness",
56        "ScaleUnit": "1per TLB access"
57    },
58    {
59        "ArchStdEvent": "frontend_bound",
60        "MetricExpr": "(100 * ((STALL_SLOT_FRONTEND / (CPU_CYCLES * 8)) - ((BR_MIS_PRED * 4) / CPU_CYCLES)))"
61    },
62    {
63        "MetricName": "frontend_stalled_cycles",
64        "MetricExpr": "((STALL_FRONTEND / CPU_CYCLES) * 100)",
65        "BriefDescription": "This metric is the percentage of cycles that were stalled due to resource constraints in the frontend unit of the processor.",
66        "MetricGroup": "Cycle_Accounting",
67        "ScaleUnit": "1percent of cycles"
68    },
69    {
70        "MetricName": "integer_dp_percentage",
71        "MetricExpr": "((DP_SPEC / INST_SPEC) * 100)",
72        "BriefDescription": "This metric measures scalar integer operations as a percentage of operations speculatively executed.",
73        "MetricGroup": "Operation_Mix",
74        "ScaleUnit": "1percent of operations"
75    },
76    {
77        "MetricName": "ipc",
78        "MetricExpr": "(INST_RETIRED / CPU_CYCLES)",
79        "BriefDescription": "This metric measures the number of instructions retired per cycle.",
80        "MetricGroup": "General",
81        "ScaleUnit": "1per cycle"
82    },
83    {
84        "MetricName": "itlb_mpki",
85        "MetricExpr": "((ITLB_WALK / INST_RETIRED) * 1000)",
86        "BriefDescription": "This metric measures the number of instruction TLB Walks per thousand instructions executed.",
87        "MetricGroup": "MPKI;ITLB_Effectiveness",
88        "ScaleUnit": "1MPKI"
89    },
90    {
91        "MetricName": "itlb_walk_ratio",
92        "MetricExpr": "(ITLB_WALK / L1I_TLB)",
93        "BriefDescription": "This metric measures the ratio of instruction TLB Walks to the total number of instruction TLB accesses. This gives an indication of the effectiveness of the instruction TLB accesses.",
94        "MetricGroup": "Miss_Ratio;ITLB_Effectiveness",
95        "ScaleUnit": "1per TLB access"
96    },
97    {
98        "MetricName": "l1d_cache_miss_ratio",
99        "MetricExpr": "(L1D_CACHE_REFILL / L1D_CACHE)",
100        "BriefDescription": "This metric measures the ratio of level 1 data cache accesses missed to the total number of level 1 data cache accesses. This gives an indication of the effectiveness of the level 1 data cache.",
101        "MetricGroup": "Miss_Ratio;L1D_Cache_Effectiveness",
102        "ScaleUnit": "1per cache access"
103    },
104    {
105        "MetricName": "l1d_cache_mpki",
106        "MetricExpr": "((L1D_CACHE_REFILL / INST_RETIRED) * 1000)",
107        "BriefDescription": "This metric measures the number of level 1 data cache accesses missed per thousand instructions executed.",
108        "MetricGroup": "MPKI;L1D_Cache_Effectiveness",
109        "ScaleUnit": "1MPKI"
110    },
111    {
112        "MetricName": "l1d_tlb_miss_ratio",
113        "MetricExpr": "(L1D_TLB_REFILL / L1D_TLB)",
114        "BriefDescription": "This metric measures the ratio of level 1 data TLB accesses missed to the total number of level 1 data TLB accesses. This gives an indication of the effectiveness of the level 1 data TLB.",
115        "MetricGroup": "Miss_Ratio;DTLB_Effectiveness",
116        "ScaleUnit": "1per TLB access"
117    },
118    {
119        "MetricName": "l1d_tlb_mpki",
120        "MetricExpr": "((L1D_TLB_REFILL / INST_RETIRED) * 1000)",
121        "BriefDescription": "This metric measures the number of level 1 instruction TLB accesses missed per thousand instructions executed.",
122        "MetricGroup": "MPKI;DTLB_Effectiveness",
123        "ScaleUnit": "1MPKI"
124    },
125    {
126        "MetricName": "l1i_cache_miss_ratio",
127        "MetricExpr": "(L1I_CACHE_REFILL / L1I_CACHE)",
128        "BriefDescription": "This metric measures the ratio of level 1 instruction cache accesses missed to the total number of level 1 instruction cache accesses. This gives an indication of the effectiveness of the level 1 instruction cache.",
129        "MetricGroup": "Miss_Ratio;L1I_Cache_Effectiveness",
130        "ScaleUnit": "1per cache access"
131    },
132    {
133        "MetricName": "l1i_cache_mpki",
134        "MetricExpr": "((L1I_CACHE_REFILL / INST_RETIRED) * 1000)",
135        "BriefDescription": "This metric measures the number of level 1 instruction cache accesses missed per thousand instructions executed.",
136        "MetricGroup": "MPKI;L1I_Cache_Effectiveness",
137        "ScaleUnit": "1MPKI"
138    },
139    {
140        "MetricName": "l1i_tlb_miss_ratio",
141        "MetricExpr": "(L1I_TLB_REFILL / L1I_TLB)",
142        "BriefDescription": "This metric measures the ratio of level 1 instruction TLB accesses missed to the total number of level 1 instruction TLB accesses. This gives an indication of the effectiveness of the level 1 instruction TLB.",
143        "MetricGroup": "Miss_Ratio;ITLB_Effectiveness",
144        "ScaleUnit": "1per TLB access"
145    },
146    {
147        "MetricName": "l1i_tlb_mpki",
148        "MetricExpr": "((L1I_TLB_REFILL / INST_RETIRED) * 1000)",
149        "BriefDescription": "This metric measures the number of level 1 instruction TLB accesses missed per thousand instructions executed.",
150        "MetricGroup": "MPKI;ITLB_Effectiveness",
151        "ScaleUnit": "1MPKI"
152    },
153    {
154        "MetricName": "l2_cache_miss_ratio",
155        "MetricExpr": "(L2D_CACHE_REFILL / L2D_CACHE)",
156        "BriefDescription": "This metric measures the ratio of level 2 cache accesses missed to the total number of level 2 cache accesses. This gives an indication of the effectiveness of the level 2 cache, which is a unified cache that stores both data and instruction. Note that cache accesses in this cache are either data memory access or instruction fetch as this is a unified cache.",
157        "MetricGroup": "Miss_Ratio;L2_Cache_Effectiveness",
158        "ScaleUnit": "1per cache access"
159    },
160    {
161        "MetricName": "l2_cache_mpki",
162        "MetricExpr": "((L2D_CACHE_REFILL / INST_RETIRED) * 1000)",
163        "BriefDescription": "This metric measures the number of level 2 unified cache accesses missed per thousand instructions executed. Note that cache accesses in this cache are either data memory access or instruction fetch as this is a unified cache.",
164        "MetricGroup": "MPKI;L2_Cache_Effectiveness",
165        "ScaleUnit": "1MPKI"
166    },
167    {
168        "MetricName": "l2_tlb_miss_ratio",
169        "MetricExpr": "(L2D_TLB_REFILL / L2D_TLB)",
170        "BriefDescription": "This metric measures the ratio of level 2 unified TLB accesses missed to the total number of level 2 unified TLB accesses. This gives an indication of the effectiveness of the level 2 TLB.",
171        "MetricGroup": "Miss_Ratio;ITLB_Effectiveness;DTLB_Effectiveness",
172        "ScaleUnit": "1per TLB access"
173    },
174    {
175        "MetricName": "l2_tlb_mpki",
176        "MetricExpr": "((L2D_TLB_REFILL / INST_RETIRED) * 1000)",
177        "BriefDescription": "This metric measures the number of level 2 unified TLB accesses missed per thousand instructions executed.",
178        "MetricGroup": "MPKI;ITLB_Effectiveness;DTLB_Effectiveness",
179        "ScaleUnit": "1MPKI"
180    },
181    {
182        "MetricName": "ll_cache_read_hit_ratio",
183        "MetricExpr": "((LL_CACHE_RD - LL_CACHE_MISS_RD) / LL_CACHE_RD)",
184        "BriefDescription": "This metric measures the ratio of last level cache read accesses hit in the cache to the total number of last level cache accesses. This gives an indication of the effectiveness of the last level cache for read traffic. Note that cache accesses in this cache are either data memory access or instruction fetch as this is a system level cache.",
185        "MetricGroup": "LL_Cache_Effectiveness",
186        "ScaleUnit": "1per cache access"
187    },
188    {
189        "MetricName": "ll_cache_read_miss_ratio",
190        "MetricExpr": "(LL_CACHE_MISS_RD / LL_CACHE_RD)",
191        "BriefDescription": "This metric measures the ratio of last level cache read accesses missed to the total number of last level cache accesses. This gives an indication of the effectiveness of the last level cache for read traffic. Note that cache accesses in this cache are either data memory access or instruction fetch as this is a system level cache.",
192        "MetricGroup": "Miss_Ratio;LL_Cache_Effectiveness",
193        "ScaleUnit": "1per cache access"
194    },
195    {
196        "MetricName": "ll_cache_read_mpki",
197        "MetricExpr": "((LL_CACHE_MISS_RD / INST_RETIRED) * 1000)",
198        "BriefDescription": "This metric measures the number of last level cache read accesses missed per thousand instructions executed.",
199        "MetricGroup": "MPKI;LL_Cache_Effectiveness",
200        "ScaleUnit": "1MPKI"
201    },
202    {
203        "MetricName": "load_percentage",
204        "MetricExpr": "((LD_SPEC / INST_SPEC) * 100)",
205        "BriefDescription": "This metric measures load operations as a percentage of operations speculatively executed.",
206        "MetricGroup": "Operation_Mix",
207        "ScaleUnit": "1percent of operations"
208    },
209    {
210        "ArchStdEvent": "retiring"
211    },
212    {
213        "MetricName": "scalar_fp_percentage",
214        "MetricExpr": "((VFP_SPEC / INST_SPEC) * 100)",
215        "BriefDescription": "This metric measures scalar floating point operations as a percentage of operations speculatively executed.",
216        "MetricGroup": "Operation_Mix",
217        "ScaleUnit": "1percent of operations"
218    },
219    {
220        "MetricName": "simd_percentage",
221        "MetricExpr": "((ASE_SPEC / INST_SPEC) * 100)",
222        "BriefDescription": "This metric measures advanced SIMD operations as a percentage of total operations speculatively executed.",
223        "MetricGroup": "Operation_Mix",
224        "ScaleUnit": "1percent of operations"
225    },
226    {
227        "MetricName": "store_percentage",
228        "MetricExpr": "((ST_SPEC / INST_SPEC) * 100)",
229        "BriefDescription": "This metric measures store operations as a percentage of operations speculatively executed.",
230        "MetricGroup": "Operation_Mix",
231        "ScaleUnit": "1percent of operations"
232    }
233]
234