1[
2    {
3        "BriefDescription": "Total pipeline cost of branch related instructions (used for program control-flow including function calls)",
4        "MetricExpr": "100 * (( BR_INST_RETIRED.COND + 3 * BR_INST_RETIRED.NEAR_CALL + (BR_INST_RETIRED.NEAR_TAKEN - BR_INST_RETIRED.COND_TAKEN - 2 * BR_INST_RETIRED.NEAR_CALL) ) / TOPDOWN.SLOTS)",
5        "MetricGroup": "Ret",
6        "MetricName": "Branching_Overhead"
7    },
8    {
9        "BriefDescription": "Instructions Per Cycle (per Logical Processor)",
10        "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD",
11        "MetricGroup": "Ret;Summary",
12        "MetricName": "IPC"
13    },
14    {
15        "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.",
16        "MetricExpr": "CPU_CLK_UNHALTED.THREAD",
17        "MetricGroup": "Pipeline",
18        "MetricName": "CLKS"
19    },
20    {
21        "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)",
22        "MetricExpr": "TOPDOWN.SLOTS",
23        "MetricGroup": "TmaL1",
24        "MetricName": "SLOTS"
25    },
26    {
27        "BriefDescription": "Fraction of Physical Core issue-slots utilized by this Logical Processor",
28        "MetricExpr": "TOPDOWN.SLOTS / ( TOPDOWN.SLOTS / 2 ) if #SMT_on else 1",
29        "MetricGroup": "SMT;TmaL1",
30        "MetricName": "Slots_Utilization"
31    },
32    {
33        "BriefDescription": "The ratio of Executed- by Issued-Uops",
34        "MetricExpr": "UOPS_EXECUTED.THREAD / UOPS_ISSUED.ANY",
35        "MetricGroup": "Cor;Pipeline",
36        "MetricName": "Execute_per_Issue",
37        "PublicDescription": "The ratio of Executed- by Issued-Uops. Ratio > 1 suggests high rate of uop micro-fusions. Ratio < 1 suggest high rate of \"execute\" at rename stage."
38    },
39    {
40        "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)",
41        "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.DISTRIBUTED",
42        "MetricGroup": "Ret;SMT;TmaL1",
43        "MetricName": "CoreIPC"
44    },
45    {
46        "BriefDescription": "Floating Point Operations Per Cycle",
47        "MetricExpr": "( 1 * ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE + FP_ARITH_INST_RETIRED2.SCALAR_HALF ) + 2 * ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED2.COMPLEX_SCALAR_HALF ) + 4 * ( FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE ) + 8 * ( FP_ARITH_INST_RETIRED2.128B_PACKED_HALF + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE ) + 16 * ( FP_ARITH_INST_RETIRED2.256B_PACKED_HALF + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE ) + 32 * FP_ARITH_INST_RETIRED2.512B_PACKED_HALF + 4 * AMX_OPS_RETIRED.BF16 ) / CPU_CLK_UNHALTED.DISTRIBUTED",
48        "MetricGroup": "Ret;Flops",
49        "MetricName": "FLOPc"
50    },
51    {
52        "BriefDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width)",
53        "MetricExpr": "( FP_ARITH_DISPATCHED.PORT_0 + FP_ARITH_DISPATCHED.PORT_1 + FP_ARITH_DISPATCHED.PORT_5 ) / ( 2 * CPU_CLK_UNHALTED.DISTRIBUTED )",
54        "MetricGroup": "Cor;Flops;HPC",
55        "MetricName": "FP_Arith_Utilization",
56        "PublicDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width). Values > 1 are possible due to ([BDW+] Fused-Multiply Add (FMA) counting - common; [ADL+] use all of ADD/MUL/FMA in Scalar or 128/256-bit vectors - less common)."
57    },
58    {
59        "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per-core",
60        "MetricExpr": "UOPS_EXECUTED.THREAD / (( UOPS_EXECUTED.CORE_CYCLES_GE_1 / 2 ) if #SMT_on else UOPS_EXECUTED.CORE_CYCLES_GE_1)",
61        "MetricGroup": "Backend;Cor;Pipeline;PortsUtil",
62        "MetricName": "ILP"
63    },
64    {
65        "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core",
66        "MetricExpr": "CPU_CLK_UNHALTED.DISTRIBUTED",
67        "MetricGroup": "SMT",
68        "MetricName": "CORE_CLKS"
69    },
70    {
71        "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)",
72        "MetricExpr": "INST_RETIRED.ANY / MEM_INST_RETIRED.ALL_LOADS",
73        "MetricGroup": "InsType",
74        "MetricName": "IpLoad"
75    },
76    {
77        "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)",
78        "MetricExpr": "INST_RETIRED.ANY / MEM_INST_RETIRED.ALL_STORES",
79        "MetricGroup": "InsType",
80        "MetricName": "IpStore"
81    },
82    {
83        "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)",
84        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES",
85        "MetricGroup": "Branches;Fed;InsType",
86        "MetricName": "IpBranch"
87    },
88    {
89        "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)",
90        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL",
91        "MetricGroup": "Branches;Fed;PGO",
92        "MetricName": "IpCall"
93    },
94    {
95        "BriefDescription": "Instruction per taken branch",
96        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN",
97        "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO",
98        "MetricName": "IpTB"
99    },
100    {
101        "BriefDescription": "Branch instructions per taken branch. ",
102        "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN",
103        "MetricGroup": "Branches;Fed;PGO",
104        "MetricName": "BpTkBranch"
105    },
106    {
107        "BriefDescription": "Instructions per Floating Point (FP) Operation (lower number means higher occurrence rate)",
108        "MetricExpr": "INST_RETIRED.ANY / ( 1 * ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE + FP_ARITH_INST_RETIRED2.SCALAR_HALF ) + 2 * ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED2.COMPLEX_SCALAR_HALF ) + 4 * ( FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE ) + 8 * ( FP_ARITH_INST_RETIRED2.128B_PACKED_HALF + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE ) + 16 * ( FP_ARITH_INST_RETIRED2.256B_PACKED_HALF + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE ) + 32 * FP_ARITH_INST_RETIRED2.512B_PACKED_HALF + 4 * AMX_OPS_RETIRED.BF16 )",
109        "MetricGroup": "Flops;InsType",
110        "MetricName": "IpFLOP"
111    },
112    {
113        "BriefDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate)",
114        "MetricExpr": "INST_RETIRED.ANY / ( (FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE + FP_ARITH_INST_RETIRED2.SCALAR) + (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.VECTOR) )",
115        "MetricGroup": "Flops;InsType",
116        "MetricName": "IpArith",
117        "PublicDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate). May undercount due to FMA double counting. Approximated prior to BDW."
118    },
119    {
120        "BriefDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate)",
121        "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_SINGLE",
122        "MetricGroup": "Flops;FpScalar;InsType",
123        "MetricName": "IpArith_Scalar_SP",
124        "PublicDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate). May undercount due to FMA double counting."
125    },
126    {
127        "BriefDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate)",
128        "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_DOUBLE",
129        "MetricGroup": "Flops;FpScalar;InsType",
130        "MetricName": "IpArith_Scalar_DP",
131        "PublicDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate). May undercount due to FMA double counting."
132    },
133    {
134        "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate)",
135        "MetricExpr": "INST_RETIRED.ANY / ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.128B_PACKED_HALF )",
136        "MetricGroup": "Flops;FpVector;InsType",
137        "MetricName": "IpArith_AVX128",
138        "PublicDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate). May undercount due to FMA double counting."
139    },
140    {
141        "BriefDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate)",
142        "MetricExpr": "INST_RETIRED.ANY / ( FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.256B_PACKED_HALF )",
143        "MetricGroup": "Flops;FpVector;InsType",
144        "MetricName": "IpArith_AVX256",
145        "PublicDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate). May undercount due to FMA double counting."
146    },
147    {
148        "BriefDescription": "Instructions per FP Arithmetic AVX 512-bit instruction (lower number means higher occurrence rate)",
149        "MetricExpr": "INST_RETIRED.ANY / ( FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.512B_PACKED_HALF )",
150        "MetricGroup": "Flops;FpVector;InsType",
151        "MetricName": "IpArith_AVX512",
152        "PublicDescription": "Instructions per FP Arithmetic AVX 512-bit instruction (lower number means higher occurrence rate). May undercount due to FMA double counting."
153    },
154    {
155        "BriefDescription": "Instructions per FP Arithmetic AMX operation (lower number means higher occurrence rate)",
156        "MetricExpr": "INST_RETIRED.ANY / AMX_OPS_RETIRED.BF16",
157        "MetricGroup": "Flops;FpVector;InsType;Server",
158        "MetricName": "IpArith_AMX_F16",
159        "PublicDescription": "Instructions per FP Arithmetic AMX operation (lower number means higher occurrence rate). Operations factored per matrices' sizes of the AMX instructions."
160    },
161    {
162        "BriefDescription": "Instructions per Integer Arithmetic AMX operation (lower number means higher occurrence rate)",
163        "MetricExpr": "INST_RETIRED.ANY / AMX_OPS_RETIRED.INT8",
164        "MetricGroup": "IntVector;InsType;Server",
165        "MetricName": "IpArith_AMX_Int8",
166        "PublicDescription": "Instructions per Integer Arithmetic AMX operation (lower number means higher occurrence rate). Operations factored per matrices' sizes of the AMX instructions."
167    },
168    {
169        "BriefDescription": "Instructions per Software prefetch instruction (of any type: NTA/T0/T1/T2/Prefetch) (lower number means higher occurrence rate)",
170        "MetricExpr": "INST_RETIRED.ANY / cpu@SW_PREFETCH_ACCESS.T0\\,umask\\=0xF@",
171        "MetricGroup": "Prefetches",
172        "MetricName": "IpSWPF"
173    },
174    {
175        "BriefDescription": "Total number of retired Instructions, Sample with: INST_RETIRED.PREC_DIST",
176        "MetricExpr": "INST_RETIRED.ANY",
177        "MetricGroup": "Summary;TmaL1",
178        "MetricName": "Instructions"
179    },
180    {
181        "BriefDescription": "Estimated fraction of retirement-cycles dealing with repeat instructions",
182        "MetricExpr": "INST_RETIRED.REP_ITERATION / cpu@UOPS_RETIRED.SLOTS\\,cmask\\=1@",
183        "MetricGroup": "Pipeline;Ret",
184        "MetricName": "Strings_Cycles"
185    },
186    {
187        "BriefDescription": "Instructions per a microcode Assist invocation. See Assists tree node for details (lower number means higher occurrence rate)",
188        "MetricExpr": "INST_RETIRED.ANY / cpu@ASSISTS.ANY\\,umask\\=0x1B@",
189        "MetricGroup": "Pipeline;Ret;Retire",
190        "MetricName": "IpAssist"
191    },
192    {
193        "BriefDescription": "",
194        "MetricExpr": "UOPS_EXECUTED.THREAD / cpu@UOPS_EXECUTED.THREAD\\,cmask\\=1@",
195        "MetricGroup": "Cor;Pipeline;PortsUtil;SMT",
196        "MetricName": "Execute"
197    },
198    {
199        "BriefDescription": "Average number of Uops issued by front-end when it issued something",
200        "MetricExpr": "UOPS_ISSUED.ANY / cpu@UOPS_ISSUED.ANY\\,cmask\\=1@",
201        "MetricGroup": "Fed;FetchBW",
202        "MetricName": "Fetch_UpC"
203    },
204    {
205        "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)",
206        "MetricExpr": "IDQ.DSB_UOPS / (IDQ.DSB_UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS)",
207        "MetricGroup": "DSB;Fed;FetchBW",
208        "MetricName": "DSB_Coverage"
209    },
210    {
211        "BriefDescription": "Average number of cycles of a switch from the DSB fetch-unit to MITE fetch unit - see DSB_Switches tree node for details.",
212        "MetricExpr": "DSB2MITE_SWITCHES.PENALTY_CYCLES / cpu@DSB2MITE_SWITCHES.PENALTY_CYCLES\\,cmask\\=1\\,edge@",
213        "MetricGroup": "DSBmiss",
214        "MetricName": "DSB_Switch_Cost"
215    },
216    {
217        "BriefDescription": "Number of Instructions per non-speculative DSB miss (lower number means higher occurrence rate)",
218        "MetricExpr": "INST_RETIRED.ANY / FRONTEND_RETIRED.ANY_DSB_MISS",
219        "MetricGroup": "DSBmiss;Fed",
220        "MetricName": "IpDSB_Miss_Ret"
221    },
222    {
223        "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear) (lower number means higher occurrence rate)",
224        "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES",
225        "MetricGroup": "Bad;BadSpec;BrMispredicts",
226        "MetricName": "IpMispredict"
227    },
228    {
229        "BriefDescription": "Fraction of branches that are non-taken conditionals",
230        "MetricExpr": "BR_INST_RETIRED.COND_NTAKEN / BR_INST_RETIRED.ALL_BRANCHES",
231        "MetricGroup": "Bad;Branches;CodeGen;PGO",
232        "MetricName": "Cond_NT"
233    },
234    {
235        "BriefDescription": "Fraction of branches that are taken conditionals",
236        "MetricExpr": "BR_INST_RETIRED.COND_TAKEN / BR_INST_RETIRED.ALL_BRANCHES",
237        "MetricGroup": "Bad;Branches;CodeGen;PGO",
238        "MetricName": "Cond_TK"
239    },
240    {
241        "BriefDescription": "Fraction of branches that are CALL or RET",
242        "MetricExpr": "( BR_INST_RETIRED.NEAR_CALL + BR_INST_RETIRED.NEAR_RETURN ) / BR_INST_RETIRED.ALL_BRANCHES",
243        "MetricGroup": "Bad;Branches",
244        "MetricName": "CallRet"
245    },
246    {
247        "BriefDescription": "Fraction of branches that are unconditional (direct or indirect) jumps",
248        "MetricExpr": "(BR_INST_RETIRED.NEAR_TAKEN - BR_INST_RETIRED.COND_TAKEN - 2 * BR_INST_RETIRED.NEAR_CALL) / BR_INST_RETIRED.ALL_BRANCHES",
249        "MetricGroup": "Bad;Branches",
250        "MetricName": "Jump"
251    },
252    {
253        "BriefDescription": "Fraction of branches of other types (not individually covered by other metrics in Info.Branches group)",
254        "MetricExpr": "1 - ( (BR_INST_RETIRED.COND_NTAKEN / BR_INST_RETIRED.ALL_BRANCHES) + (BR_INST_RETIRED.COND_TAKEN / BR_INST_RETIRED.ALL_BRANCHES) + (( BR_INST_RETIRED.NEAR_CALL + BR_INST_RETIRED.NEAR_RETURN ) / BR_INST_RETIRED.ALL_BRANCHES) + ((BR_INST_RETIRED.NEAR_TAKEN - BR_INST_RETIRED.COND_TAKEN - 2 * BR_INST_RETIRED.NEAR_CALL) / BR_INST_RETIRED.ALL_BRANCHES) )",
255        "MetricGroup": "Bad;Branches",
256        "MetricName": "Other_Branches"
257    },
258    {
259        "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load operations (in core cycles)",
260        "MetricExpr": "L1D_PEND_MISS.PENDING / MEM_LOAD_COMPLETED.L1_MISS_ANY",
261        "MetricGroup": "Mem;MemoryBound;MemoryLat",
262        "MetricName": "Load_Miss_Real_Latency"
263    },
264    {
265        "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)",
266        "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES",
267        "MetricGroup": "Mem;MemoryBound;MemoryBW",
268        "MetricName": "MLP"
269    },
270    {
271        "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads",
272        "MetricExpr": "1000 * MEM_LOAD_RETIRED.L1_MISS / INST_RETIRED.ANY",
273        "MetricGroup": "Mem;CacheMisses",
274        "MetricName": "L1MPKI"
275    },
276    {
277        "BriefDescription": "L1 cache true misses per kilo instruction for all demand loads (including speculative)",
278        "MetricExpr": "1000 * L2_RQSTS.ALL_DEMAND_DATA_RD / INST_RETIRED.ANY",
279        "MetricGroup": "Mem;CacheMisses",
280        "MetricName": "L1MPKI_Load"
281    },
282    {
283        "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads",
284        "MetricExpr": "1000 * MEM_LOAD_RETIRED.L2_MISS / INST_RETIRED.ANY",
285        "MetricGroup": "Mem;Backend;CacheMisses",
286        "MetricName": "L2MPKI"
287    },
288    {
289        "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all request types (including speculative)",
290        "MetricExpr": "1000 * L2_RQSTS.MISS / INST_RETIRED.ANY",
291        "MetricGroup": "Mem;CacheMisses;Offcore",
292        "MetricName": "L2MPKI_All"
293    },
294    {
295        "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all demand loads  (including speculative)",
296        "MetricExpr": "1000 * L2_RQSTS.DEMAND_DATA_RD_MISS / INST_RETIRED.ANY",
297        "MetricGroup": "Mem;CacheMisses",
298        "MetricName": "L2MPKI_Load"
299    },
300    {
301        "BriefDescription": "L2 cache hits per kilo instruction for all request types (including speculative)",
302        "MetricExpr": "1000 * ( L2_RQSTS.REFERENCES - L2_RQSTS.MISS ) / INST_RETIRED.ANY",
303        "MetricGroup": "Mem;CacheMisses",
304        "MetricName": "L2HPKI_All"
305    },
306    {
307        "BriefDescription": "L2 cache hits per kilo instruction for all demand loads  (including speculative)",
308        "MetricExpr": "1000 * L2_RQSTS.DEMAND_DATA_RD_HIT / INST_RETIRED.ANY",
309        "MetricGroup": "Mem;CacheMisses",
310        "MetricName": "L2HPKI_Load"
311    },
312    {
313        "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads",
314        "MetricExpr": "1000 * MEM_LOAD_RETIRED.L3_MISS / INST_RETIRED.ANY",
315        "MetricGroup": "Mem;CacheMisses",
316        "MetricName": "L3MPKI"
317    },
318    {
319        "BriefDescription": "Fill Buffer (FB) hits per kilo instructions for retired demand loads (L1D misses that merge into ongoing miss-handling entries)",
320        "MetricExpr": "1000 * MEM_LOAD_RETIRED.FB_HIT / INST_RETIRED.ANY",
321        "MetricGroup": "Mem;CacheMisses",
322        "MetricName": "FB_HPKI"
323    },
324    {
325        "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses",
326        "MetricConstraint": "NO_NMI_WATCHDOG",
327        "MetricExpr": "( ITLB_MISSES.WALK_PENDING + DTLB_LOAD_MISSES.WALK_PENDING + DTLB_STORE_MISSES.WALK_PENDING ) / ( 4 * CPU_CLK_UNHALTED.DISTRIBUTED )",
328        "MetricGroup": "Mem;MemoryTLB",
329        "MetricName": "Page_Walks_Utilization"
330    },
331    {
332        "BriefDescription": "Average per-core data fill bandwidth to the L1 data cache [GB / sec]",
333        "MetricExpr": "64 * L1D.REPLACEMENT / 1000000000 / duration_time",
334        "MetricGroup": "Mem;MemoryBW",
335        "MetricName": "L1D_Cache_Fill_BW"
336    },
337    {
338        "BriefDescription": "Average per-core data fill bandwidth to the L2 cache [GB / sec]",
339        "MetricExpr": "64 * L2_LINES_IN.ALL / 1000000000 / duration_time",
340        "MetricGroup": "Mem;MemoryBW",
341        "MetricName": "L2_Cache_Fill_BW"
342    },
343    {
344        "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]",
345        "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1000000000 / duration_time",
346        "MetricGroup": "Mem;MemoryBW",
347        "MetricName": "L3_Cache_Fill_BW"
348    },
349    {
350        "BriefDescription": "Average per-core data access bandwidth to the L3 cache [GB / sec]",
351        "MetricExpr": "64 * OFFCORE_REQUESTS.ALL_REQUESTS / 1000000000 / duration_time",
352        "MetricGroup": "Mem;MemoryBW;Offcore",
353        "MetricName": "L3_Cache_Access_BW"
354    },
355    {
356        "BriefDescription": "Rate of silent evictions from the L2 cache per Kilo instruction where the evicted lines are dropped (no writeback to L3 or memory)",
357        "MetricExpr": "1000 * L2_LINES_OUT.SILENT / INST_RETIRED.ANY",
358        "MetricGroup": "L2Evicts;Mem;Server",
359        "MetricName": "L2_Evictions_Silent_PKI"
360    },
361    {
362        "BriefDescription": "Rate of non silent evictions from the L2 cache per Kilo instruction",
363        "MetricExpr": "1000 * L2_LINES_OUT.NON_SILENT / INST_RETIRED.ANY",
364        "MetricGroup": "L2Evicts;Mem;Server",
365        "MetricName": "L2_Evictions_NonSilent_PKI"
366    },
367    {
368        "BriefDescription": "Average per-thread data fill bandwidth to the L1 data cache [GB / sec]",
369        "MetricExpr": "(64 * L1D.REPLACEMENT / 1000000000 / duration_time)",
370        "MetricGroup": "Mem;MemoryBW",
371        "MetricName": "L1D_Cache_Fill_BW_1T"
372    },
373    {
374        "BriefDescription": "Average per-thread data fill bandwidth to the L2 cache [GB / sec]",
375        "MetricExpr": "(64 * L2_LINES_IN.ALL / 1000000000 / duration_time)",
376        "MetricGroup": "Mem;MemoryBW",
377        "MetricName": "L2_Cache_Fill_BW_1T"
378    },
379    {
380        "BriefDescription": "Average per-thread data fill bandwidth to the L3 cache [GB / sec]",
381        "MetricExpr": "(64 * LONGEST_LAT_CACHE.MISS / 1000000000 / duration_time)",
382        "MetricGroup": "Mem;MemoryBW",
383        "MetricName": "L3_Cache_Fill_BW_1T"
384    },
385    {
386        "BriefDescription": "Average per-thread data access bandwidth to the L3 cache [GB / sec]",
387        "MetricExpr": "(64 * OFFCORE_REQUESTS.ALL_REQUESTS / 1000000000 / duration_time)",
388        "MetricGroup": "Mem;MemoryBW;Offcore",
389        "MetricName": "L3_Cache_Access_BW_1T"
390    },
391    {
392        "BriefDescription": "Average CPU Utilization",
393        "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / msr@tsc@",
394        "MetricGroup": "HPC;Summary",
395        "MetricName": "CPU_Utilization"
396    },
397    {
398        "BriefDescription": "Measured Average Frequency for unhalted processors [GHz]",
399        "MetricExpr": "(CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC) * msr@tsc@ / 1000000000 / duration_time",
400        "MetricGroup": "Summary;Power",
401        "MetricName": "Average_Frequency"
402    },
403    {
404        "BriefDescription": "Giga Floating Point Operations Per Second",
405        "MetricExpr": "( ( 1 * ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE + FP_ARITH_INST_RETIRED2.SCALAR_HALF ) + 2 * ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED2.COMPLEX_SCALAR_HALF ) + 4 * ( FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE ) + 8 * ( FP_ARITH_INST_RETIRED2.128B_PACKED_HALF + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE ) + 16 * ( FP_ARITH_INST_RETIRED2.256B_PACKED_HALF + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE ) + 32 * FP_ARITH_INST_RETIRED2.512B_PACKED_HALF + 4 * AMX_OPS_RETIRED.BF16 ) / 1000000000 ) / duration_time",
406        "MetricGroup": "Cor;Flops;HPC",
407        "MetricName": "GFLOPs",
408        "PublicDescription": "Giga Floating Point Operations Per Second. Aggregate across all supported options of: FP precisions, scalar and vector instructions, vector-width and AMX engine."
409    },
410    {
411        "BriefDescription": "Tera Integer (matrix) Operations Per Second",
412        "MetricExpr": "( 8 * AMX_OPS_RETIRED.INT8 /  1000000000000 ) / duration_time",
413        "MetricGroup": "Cor;HPC;IntVector;Server",
414        "MetricName": "TIOPS"
415    },
416    {
417        "BriefDescription": "Average Frequency Utilization relative nominal frequency",
418        "MetricExpr": "CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC",
419        "MetricGroup": "Power",
420        "MetricName": "Turbo_Utilization"
421    },
422    {
423        "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active",
424        "MetricExpr": "1 - CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_DISTRIBUTED if #SMT_on else 0",
425        "MetricGroup": "SMT",
426        "MetricName": "SMT_2T_Utilization"
427    },
428    {
429        "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode",
430        "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / CPU_CLK_UNHALTED.THREAD",
431        "MetricGroup": "OS",
432        "MetricName": "Kernel_Utilization"
433    },
434    {
435        "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode",
436        "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / INST_RETIRED.ANY_P:k",
437        "MetricGroup": "OS",
438        "MetricName": "Kernel_CPI"
439    },
440    {
441        "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]",
442        "MetricExpr": "( 64 * ( uncore_imc@cas_count_read@ + uncore_imc@cas_count_write@ ) / 1000000000 ) / duration_time",
443        "MetricGroup": "HPC;Mem;MemoryBW;SoC",
444        "MetricName": "DRAM_BW_Use"
445    },
446    {
447        "BriefDescription": "Average latency of data read request to external memory (in nanoseconds). Accounts for demand loads and L1/L2 prefetches",
448        "MetricExpr": "1000000000 * ( UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD / UNC_CHA_TOR_INSERTS.IA_MISS_DRD ) / ( uncore_cha_0@event\\=0x1@ / duration_time )",
449        "MetricGroup": "Mem;MemoryLat;SoC",
450        "MetricName": "MEM_Read_Latency"
451    },
452    {
453        "BriefDescription": "Average number of parallel data read requests to external memory. Accounts for demand loads and L1/L2 prefetches",
454        "MetricExpr": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD / cha@UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD\\,thresh\\=1@",
455        "MetricGroup": "Mem;MemoryBW;SoC",
456        "MetricName": "MEM_Parallel_Reads"
457    },
458    {
459        "BriefDescription": "Average latency of data read request to external 3D X-Point memory [in nanoseconds]. Accounts for demand loads and L1/L2 data-read prefetches",
460        "MetricExpr": "( 1000000000 * ( UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_PMM / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PMM ) / uncore_cha_0@event\\=0x1@ )",
461        "MetricGroup": "Mem;MemoryLat;SoC;Server",
462        "MetricName": "MEM_PMM_Read_Latency"
463    },
464    {
465        "BriefDescription": "Average latency of data read request to external DRAM memory [in nanoseconds]. Accounts for demand loads and L1/L2 data-read prefetches",
466        "MetricExpr": " 1000000000 * ( UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_DDR / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_DDR ) / uncore_cha_0@event\\=0x1@",
467        "MetricGroup": "Mem;MemoryLat;SoC;Server",
468        "MetricName": "MEM_DRAM_Read_Latency"
469    },
470    {
471        "BriefDescription": "Average 3DXP Memory Bandwidth Use for reads [GB / sec]",
472        "MetricExpr": "( ( 64 * UNC_M_PMM_RPQ_INSERTS / 1000000000 ) / duration_time )",
473        "MetricGroup": "Mem;MemoryBW;SoC;Server",
474        "MetricName": "PMM_Read_BW"
475    },
476    {
477        "BriefDescription": "Average 3DXP Memory Bandwidth Use for Writes [GB / sec]",
478        "MetricExpr": "( ( 64 * UNC_M_PMM_WPQ_INSERTS / 1000000000 ) / duration_time )",
479        "MetricGroup": "Mem;MemoryBW;SoC;Server",
480        "MetricName": "PMM_Write_BW"
481    },
482    {
483        "BriefDescription": "Average IO (network or disk) Bandwidth Use for Writes [GB / sec]",
484        "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_PCIRDCUR * 64 / 1000000000 / duration_time",
485        "MetricGroup": "IoBW;Mem;SoC;Server",
486        "MetricName": "IO_Write_BW"
487    },
488    {
489        "BriefDescription": "Socket actual clocks when any core is active on that socket",
490        "MetricExpr": "uncore_cha_0@event\\=0x1@",
491        "MetricGroup": "SoC",
492        "MetricName": "Socket_CLKS"
493    },
494    {
495        "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]",
496        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u",
497        "MetricGroup": "Branches;OS",
498        "MetricName": "IpFarBranch"
499    },
500    {
501        "BriefDescription": "C1 residency percent per core",
502        "MetricExpr": "(cstate_core@c1\\-residency@ / msr@tsc@) * 100",
503        "MetricGroup": "Power",
504        "MetricName": "C1_Core_Residency"
505    },
506    {
507        "BriefDescription": "C6 residency percent per core",
508        "MetricExpr": "(cstate_core@c6\\-residency@ / msr@tsc@) * 100",
509        "MetricGroup": "Power",
510        "MetricName": "C6_Core_Residency"
511    },
512    {
513        "BriefDescription": "C2 residency percent per package",
514        "MetricExpr": "(cstate_pkg@c2\\-residency@ / msr@tsc@) * 100",
515        "MetricGroup": "Power",
516        "MetricName": "C2_Pkg_Residency"
517    },
518    {
519        "BriefDescription": "C6 residency percent per package",
520        "MetricExpr": "(cstate_pkg@c6\\-residency@ / msr@tsc@) * 100",
521        "MetricGroup": "Power",
522        "MetricName": "C6_Pkg_Residency"
523    },
524    {
525        "BriefDescription": "Percentage of time spent in the active CPU power state C0",
526        "MetricExpr": "100 * CPU_CLK_UNHALTED.REF_TSC / TSC",
527        "MetricGroup": "",
528        "MetricName": "cpu_utilization_percent",
529        "ScaleUnit": "1%"
530    },
531    {
532        "BriefDescription": "CPU operating frequency (in GHz)",
533        "MetricExpr": "(( CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC * #SYSTEM_TSC_FREQ ) / 1000000000) / duration_time",
534        "MetricGroup": "",
535        "MetricName": "cpu_operating_frequency",
536        "ScaleUnit": "1GHz"
537    },
538    {
539        "BriefDescription": "Cycles per instruction retired; indicating how much time each executed instruction took; in units of cycles.",
540        "MetricExpr": "CPU_CLK_UNHALTED.THREAD / INST_RETIRED.ANY",
541        "MetricGroup": "",
542        "MetricName": "cpi",
543        "ScaleUnit": "1per_instr"
544    },
545    {
546        "BriefDescription": "The ratio of number of completed memory load instructions to the total number completed instructions",
547        "MetricExpr": "MEM_INST_RETIRED.ALL_LOADS / INST_RETIRED.ANY",
548        "MetricGroup": "",
549        "MetricName": "loads_per_instr",
550        "ScaleUnit": "1per_instr"
551    },
552    {
553        "BriefDescription": "The ratio of number of completed memory store instructions to the total number completed instructions",
554        "MetricExpr": "MEM_INST_RETIRED.ALL_STORES / INST_RETIRED.ANY",
555        "MetricGroup": "",
556        "MetricName": "stores_per_instr",
557        "ScaleUnit": "1per_instr"
558    },
559    {
560        "BriefDescription": "Ratio of number of requests missing L1 data cache (includes data+rfo w/ prefetches) to the total number of completed instructions",
561        "MetricExpr": "L1D.REPLACEMENT / INST_RETIRED.ANY",
562        "MetricGroup": "",
563        "MetricName": "l1d_mpi_includes_data_plus_rfo_with_prefetches",
564        "ScaleUnit": "1per_instr"
565    },
566    {
567        "BriefDescription": "Ratio of number of demand load requests hitting in L1 data cache to the total number of completed instructions ",
568        "MetricExpr": "MEM_LOAD_RETIRED.L1_HIT / INST_RETIRED.ANY",
569        "MetricGroup": "",
570        "MetricName": "l1d_demand_data_read_hits_per_instr",
571        "ScaleUnit": "1per_instr"
572    },
573    {
574        "BriefDescription": "Ratio of number of code read requests missing in L1 instruction cache (includes prefetches) to the total number of completed instructions",
575        "MetricExpr": "L2_RQSTS.ALL_CODE_RD / INST_RETIRED.ANY",
576        "MetricGroup": "",
577        "MetricName": "l1_i_code_read_misses_with_prefetches_per_instr",
578        "ScaleUnit": "1per_instr"
579    },
580    {
581        "BriefDescription": "Ratio of number of completed demand load requests hitting in L2 cache to the total number of completed instructions ",
582        "MetricExpr": "MEM_LOAD_RETIRED.L2_HIT / INST_RETIRED.ANY",
583        "MetricGroup": "",
584        "MetricName": "l2_demand_data_read_hits_per_instr",
585        "ScaleUnit": "1per_instr"
586    },
587    {
588        "BriefDescription": "Ratio of number of requests missing L2 cache (includes code+data+rfo w/ prefetches) to the total number of completed instructions",
589        "MetricExpr": "L2_LINES_IN.ALL / INST_RETIRED.ANY",
590        "MetricGroup": "",
591        "MetricName": "l2_mpi_includes_code_plus_data_plus_rfo_with_prefetches",
592        "ScaleUnit": "1per_instr"
593    },
594    {
595        "BriefDescription": "Ratio of number of completed data read request missing L2 cache to the total number of completed instructions",
596        "MetricExpr": "MEM_LOAD_RETIRED.L2_MISS / INST_RETIRED.ANY",
597        "MetricGroup": "",
598        "MetricName": "l2_demand_data_read_mpi",
599        "ScaleUnit": "1per_instr"
600    },
601    {
602        "BriefDescription": "Ratio of number of code read request missing L2 cache to the total number of completed instructions",
603        "MetricExpr": "L2_RQSTS.CODE_RD_MISS / INST_RETIRED.ANY",
604        "MetricGroup": "",
605        "MetricName": "l2_demand_code_mpi",
606        "ScaleUnit": "1per_instr"
607    },
608    {
609        "BriefDescription": "Ratio of number of data read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions",
610        "MetricExpr": "( UNC_CHA_TOR_INSERTS.IA_MISS_LLCPREFDATA + UNC_CHA_TOR_INSERTS.IA_MISS_DRD + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF ) / INST_RETIRED.ANY",
611        "MetricGroup": "",
612        "MetricName": "llc_data_read_mpi_demand_plus_prefetch",
613        "ScaleUnit": "1per_instr"
614    },
615    {
616        "BriefDescription": "Ratio of number of code read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions",
617        "MetricExpr": "( UNC_CHA_TOR_INSERTS.IA_MISS_CRD ) / INST_RETIRED.ANY",
618        "MetricGroup": "",
619        "MetricName": "llc_code_read_mpi_demand_plus_prefetch",
620        "ScaleUnit": "1per_instr"
621    },
622    {
623        "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) in nano seconds",
624        "MetricExpr": "( ( 1000000000 * ( UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD / UNC_CHA_TOR_INSERTS.IA_MISS_DRD ) / ( UNC_CHA_CLOCKTICKS / ( source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD) * #num_packages ) ) ) * duration_time )",
625        "MetricGroup": "",
626        "MetricName": "llc_demand_data_read_miss_latency",
627        "ScaleUnit": "1ns"
628    },
629    {
630        "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) addressed to local memory in nano seconds",
631        "MetricExpr": "( ( 1000000000 * ( UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_LOCAL / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL ) / ( UNC_CHA_CLOCKTICKS / ( source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_LOCAL) * #num_packages ) ) ) * duration_time )",
632        "MetricGroup": "",
633        "MetricName": "llc_demand_data_read_miss_latency_for_local_requests",
634        "ScaleUnit": "1ns"
635    },
636    {
637        "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) addressed to remote memory in nano seconds",
638        "MetricExpr": "( ( 1000000000 * ( UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_REMOTE / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_REMOTE ) / ( UNC_CHA_CLOCKTICKS / ( source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_REMOTE) * #num_packages ) ) ) * duration_time )",
639        "MetricGroup": "",
640        "MetricName": "llc_demand_data_read_miss_latency_for_remote_requests",
641        "ScaleUnit": "1ns"
642    },
643    {
644        "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) addressed to Intel(R) Optane(TM) Persistent Memory(PMEM) in nano seconds",
645        "MetricExpr": "( ( 1000000000 * ( UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_PMM / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PMM ) / ( UNC_CHA_CLOCKTICKS / ( source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_PMM) * #num_packages ) ) ) * duration_time )",
646        "MetricGroup": "",
647        "MetricName": "llc_demand_data_read_miss_to_pmem_latency",
648        "ScaleUnit": "1ns"
649    },
650    {
651        "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) addressed to DRAM in nano seconds",
652        "MetricExpr": "( ( 1000000000 * ( UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_DDR / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_DDR ) / ( UNC_CHA_CLOCKTICKS / ( source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_DDR) * #num_packages ) ) ) * duration_time )",
653        "MetricGroup": "",
654        "MetricName": "llc_demand_data_read_miss_to_dram_latency",
655        "ScaleUnit": "1ns"
656    },
657    {
658        "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by a code fetch to the total number of completed instructions. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB.",
659        "MetricExpr": "ITLB_MISSES.WALK_COMPLETED / INST_RETIRED.ANY",
660        "MetricGroup": "",
661        "MetricName": "itlb_2nd_level_mpi",
662        "ScaleUnit": "1per_instr"
663    },
664    {
665        "BriefDescription": "Ratio of number of completed page walks (for 2 megabyte and 4 megabyte page sizes) caused by a code fetch to the total number of completed instructions. This implies it missed in the Instruction Translation Lookaside Buffer (ITLB) and further levels of TLB.",
666        "MetricExpr": "ITLB_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY",
667        "MetricGroup": "",
668        "MetricName": "itlb_2nd_level_large_page_mpi",
669        "ScaleUnit": "1per_instr"
670    },
671    {
672        "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data loads to the total number of completed instructions. This implies it missed in the DTLB and further levels of TLB.",
673        "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED / INST_RETIRED.ANY",
674        "MetricGroup": "",
675        "MetricName": "dtlb_2nd_level_load_mpi",
676        "ScaleUnit": "1per_instr"
677    },
678    {
679        "BriefDescription": "Ratio of number of completed page walks (for 2 megabyte page sizes) caused by demand data loads to the total number of completed instructions. This implies it missed in the Data Translation Lookaside Buffer (DTLB) and further levels of TLB.",
680        "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY",
681        "MetricGroup": "",
682        "MetricName": "dtlb_2nd_level_2mb_large_page_load_mpi",
683        "ScaleUnit": "1per_instr"
684    },
685    {
686        "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data stores to the total number of completed instructions. This implies it missed in the DTLB and further levels of TLB.",
687        "MetricExpr": "DTLB_STORE_MISSES.WALK_COMPLETED / INST_RETIRED.ANY",
688        "MetricGroup": "",
689        "MetricName": "dtlb_2nd_level_store_mpi",
690        "ScaleUnit": "1per_instr"
691    },
692    {
693        "BriefDescription": "Memory read that miss the last level cache (LLC) addressed to local DRAM as a percentage of total memory read accesses, does not include LLC prefetches.",
694        "MetricExpr": "100 * ( UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_LOCAL ) / ( UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_REMOTE )",
695        "MetricGroup": "",
696        "MetricName": "numa_percent_reads_addressed_to_local_dram",
697        "ScaleUnit": "1%"
698    },
699    {
700        "BriefDescription": "Memory reads that miss the last level cache (LLC) addressed to remote DRAM as a percentage of total memory read accesses, does not include LLC prefetches.",
701        "MetricExpr": "100 * ( UNC_CHA_TOR_INSERTS.IA_MISS_DRD_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_REMOTE ) / ( UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_REMOTE )",
702        "MetricGroup": "",
703        "MetricName": "numa_percent_reads_addressed_to_remote_dram",
704        "ScaleUnit": "1%"
705    },
706    {
707        "BriefDescription": "Uncore operating frequency in GHz",
708        "MetricExpr": "( UNC_CHA_CLOCKTICKS / ( source_count(UNC_CHA_CLOCKTICKS) * #num_packages ) / 1000000000) / duration_time",
709        "MetricGroup": "",
710        "MetricName": "uncore_frequency",
711        "ScaleUnit": "1GHz"
712    },
713    {
714        "BriefDescription": "Intel(R) Ultra Path Interconnect (UPI) data transmit bandwidth (MB/sec)",
715        "MetricExpr": "( UNC_UPI_TxL_FLITS.ALL_DATA * (64 / 9.0) / 1000000) / duration_time",
716        "MetricGroup": "",
717        "MetricName": "upi_data_transmit_bw_only_data",
718        "ScaleUnit": "1MB/s"
719    },
720    {
721        "BriefDescription": "DDR memory read bandwidth (MB/sec)",
722        "MetricExpr": "( UNC_M_CAS_COUNT.RD * 64 / 1000000) / duration_time",
723        "MetricGroup": "",
724        "MetricName": "memory_bandwidth_read",
725        "ScaleUnit": "1MB/s"
726    },
727    {
728        "BriefDescription": "DDR memory write bandwidth (MB/sec)",
729        "MetricExpr": "( UNC_M_CAS_COUNT.WR * 64 / 1000000) / duration_time",
730        "MetricGroup": "",
731        "MetricName": "memory_bandwidth_write",
732        "ScaleUnit": "1MB/s"
733    },
734    {
735        "BriefDescription": "DDR memory bandwidth (MB/sec)",
736        "MetricExpr": "(( UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR ) * 64 / 1000000) / duration_time",
737        "MetricGroup": "",
738        "MetricName": "memory_bandwidth_total",
739        "ScaleUnit": "1MB/s"
740    },
741    {
742        "BriefDescription": "Intel(R) Optane(TM) Persistent Memory(PMEM) memory read bandwidth (MB/sec)",
743        "MetricExpr": "( UNC_M_PMM_RPQ_INSERTS * 64 / 1000000) / duration_time",
744        "MetricGroup": "",
745        "MetricName": "pmem_memory_bandwidth_read",
746        "ScaleUnit": "1MB/s"
747    },
748    {
749        "BriefDescription": "Intel(R) Optane(TM) Persistent Memory(PMEM) memory write bandwidth (MB/sec)",
750        "MetricExpr": "( UNC_M_PMM_WPQ_INSERTS * 64 / 1000000) / duration_time",
751        "MetricGroup": "",
752        "MetricName": "pmem_memory_bandwidth_write",
753        "ScaleUnit": "1MB/s"
754    },
755    {
756        "BriefDescription": "Intel(R) Optane(TM) Persistent Memory(PMEM) memory bandwidth (MB/sec)",
757        "MetricExpr": "(( UNC_M_PMM_RPQ_INSERTS + UNC_M_PMM_WPQ_INSERTS ) * 64 / 1000000) / duration_time",
758        "MetricGroup": "",
759        "MetricName": "pmem_memory_bandwidth_total",
760        "ScaleUnit": "1MB/s"
761    },
762    {
763        "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from the CPU.",
764        "MetricExpr": "( UNC_CHA_TOR_INSERTS.IO_PCIRDCUR * 64 / 1000000) / duration_time",
765        "MetricGroup": "",
766        "MetricName": "io_bandwidth_read",
767        "ScaleUnit": "1MB/s"
768    },
769    {
770        "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to the CPU.",
771        "MetricExpr": "(( UNC_CHA_TOR_INSERTS.IO_ITOM + UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR ) * 64 / 1000000) / duration_time",
772        "MetricGroup": "",
773        "MetricName": "io_bandwidth_write",
774        "ScaleUnit": "1MB/s"
775    },
776    {
777        "BriefDescription": "Uops delivered from decoded instruction cache (decoded stream buffer or DSB) as a percent of total uops delivered to Instruction Decode Queue",
778        "MetricExpr": "100 * ( IDQ.DSB_UOPS / ( IDQ.DSB_UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS + LSD.UOPS ) )",
779        "MetricGroup": "",
780        "MetricName": "percent_uops_delivered_from_decoded_icache_dsb",
781        "ScaleUnit": "1%"
782    },
783    {
784        "BriefDescription": "Uops delivered from legacy decode pipeline (Micro-instruction Translation Engine or MITE) as a percent of total uops delivered to Instruction Decode Queue",
785        "MetricExpr": "100 * ( IDQ.MITE_UOPS / ( IDQ.DSB_UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS + LSD.UOPS ) )",
786        "MetricGroup": "",
787        "MetricName": "percent_uops_delivered_from_legacy_decode_pipeline_mite",
788        "ScaleUnit": "1%"
789    },
790    {
791        "BriefDescription": "Uops delivered from microcode sequencer (MS) as a percent of total uops delivered to Instruction Decode Queue",
792        "MetricExpr": "100 * ( IDQ.MS_UOPS / ( IDQ.DSB_UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS + LSD.UOPS ) )",
793        "MetricGroup": "",
794        "MetricName": "percent_uops_delivered_from_microcode_sequencer_ms",
795        "ScaleUnit": "1%"
796    },
797    {
798        "BriefDescription": "Bandwidth (MB/sec) of read requests that miss the last level cache (LLC) and go to local memory.",
799        "MetricExpr": "( UNC_CHA_REQUESTS.READS_LOCAL * 64 / 1000000) / duration_time",
800        "MetricGroup": "",
801        "MetricName": "llc_miss_local_memory_bandwidth_read",
802        "ScaleUnit": "1MB/s"
803    },
804    {
805        "BriefDescription": "Bandwidth (MB/sec) of write requests that miss the last level cache (LLC) and go to local memory.",
806        "MetricExpr": "( UNC_CHA_REQUESTS.WRITES_LOCAL * 64 / 1000000) / duration_time",
807        "MetricGroup": "",
808        "MetricName": "llc_miss_local_memory_bandwidth_write",
809        "ScaleUnit": "1MB/s"
810    },
811    {
812        "BriefDescription": "Bandwidth (MB/sec) of read requests that miss the last level cache (LLC) and go to remote memory.",
813        "MetricExpr": "( UNC_CHA_REQUESTS.READS_REMOTE * 64 / 1000000) / duration_time",
814        "MetricGroup": "",
815        "MetricName": "llc_miss_remote_memory_bandwidth_read",
816        "ScaleUnit": "1MB/s"
817    },
818    {
819        "BriefDescription": "Bandwidth (MB/sec) of write requests that miss the last level cache (LLC) and go to remote memory.",
820        "MetricExpr": "( UNC_CHA_REQUESTS.WRITES_REMOTE * 64 / 1000000) / duration_time",
821        "MetricGroup": "",
822        "MetricName": "llc_miss_remote_memory_bandwidth_write",
823        "ScaleUnit": "1MB/s"
824    },
825    {
826        "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of the processor core responsible to fetch operations that are executed later on by the Backend part. Within the Frontend; a branch predictor predicts the next address to fetch; cache-lines are fetched from the memory subsystem; parsed into instructions; and lastly decoded into micro-operations (uops). Ideally the Frontend can issue Machine_Width uops every cycle to the Backend. Frontend Bound denotes unutilized issue-slots when there is no Backend stall; i.e. bubbles where Frontend delivered no uops while Backend could have accepted them. For example; stalls due to instruction-cache misses would be categorized under Frontend Bound.",
827        "MetricExpr": "100 * ( topdown\\-fe\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) - INT_MISC.UOP_DROPPING / ( slots ) )",
828        "MetricGroup": "TmaL1;PGO",
829        "MetricName": "tma_frontend_bound_percent",
830        "ScaleUnit": "1%"
831    },
832    {
833        "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend latency issues.  For example; instruction-cache misses; iTLB misses or fetch stalls after a branch misprediction are categorized under Frontend Latency. In such cases; the Frontend eventually delivers no uops for some period.",
834        "MetricExpr": "100 * ( ( topdown\\-fetch\\-lat / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) - INT_MISC.UOP_DROPPING / ( slots ) ) )",
835        "MetricGroup": "Frontend;TmaL2;m_tma_frontend_bound_percent",
836        "MetricName": "tma_fetch_latency_percent",
837        "ScaleUnit": "1%"
838    },
839    {
840        "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to instruction cache misses.",
841        "MetricExpr": "100 * ( ICACHE_DATA.STALLS / ( CPU_CLK_UNHALTED.THREAD ) )",
842        "MetricGroup": "BigFoot;FetchLat;IcMiss;TmaL3;m_tma_fetch_latency_percent",
843        "MetricName": "tma_icache_misses_percent",
844        "ScaleUnit": "1%"
845    },
846    {
847        "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses.",
848        "MetricExpr": "100 * ( ICACHE_TAG.STALLS / ( CPU_CLK_UNHALTED.THREAD ) )",
849        "MetricGroup": "BigFoot;FetchLat;MemoryTLB;TmaL3;m_tma_fetch_latency_percent",
850        "MetricName": "tma_itlb_misses_percent",
851        "ScaleUnit": "1%"
852    },
853    {
854        "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers. Branch Resteers estimates the Frontend delay in fetching operations from corrected path; following all sorts of miss-predicted branches. For example; branchy code with lots of miss-predictions might get categorized under Branch Resteers. Note the value of this node may overlap with its siblings.",
855        "MetricExpr": "100 * ( INT_MISC.CLEAR_RESTEER_CYCLES / ( CPU_CLK_UNHALTED.THREAD ) + ( INT_MISC.UNKNOWN_BRANCH_CYCLES / ( CPU_CLK_UNHALTED.THREAD ) ) )",
856        "MetricGroup": "FetchLat;TmaL3;m_tma_fetch_latency_percent",
857        "MetricName": "tma_branch_resteers_percent",
858        "ScaleUnit": "1%"
859    },
860    {
861        "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to switches from DSB to MITE pipelines. The DSB (decoded i-cache) is a Uop Cache where the front-end directly delivers Uops (micro operations) avoiding heavy x86 decoding. The DSB pipeline has shorter latency and delivered higher bandwidth than the MITE (legacy instruction decode pipeline). Switching between the two pipelines can cause penalties hence this metric measures the exposed penalty.",
862        "MetricExpr": "100 * ( DSB2MITE_SWITCHES.PENALTY_CYCLES / ( CPU_CLK_UNHALTED.THREAD ) )",
863        "MetricGroup": "DSBmiss;FetchLat;TmaL3;m_tma_fetch_latency_percent",
864        "MetricName": "tma_dsb_switches_percent",
865        "ScaleUnit": "1%"
866    },
867    {
868        "BriefDescription": "This metric represents fraction of cycles CPU was stalled due to Length Changing Prefixes (LCPs). Using proper compiler flags or Intel Compiler by default will certainly avoid this. #Link: Optimization Guide about LCP BKMs.",
869        "MetricExpr": "100 * ( DECODE.LCP / ( CPU_CLK_UNHALTED.THREAD ) )",
870        "MetricGroup": "FetchLat;TmaL3;m_tma_fetch_latency_percent",
871        "MetricName": "tma_lcp_percent",
872        "ScaleUnit": "1%"
873    },
874    {
875        "BriefDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS). Commonly used instructions are optimized for delivery by the DSB (decoded i-cache) or MITE (legacy instruction decode) pipelines. Certain operations cannot be handled natively by the execution pipeline; and must be performed by microcode (small programs injected into the execution stream). Switching to the MS too often can negatively impact performance. The MS is designated to deliver long uop flows required by CISC instructions like CPUID; or uncommon conditions like Floating Point Assists when dealing with Denormals.",
876        "MetricExpr": "100 * ( ( 3 ) * IDQ.MS_SWITCHES / ( CPU_CLK_UNHALTED.THREAD ) )",
877        "MetricGroup": "FetchLat;MicroSeq;TmaL3;m_tma_fetch_latency_percent",
878        "MetricName": "tma_ms_switches_percent",
879        "ScaleUnit": "1%"
880    },
881    {
882        "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend bandwidth issues.  For example; inefficiencies at the instruction decoders; or restrictions for caching in the DSB (decoded uops cache) are categorized under Fetch Bandwidth. In such cases; the Frontend typically delivers suboptimal amount of uops to the Backend.",
883        "MetricExpr": "100 * ( max( 0 , ( topdown\\-fe\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) - INT_MISC.UOP_DROPPING / ( slots ) ) - ( ( topdown\\-fetch\\-lat / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) - INT_MISC.UOP_DROPPING / ( slots ) ) ) ) )",
884        "MetricGroup": "FetchBW;Frontend;TmaL2;m_tma_frontend_bound_percent",
885        "MetricName": "tma_fetch_bandwidth_percent",
886        "ScaleUnit": "1%"
887    },
888    {
889        "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to the MITE pipeline (the legacy decode pipeline). This pipeline is used for code that was not pre-cached in the DSB or LSD. For example; inefficiencies due to asymmetric decoders; use of long immediate or LCP can manifest as MITE fetch bandwidth bottleneck.",
890        "MetricExpr": "100 * ( ( IDQ.MITE_CYCLES_ANY - IDQ.MITE_CYCLES_OK ) / ( CPU_CLK_UNHALTED.DISTRIBUTED ) / 2 )",
891        "MetricGroup": "DSBmiss;FetchBW;TmaL3;m_tma_fetch_bandwidth_percent",
892        "MetricName": "tma_mite_percent",
893        "ScaleUnit": "1%"
894    },
895    {
896        "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to DSB (decoded uop cache) fetch pipeline.  For example; inefficient utilization of the DSB cache structure or bank conflict when reading from it; are categorized here.",
897        "MetricExpr": "100 * ( ( IDQ.DSB_CYCLES_ANY - IDQ.DSB_CYCLES_OK ) / ( CPU_CLK_UNHALTED.DISTRIBUTED ) / 2 )",
898        "MetricGroup": "DSB;FetchBW;TmaL3;m_tma_fetch_bandwidth_percent",
899        "MetricName": "tma_dsb_percent",
900        "ScaleUnit": "1%"
901    },
902    {
903        "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations. This include slots used to issue uops that do not eventually get retired and slots for which the issue-pipeline was blocked due to recovery from earlier incorrect speculation. For example; wasted work due to miss-predicted branches are categorized under Bad Speculation category. Incorrect data speculation followed by Memory Ordering Nukes is another example.",
904        "MetricExpr": "100 * ( max( 1 - ( ( topdown\\-fe\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) - INT_MISC.UOP_DROPPING / ( slots ) ) + ( topdown\\-be\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) + ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) , 0 ) )",
905        "MetricGroup": "TmaL1",
906        "MetricName": "tma_bad_speculation_percent",
907        "ScaleUnit": "1%"
908    },
909    {
910        "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction.  These slots are either wasted by uops fetched from an incorrectly speculated program path; or stalls when the out-of-order part of the machine needs to recover its state from a speculative path.",
911        "MetricExpr": "( 100 * ( topdown\\-br\\-mispredict / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) + ( 0 * slots )",
912        "MetricGroup": "BadSpec;BrMispredicts;TmaL2;m_tma_bad_speculation_percent",
913        "MetricName": "tma_branch_mispredicts_percent",
914        "ScaleUnit": "1%"
915    },
916    {
917        "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears.  These slots are either wasted by uops fetched prior to the clear; or stalls the out-of-order portion of the machine needs to recover its state after the clear. For example; this can happen due to memory ordering Nukes (e.g. Memory Disambiguation) or Self-Modifying-Code (SMC) nukes.",
918        "MetricExpr": "100 * ( max( 0 , ( max( 1 - ( ( topdown\\-fe\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) - INT_MISC.UOP_DROPPING / ( slots ) ) + ( topdown\\-be\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) + ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) , 0 ) ) - ( topdown\\-br\\-mispredict / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) )",
919        "MetricGroup": "BadSpec;MachineClears;TmaL2;m_tma_bad_speculation_percent",
920        "MetricName": "tma_machine_clears_percent",
921        "ScaleUnit": "1%"
922    },
923    {
924        "BriefDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend. Backend is the portion of the processor core where the out-of-order scheduler dispatches ready uops into their respective execution units; and once completed these uops get retired according to program order. For example; stalls due to data-cache misses or stalls due to the divider unit being overloaded are both categorized under Backend Bound. Backend Bound is further divided into two main categories: Memory Bound and Core Bound.",
925        "MetricExpr": "( 100 * ( topdown\\-be\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) + ( 0 * slots )",
926        "MetricGroup": "TmaL1",
927        "MetricName": "tma_backend_bound_percent",
928        "ScaleUnit": "1%"
929    },
930    {
931        "BriefDescription": "This metric represents fraction of slots the Memory subsystem within the Backend was a bottleneck.  Memory Bound estimates fraction of slots where pipeline is likely stalled due to demand load or store instructions. This accounts mainly for (1) non-completed in-flight memory demand loads which coincides with execution units starvation; in addition to (2) cases where stores could impose backpressure on the pipeline when many of them get buffered at the same time (less common out of the two).",
932        "MetricExpr": "( 100 * ( topdown\\-mem\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) + ( 0 * slots )",
933        "MetricGroup": "Backend;TmaL2;m_tma_backend_bound_percent",
934        "MetricName": "tma_memory_bound_percent",
935        "ScaleUnit": "1%"
936    },
937    {
938        "BriefDescription": "This metric estimates how often the CPU was stalled without loads missing the L1 data cache.  The L1 data cache typically has the shortest latency.  However; in certain cases like loads blocked on older stores; a load might suffer due to high latency even though it is being satisfied by the L1. Another example is loads who miss in the TLB. These cases are characterized by execution unit stalls; while some non-completed demand load lives in the machine without having that demand load missing the L1 cache.",
939        "MetricExpr": "100 * ( max( ( EXE_ACTIVITY.BOUND_ON_LOADS - MEMORY_ACTIVITY.STALLS_L1D_MISS ) / ( CPU_CLK_UNHALTED.THREAD ) , 0 ) )",
940        "MetricGroup": "CacheMisses;MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent",
941        "MetricName": "tma_l1_bound_percent",
942        "ScaleUnit": "1%"
943    },
944    {
945        "BriefDescription": "This metric estimates how often the CPU was stalled due to L2 cache accesses by loads.  Avoiding cache misses (i.e. L1 misses/L2 hits) can improve the latency and increase performance.",
946        "MetricExpr": "100 * ( ( MEMORY_ACTIVITY.STALLS_L1D_MISS - MEMORY_ACTIVITY.STALLS_L2_MISS ) / ( CPU_CLK_UNHALTED.THREAD ) )",
947        "MetricGroup": "CacheMisses;MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent",
948        "MetricName": "tma_l2_bound_percent",
949        "ScaleUnit": "1%"
950    },
951    {
952        "BriefDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core.  Avoiding cache misses (i.e. L2 misses/L3 hits) can improve the latency and increase performance.",
953        "MetricExpr": "100 * ( ( MEMORY_ACTIVITY.STALLS_L2_MISS - MEMORY_ACTIVITY.STALLS_L3_MISS ) / ( CPU_CLK_UNHALTED.THREAD ) )",
954        "MetricGroup": "CacheMisses;MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent",
955        "MetricName": "tma_l3_bound_percent",
956        "ScaleUnit": "1%"
957    },
958    {
959        "BriefDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads. Better caching can improve the latency and increase performance.",
960        "MetricExpr": "100 * ( min( ( ( ( MEMORY_ACTIVITY.STALLS_L3_MISS / ( CPU_CLK_UNHALTED.THREAD ) ) - ( min( ( ( ( ( 1 - ( ( ( 19 * ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_DRAM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + 10 * ( ( MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_FWD * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) ) ) / ( ( 19 * ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_DRAM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + 10 * ( ( MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_FWD * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) ) ) + ( 25 * ( ( MEM_LOAD_RETIRED.LOCAL_PMM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) ) + 33 * ( ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_PMM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) ) ) ) ) ) ) * ( MEMORY_ACTIVITY.STALLS_L3_MISS / ( CPU_CLK_UNHALTED.THREAD ) ) ) if ( ( 1000000 ) * ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_PMM + MEM_LOAD_RETIRED.LOCAL_PMM ) > MEM_LOAD_RETIRED.L1_MISS ) else 0 ) ) , ( 1 ) ) ) ) ) , ( 1 ) ) )",
961        "MetricGroup": "MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent",
962        "MetricName": "tma_dram_bound_percent",
963        "ScaleUnit": "1%"
964    },
965    {
966        "BriefDescription": "This metric roughly estimates (based on idle latencies) how often the CPU was stalled on accesses to external 3D-Xpoint (Crystal Ridge, a.k.a. IXP) memory by loads, PMM stands for Persistent Memory Module. ",
967        "MetricExpr": "100 * ( min( ( ( ( ( 1 - ( ( ( 19 * ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_DRAM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + 10 * ( ( MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_FWD * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) ) ) / ( ( 19 * ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_DRAM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + 10 * ( ( MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_FWD * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) + ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) ) ) + ( 25 * ( ( MEM_LOAD_RETIRED.LOCAL_PMM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) ) + 33 * ( ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_PMM * ( 1 + ( MEM_LOAD_RETIRED.FB_HIT / ( MEM_LOAD_RETIRED.L1_MISS ) ) ) ) ) ) ) ) ) ) * ( MEMORY_ACTIVITY.STALLS_L3_MISS / ( CPU_CLK_UNHALTED.THREAD ) ) ) if ( ( 1000000 ) * ( MEM_LOAD_L3_MISS_RETIRED.REMOTE_PMM + MEM_LOAD_RETIRED.LOCAL_PMM ) > MEM_LOAD_RETIRED.L1_MISS ) else 0 ) ) , ( 1 ) ) )",
968        "MetricGroup": "MemoryBound;Server;TmaL3mem;TmaL3;m_tma_memory_bound_percent",
969        "MetricName": "tma_pmm_bound_percent",
970        "ScaleUnit": "1%"
971    },
972    {
973        "BriefDescription": "This metric estimates how often CPU was stalled  due to RFO store memory accesses; RFO store issue a read-for-ownership request before the write. Even though store accesses do not typically stall out-of-order CPUs; there are few cases where stores can lead to actual stalls. This metric will be flagged should RFO stores be a bottleneck.",
974        "MetricExpr": "100 * ( EXE_ACTIVITY.BOUND_ON_STORES / ( CPU_CLK_UNHALTED.THREAD ) )",
975        "MetricGroup": "MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent",
976        "MetricName": "tma_store_bound_percent",
977        "ScaleUnit": "1%"
978    },
979    {
980        "BriefDescription": "This metric represents fraction of slots where Core non-memory issues were of a bottleneck.  Shortage in hardware compute resources; or dependencies in software's instructions are both categorized under Core Bound. Hence it may indicate the machine ran out of an out-of-order resource; certain execution units are overloaded or dependencies in program's data- or instruction-flow are limiting the performance (e.g. FP-chained long-latency arithmetic operations).",
981        "MetricExpr": "( 100 * ( max( 0 , ( topdown\\-be\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-mem\\-bound / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) ) + ( 0 * slots )",
982        "MetricGroup": "Backend;TmaL2;Compute;m_tma_backend_bound_percent",
983        "MetricName": "tma_core_bound_percent",
984        "ScaleUnit": "1%"
985    },
986    {
987        "BriefDescription": "This metric represents fraction of cycles where the Divider unit was active. Divide and square root instructions are performed by the Divider unit and can take considerably longer latency than integer or Floating Point addition; subtraction; or multiplication.",
988        "MetricExpr": "100 * ( ARITH.DIVIDER_ACTIVE / ( CPU_CLK_UNHALTED.THREAD ) )",
989        "MetricGroup": "TmaL3;m_tma_core_bound_percent",
990        "MetricName": "tma_divider_percent",
991        "ScaleUnit": "1%"
992    },
993    {
994        "BriefDescription": "This metric estimates fraction of cycles the CPU performance was potentially limited due to Core computation issues (non divider-related).  Two distinct categories can be attributed into this metric: (1) heavy data-dependency among contiguous instructions would manifest in this metric - such cases are often referred to as low Instruction Level Parallelism (ILP). (2) Contention on some hardware execution unit other than Divider. For example; when there are too many multiply operations.",
995        "MetricExpr": "( 100 * ( ( EXE_ACTIVITY.EXE_BOUND_0_PORTS + ( EXE_ACTIVITY.1_PORTS_UTIL + ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * cpu@EXE_ACTIVITY.2_PORTS_UTIL\\,umask\\=0xc@ ) ) / ( CPU_CLK_UNHALTED.THREAD ) if ( ARITH.DIVIDER_ACTIVE < ( CYCLE_ACTIVITY.STALLS_TOTAL - EXE_ACTIVITY.BOUND_ON_LOADS ) ) else ( EXE_ACTIVITY.1_PORTS_UTIL + ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * cpu@EXE_ACTIVITY.2_PORTS_UTIL\\,umask\\=0xc@ ) / ( CPU_CLK_UNHALTED.THREAD ) ) ) + ( 0 * slots )",
996        "MetricGroup": "PortsUtil;TmaL3;m_tma_core_bound_percent",
997        "MetricName": "tma_ports_utilization_percent",
998        "ScaleUnit": "1%"
999    },
1000    {
1001        "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired. Ideally; all pipeline slots would be attributed to the Retiring category.  Retiring of 100% would indicate the maximum Pipeline_Width throughput was achieved.  Maximizing Retiring typically increases the Instructions-per-cycle (see IPC metric). Note that a high Retiring value does not necessary mean there is no room for more performance.  For example; Heavy-operations or Microcode Assists are categorized under Retiring. They often indicate suboptimal performance and can often be optimized or avoided. ",
1002        "MetricExpr": "( 100 * ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) + ( 0 * slots )",
1003        "MetricGroup": "TmaL1",
1004        "MetricName": "tma_retiring_percent",
1005        "ScaleUnit": "1%"
1006    },
1007    {
1008        "BriefDescription": "This metric represents fraction of slots where the CPU was retiring light-weight operations -- instructions that require no more than one uop (micro-operation). This correlates with total number of instructions used by the program. A uops-per-instruction (see UPI metric) ratio of 1 or less should be expected for decently optimized software running on Intel Core/Xeon products. While this often indicates efficient X86 instructions were executed; high value does not necessarily mean better performance cannot be achieved.",
1009        "MetricExpr": "( 100 * ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) ) + ( 0 * slots )",
1010        "MetricGroup": "Retire;TmaL2;m_tma_retiring_percent",
1011        "MetricName": "tma_light_operations_percent",
1012        "ScaleUnit": "1%"
1013    },
1014    {
1015        "BriefDescription": "This metric represents overall arithmetic floating-point (FP) operations fraction the CPU has executed (retired). Note this metric's value may exceed its parent due to use of \"Uops\" CountDomain and FMA double-counting.",
1016        "MetricExpr": "100 * ( ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * UOPS_EXECUTED.X87 / UOPS_EXECUTED.THREAD ) + ( ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE + FP_ARITH_INST_RETIRED2.SCALAR ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( min( ( ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.VECTOR ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) , ( 1 ) ) ) + ( cpu@AMX_OPS_RETIRED.BF16\\,cmask\\=0x1@ / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) )",
1017        "MetricGroup": "HPC;TmaL3;m_tma_light_operations_percent",
1018        "MetricName": "tma_fp_arith_percent",
1019        "ScaleUnit": "1%"
1020    },
1021    {
1022        "BriefDescription": "This metric represents overall Integer (Int) select operations fraction the CPU has executed (retired). Vector/Matrix Int operations and shuffles are counted. Note this metric's value may exceed its parent due to use of \"Uops\" CountDomain.",
1023        "MetricExpr": "100 * ( ( ( INT_VEC_RETIRED.ADD_128 + INT_VEC_RETIRED.VNNI_128 ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( ( INT_VEC_RETIRED.ADD_256 + INT_VEC_RETIRED.MUL_256 + INT_VEC_RETIRED.VNNI_256 ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( INT_VEC_RETIRED.SHUFFLES / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) )",
1024        "MetricGroup": "Pipeline;TmaL3;m_tma_light_operations_percent",
1025        "MetricName": "tma_int_operations_percent",
1026        "ScaleUnit": "1%"
1027    },
1028    {
1029        "BriefDescription": "This metric represents fraction of slots where the CPU was retiring memory operations -- uops for memory load or store accesses.",
1030        "MetricExpr": "100 * ( ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) * MEM_UOP_RETIRED.ANY / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) )",
1031        "MetricGroup": "Pipeline;TmaL3;m_tma_light_operations_percent",
1032        "MetricName": "tma_memory_operations_percent",
1033        "ScaleUnit": "1%"
1034    },
1035    {
1036        "BriefDescription": "This metric represents fraction of slots where the CPU was retiring fused instructions -- where one uop can represent multiple contiguous instructions. The instruction pairs of CMP+JCC or DEC+JCC are commonly used examples.",
1037        "MetricExpr": "100 * ( ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) * INST_RETIRED.MACRO_FUSED / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) )",
1038        "MetricGroup": "Pipeline;TmaL3;m_tma_light_operations_percent",
1039        "MetricName": "tma_fused_instructions_percent",
1040        "ScaleUnit": "1%"
1041    },
1042    {
1043        "BriefDescription": "This metric represents fraction of slots where the CPU was retiring branch instructions that were not fused. Non-conditional branches like direct JMP or CALL would count here. Can be used to examine fusible conditional jumps that were not fused.",
1044        "MetricExpr": "100 * ( ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) * ( BR_INST_RETIRED.ALL_BRANCHES - INST_RETIRED.MACRO_FUSED ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) )",
1045        "MetricGroup": "Pipeline;TmaL3;m_tma_light_operations_percent",
1046        "MetricName": "tma_non_fused_branches_percent",
1047        "ScaleUnit": "1%"
1048    },
1049    {
1050        "BriefDescription": "This metric represents fraction of slots where the CPU was retiring NOP (no op) instructions. Compilers often use NOPs for certain address alignments - e.g. start address of a function or loop body.",
1051        "MetricExpr": "100 * ( ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) * INST_RETIRED.NOP / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) )",
1052        "MetricGroup": "Pipeline;TmaL3;m_tma_light_operations_percent",
1053        "MetricName": "tma_nop_instructions_percent",
1054        "ScaleUnit": "1%"
1055    },
1056    {
1057        "BriefDescription": "This metric represents the remaining light uops fraction the CPU has executed - remaining means not covered by other sibling nodes. May undercount due to FMA double counting",
1058        "MetricExpr": "100 * ( max( 0 , ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) - ( ( ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * UOPS_EXECUTED.X87 / UOPS_EXECUTED.THREAD ) + ( ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE + FP_ARITH_INST_RETIRED2.SCALAR ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( min( ( ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.VECTOR ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) , ( 1 ) ) ) + ( cpu@AMX_OPS_RETIRED.BF16\\,cmask\\=0x1@ / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) ) + ( ( ( INT_VEC_RETIRED.ADD_128 + INT_VEC_RETIRED.VNNI_128 ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( ( INT_VEC_RETIRED.ADD_256 + INT_VEC_RETIRED.MUL_256 + INT_VEC_RETIRED.VNNI_256 ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( INT_VEC_RETIRED.SHUFFLES / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) ) + ( ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) * MEM_UOP_RETIRED.ANY / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) * INST_RETIRED.MACRO_FUSED / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) * ( BR_INST_RETIRED.ALL_BRANCHES - INST_RETIRED.MACRO_FUSED ) / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) + ( ( max( 0 , ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) ) * INST_RETIRED.NOP / ( ( topdown\\-retiring / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) * ( slots ) ) ) ) ) )",
1059        "MetricGroup": "Pipeline;TmaL3;m_tma_light_operations_percent",
1060        "MetricName": "tma_other_light_ops_percent",
1061        "ScaleUnit": "1%"
1062    },
1063    {
1064        "BriefDescription": "This metric represents fraction of slots where the CPU was retiring heavy-weight operations -- instructions that require two or more uops or microcoded sequences. This highly-correlates with the uop length of these instructions/sequences.",
1065        "MetricExpr": "( 100 * ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) ) + ( 0 * slots )",
1066        "MetricGroup": "Retire;TmaL2;m_tma_retiring_percent",
1067        "MetricName": "tma_heavy_operations_percent",
1068        "ScaleUnit": "1%"
1069    },
1070    {
1071        "BriefDescription": "This metric represents fraction of slots where the CPU was retiring instructions that that are decoder into two or up to ([SNB+] four; [ADL+] five) uops. This highly-correlates with the number of uops in such instructions.",
1072        "MetricExpr": "100 * ( ( topdown\\-heavy\\-ops / ( topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound ) ) - ( UOPS_RETIRED.MS / ( slots ) ) )",
1073        "MetricGroup": "TmaL3;m_tma_heavy_operations_percent",
1074        "MetricName": "tma_few_uops_instructions_percent",
1075        "ScaleUnit": "1%"
1076    },
1077    {
1078        "BriefDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit.  The MS is used for CISC instructions not supported by the default decoders (like repeat move strings; or CPUID); or by microcode assists used to address some operation modes (like in Floating Point assists). These cases can often be avoided.",
1079        "MetricExpr": "100 * ( UOPS_RETIRED.MS / ( slots ) )",
1080        "MetricGroup": "MicroSeq;TmaL3;m_tma_heavy_operations_percent",
1081        "MetricName": "tma_microcode_sequencer_percent",
1082        "ScaleUnit": "1%"
1083    }
1084]
1085