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