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