xref: /linux/tools/perf/pmu-events/arch/x86/alderlaken/adln-metrics.json (revision 7482c19173b7eb044d476b3444d7ee55bc669d03)
1[
2    {
3        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to frontend stalls.",
4        "MetricExpr": "TOPDOWN_FE_BOUND.ALL / SLOTS",
5        "MetricGroup": "TopdownL1",
6        "MetricName": "tma_frontend_bound",
7        "ScaleUnit": "100%"
8    },
9    {
10        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
11        "MetricExpr": "TOPDOWN_FE_BOUND.FRONTEND_LATENCY / SLOTS",
12        "MetricGroup": "TopdownL2;tma_frontend_bound_group",
13        "MetricName": "tma_frontend_latency",
14        "ScaleUnit": "100%"
15    },
16    {
17        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to instruction cache misses.",
18        "MetricExpr": "TOPDOWN_FE_BOUND.ICACHE / SLOTS",
19        "MetricGroup": "TopdownL3;tma_frontend_latency_group",
20        "MetricName": "tma_icache",
21        "ScaleUnit": "100%"
22    },
23    {
24        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.",
25        "MetricExpr": "TOPDOWN_FE_BOUND.ITLB / SLOTS",
26        "MetricGroup": "TopdownL3;tma_frontend_latency_group",
27        "MetricName": "tma_itlb",
28        "ScaleUnit": "100%"
29    },
30    {
31        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend",
32        "MetricExpr": "TOPDOWN_FE_BOUND.BRANCH_DETECT / SLOTS",
33        "MetricGroup": "TopdownL3;tma_frontend_latency_group",
34        "MetricName": "tma_branch_detect",
35        "PublicDescription": "Counts the number of issue slots  that were not delivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
36        "ScaleUnit": "100%"
37    },
38    {
39        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to BTCLEARS, which occurs when the Branch Target Buffer (BTB) predicts a taken branch.",
40        "MetricExpr": "TOPDOWN_FE_BOUND.BRANCH_RESTEER / SLOTS",
41        "MetricGroup": "TopdownL3;tma_frontend_latency_group",
42        "MetricName": "tma_branch_resteer",
43        "ScaleUnit": "100%"
44    },
45    {
46        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
47        "MetricExpr": "TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH / SLOTS",
48        "MetricGroup": "TopdownL2;tma_frontend_bound_group",
49        "MetricName": "tma_frontend_bandwidth",
50        "ScaleUnit": "100%"
51    },
52    {
53        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to the microcode sequencer (MS).",
54        "MetricExpr": "TOPDOWN_FE_BOUND.CISC / SLOTS",
55        "MetricGroup": "TopdownL3;tma_frontend_bandwidth_group",
56        "MetricName": "tma_cisc",
57        "ScaleUnit": "100%"
58    },
59    {
60        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to decode stalls.",
61        "MetricExpr": "TOPDOWN_FE_BOUND.DECODE / SLOTS",
62        "MetricGroup": "TopdownL3;tma_frontend_bandwidth_group",
63        "MetricName": "tma_decode",
64        "ScaleUnit": "100%"
65    },
66    {
67        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to wrong predecodes.",
68        "MetricExpr": "TOPDOWN_FE_BOUND.PREDECODE / SLOTS",
69        "MetricGroup": "TopdownL3;tma_frontend_bandwidth_group",
70        "MetricName": "tma_predecode",
71        "ScaleUnit": "100%"
72    },
73    {
74        "BriefDescription": "Counts the number of issue slots  that were not delivered by the frontend due to other common frontend stalls not categorized.",
75        "MetricExpr": "TOPDOWN_FE_BOUND.OTHER / SLOTS",
76        "MetricGroup": "TopdownL3;tma_frontend_bandwidth_group",
77        "MetricName": "tma_other_fb",
78        "ScaleUnit": "100%"
79    },
80    {
81        "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear",
82        "MetricExpr": "(SLOTS - (TOPDOWN_FE_BOUND.ALL + TOPDOWN_BE_BOUND.ALL + TOPDOWN_RETIRING.ALL)) / SLOTS",
83        "MetricGroup": "TopdownL1",
84        "MetricName": "tma_bad_speculation",
85        "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window including relevant microcode flows and while uops are not yet available in the instruction queue (IQ). Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear.",
86        "ScaleUnit": "100%"
87    },
88    {
89        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to branch mispredicts.",
90        "MetricExpr": "TOPDOWN_BAD_SPECULATION.MISPREDICT / SLOTS",
91        "MetricGroup": "TopdownL2;tma_bad_speculation_group",
92        "MetricName": "tma_branch_mispredicts",
93        "ScaleUnit": "100%"
94    },
95    {
96        "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
97        "MetricExpr": "TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS / SLOTS",
98        "MetricGroup": "TopdownL2;tma_bad_speculation_group",
99        "MetricName": "tma_machine_clears",
100        "ScaleUnit": "100%"
101    },
102    {
103        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to a machine clear (slow nuke).",
104        "MetricExpr": "TOPDOWN_BAD_SPECULATION.NUKE / SLOTS",
105        "MetricGroup": "TopdownL3;tma_machine_clears_group",
106        "MetricName": "tma_nuke",
107        "ScaleUnit": "100%"
108    },
109    {
110        "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to SMC. ",
111        "MetricExpr": "tma_nuke * (MACHINE_CLEARS.SMC / MACHINE_CLEARS.SLOW)",
112        "MetricGroup": "TopdownL4;tma_nuke_group",
113        "MetricName": "tma_smc",
114        "ScaleUnit": "100%"
115    },
116    {
117        "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to memory ordering. ",
118        "MetricExpr": "tma_nuke * (MACHINE_CLEARS.MEMORY_ORDERING / MACHINE_CLEARS.SLOW)",
119        "MetricGroup": "TopdownL4;tma_nuke_group",
120        "MetricName": "tma_memory_ordering",
121        "ScaleUnit": "100%"
122    },
123    {
124        "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to FP assists. ",
125        "MetricExpr": "tma_nuke * (MACHINE_CLEARS.FP_ASSIST / MACHINE_CLEARS.SLOW)",
126        "MetricGroup": "TopdownL4;tma_nuke_group",
127        "MetricName": "tma_fp_assist",
128        "ScaleUnit": "100%"
129    },
130    {
131        "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to memory disambiguation. ",
132        "MetricExpr": "tma_nuke * (MACHINE_CLEARS.DISAMBIGUATION / MACHINE_CLEARS.SLOW)",
133        "MetricGroup": "TopdownL4;tma_nuke_group",
134        "MetricName": "tma_disambiguation",
135        "ScaleUnit": "100%"
136    },
137    {
138        "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to page faults. ",
139        "MetricExpr": "tma_nuke * (MACHINE_CLEARS.PAGE_FAULT / MACHINE_CLEARS.SLOW)",
140        "MetricGroup": "TopdownL4;tma_nuke_group",
141        "MetricName": "tma_page_fault",
142        "ScaleUnit": "100%"
143    },
144    {
145        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to a machine clear classified as a fast nuke due to memory ordering, memory disambiguation and memory renaming.",
146        "MetricExpr": "TOPDOWN_BAD_SPECULATION.FASTNUKE / SLOTS",
147        "MetricGroup": "TopdownL3;tma_machine_clears_group",
148        "MetricName": "tma_fast_nuke",
149        "ScaleUnit": "100%"
150    },
151    {
152        "BriefDescription": "Counts the total number of issue slots  that were not consumed by the backend due to backend stalls",
153        "MetricExpr": "TOPDOWN_BE_BOUND.ALL / SLOTS",
154        "MetricGroup": "TopdownL1",
155        "MetricName": "tma_backend_bound",
156        "PublicDescription": "Counts the total number of issue slots  that were not consumed by the backend due to backend stalls.  Note that uops must be available for consumption in order for this event to count.  If a uop is not available (IQ is empty), this event will not count.   The rest of these subevents count backend stalls, in cycles, due to an outstanding request which is memory bound vs core bound.   The subevents are not slot based events and therefore can not be precisely added or subtracted from the Backend_Bound_Aux subevents which are slot based.",
157        "ScaleUnit": "100%"
158    },
159    {
160        "BriefDescription": "Counts the number of cycles due to backend bound stalls that are core execution bound and not attributed to outstanding demand load or store stalls. ",
161        "MetricExpr": "max(0, tma_backend_bound - tma_load_store_bound)",
162        "MetricGroup": "TopdownL2;tma_backend_bound_group",
163        "MetricName": "tma_core_bound",
164        "ScaleUnit": "100%"
165    },
166    {
167        "BriefDescription": "Counts the number of cycles the core is stalled due to stores or loads. ",
168        "MetricExpr": "min(tma_backend_bound, LD_HEAD.ANY_AT_RET / CLKS + tma_store_bound)",
169        "MetricGroup": "TopdownL2;tma_backend_bound_group",
170        "MetricName": "tma_load_store_bound",
171        "ScaleUnit": "100%"
172    },
173    {
174        "BriefDescription": "Counts the number of cycles the core is stalled due to store buffer full.",
175        "MetricExpr": "tma_st_buffer",
176        "MetricGroup": "TopdownL3;tma_load_store_bound_group",
177        "MetricName": "tma_store_bound",
178        "ScaleUnit": "100%"
179    },
180    {
181        "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a load block.",
182        "MetricExpr": "LD_HEAD.L1_BOUND_AT_RET / CLKS",
183        "MetricGroup": "TopdownL3;tma_load_store_bound_group",
184        "MetricName": "tma_l1_bound",
185        "ScaleUnit": "100%"
186    },
187    {
188        "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a store forward block.",
189        "MetricExpr": "LD_HEAD.ST_ADDR_AT_RET / CLKS",
190        "MetricGroup": "TopdownL4;tma_l1_bound_group",
191        "MetricName": "tma_store_fwd",
192        "ScaleUnit": "100%"
193    },
194    {
195        "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a first level TLB miss.",
196        "MetricExpr": "LD_HEAD.DTLB_MISS_AT_RET / CLKS",
197        "MetricGroup": "TopdownL4;tma_l1_bound_group",
198        "MetricName": "tma_stlb_hit",
199        "ScaleUnit": "100%"
200    },
201    {
202        "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a second level TLB miss requiring a page walk.",
203        "MetricExpr": "LD_HEAD.PGWALK_AT_RET / CLKS",
204        "MetricGroup": "TopdownL4;tma_l1_bound_group",
205        "MetricName": "tma_stlb_miss",
206        "ScaleUnit": "100%"
207    },
208    {
209        "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a number of other load blocks.",
210        "MetricExpr": "LD_HEAD.OTHER_AT_RET / CLKS",
211        "MetricGroup": "TopdownL4;tma_l1_bound_group",
212        "MetricName": "tma_other_l1",
213        "ScaleUnit": "100%"
214    },
215    {
216        "BriefDescription": "Counts the number of cycles a core is stalled due to a demand load which hit in the L2 Cache.",
217        "MetricExpr": "MEM_BOUND_STALLS.LOAD_L2_HIT / CLKS - MEM_BOUND_STALLS_AT_RET_CORRECTION * MEM_BOUND_STALLS.LOAD_L2_HIT / MEM_BOUND_STALLS.LOAD",
218        "MetricGroup": "TopdownL3;tma_load_store_bound_group",
219        "MetricName": "tma_l2_bound",
220        "ScaleUnit": "100%"
221    },
222    {
223        "BriefDescription": "Counts the number of cycles a core is stalled due to a demand load which hit in the Last Level Cache (LLC) or other core with HITE/F/M.",
224        "MetricExpr": "MEM_BOUND_STALLS.LOAD_LLC_HIT / CLKS - MEM_BOUND_STALLS_AT_RET_CORRECTION * MEM_BOUND_STALLS.LOAD_LLC_HIT / MEM_BOUND_STALLS.LOAD",
225        "MetricGroup": "TopdownL3;tma_load_store_bound_group",
226        "MetricName": "tma_l3_bound",
227        "ScaleUnit": "100%"
228    },
229    {
230        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hit in DRAM or MMIO (Non-DRAM).",
231        "MetricExpr": "MEM_BOUND_STALLS.LOAD_DRAM_HIT / CLKS - MEM_BOUND_STALLS_AT_RET_CORRECTION * MEM_BOUND_STALLS.LOAD_DRAM_HIT / MEM_BOUND_STALLS.LOAD",
232        "MetricGroup": "TopdownL3;tma_load_store_bound_group",
233        "MetricName": "tma_dram_bound",
234        "ScaleUnit": "100%"
235    },
236    {
237        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hits in the L2, LLC, DRAM or MMIO (Non-DRAM) but could not be correctly attributed or cycles in which the load miss is waiting on a request buffer.",
238        "MetricExpr": "max(0, tma_load_store_bound - (tma_store_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound))",
239        "MetricGroup": "TopdownL3;tma_load_store_bound_group",
240        "MetricName": "tma_other_load_store",
241        "ScaleUnit": "100%"
242    },
243    {
244        "BriefDescription": "Counts the total number of issue slots  that were not consumed by the backend due to backend stalls",
245        "MetricExpr": "tma_backend_bound",
246        "MetricGroup": "TopdownL1",
247        "MetricName": "tma_backend_bound_aux",
248        "PublicDescription": "Counts the total number of issue slots  that were not consumed by the backend due to backend stalls.  Note that UOPS must be available for consumption in order for this event to count.  If a uop is not available (IQ is empty), this event will not count.  All of these subevents count backend stalls, in slots, due to a resource limitation.   These are not cycle based events and therefore can not be precisely added or subtracted from the Backend_Bound subevents which are cycle based.  These subevents are supplementary to Backend_Bound and can be used to analyze results from a resource perspective at allocation.  ",
249        "ScaleUnit": "100%"
250    },
251    {
252        "BriefDescription": "Counts the total number of issue slots  that were not consumed by the backend due to backend stalls",
253        "MetricExpr": "tma_backend_bound",
254        "MetricGroup": "TopdownL2;tma_backend_bound_aux_group",
255        "MetricName": "tma_resource_bound",
256        "PublicDescription": "Counts the total number of issue slots  that were not consumed by the backend due to backend stalls.  Note that uops must be available for consumption in order for this event to count.  If a uop is not available (IQ is empty), this event will not count. ",
257        "ScaleUnit": "100%"
258    },
259    {
260        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to memory reservation stalls in which a scheduler is not able to accept uops.",
261        "MetricExpr": "TOPDOWN_BE_BOUND.MEM_SCHEDULER / SLOTS",
262        "MetricGroup": "TopdownL3;tma_resource_bound_group",
263        "MetricName": "tma_mem_scheduler",
264        "ScaleUnit": "100%"
265    },
266    {
267        "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to store buffer full",
268        "MetricExpr": "tma_mem_scheduler * (MEM_SCHEDULER_BLOCK.ST_BUF / MEM_SCHEDULER_BLOCK.ALL)",
269        "MetricGroup": "TopdownL4;tma_mem_scheduler_group",
270        "MetricName": "tma_st_buffer",
271        "ScaleUnit": "100%"
272    },
273    {
274        "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to load buffer full",
275        "MetricExpr": "tma_mem_scheduler * MEM_SCHEDULER_BLOCK.LD_BUF / MEM_SCHEDULER_BLOCK.ALL",
276        "MetricGroup": "TopdownL4;tma_mem_scheduler_group",
277        "MetricName": "tma_ld_buffer",
278        "ScaleUnit": "100%"
279    },
280    {
281        "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to RSV full relative ",
282        "MetricExpr": "tma_mem_scheduler * MEM_SCHEDULER_BLOCK.RSV / MEM_SCHEDULER_BLOCK.ALL",
283        "MetricGroup": "TopdownL4;tma_mem_scheduler_group",
284        "MetricName": "tma_rsv",
285        "ScaleUnit": "100%"
286    },
287    {
288        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to IEC or FPC RAT stalls, which can be due to FIQ or IEC reservation stalls in which the integer, floating point or SIMD scheduler is not able to accept uops.",
289        "MetricExpr": "TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER / SLOTS",
290        "MetricGroup": "TopdownL3;tma_resource_bound_group",
291        "MetricName": "tma_non_mem_scheduler",
292        "ScaleUnit": "100%"
293    },
294    {
295        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to the physical register file unable to accept an entry (marble stalls).",
296        "MetricExpr": "TOPDOWN_BE_BOUND.REGISTER / SLOTS",
297        "MetricGroup": "TopdownL3;tma_resource_bound_group",
298        "MetricName": "tma_register",
299        "ScaleUnit": "100%"
300    },
301    {
302        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to the reorder buffer being full (ROB stalls).",
303        "MetricExpr": "TOPDOWN_BE_BOUND.REORDER_BUFFER / SLOTS",
304        "MetricGroup": "TopdownL3;tma_resource_bound_group",
305        "MetricName": "tma_reorder_buffer",
306        "ScaleUnit": "100%"
307    },
308    {
309        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to certain allocation restrictions.",
310        "MetricExpr": "TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS / SLOTS",
311        "MetricGroup": "TopdownL3;tma_resource_bound_group",
312        "MetricName": "tma_alloc_restriction",
313        "ScaleUnit": "100%"
314    },
315    {
316        "BriefDescription": "Counts the number of issue slots  that were not consumed by the backend due to scoreboards from the instruction queue (IQ), jump execution unit (JEU), or microcode sequencer (MS).",
317        "MetricExpr": "TOPDOWN_BE_BOUND.SERIALIZATION / SLOTS",
318        "MetricGroup": "TopdownL3;tma_resource_bound_group",
319        "MetricName": "tma_serialization",
320        "ScaleUnit": "100%"
321    },
322    {
323        "BriefDescription": "Counts the numer of issue slots  that result in retirement slots. ",
324        "MetricExpr": "TOPDOWN_RETIRING.ALL / SLOTS",
325        "MetricGroup": "TopdownL1",
326        "MetricName": "tma_retiring",
327        "ScaleUnit": "100%"
328    },
329    {
330        "BriefDescription": "Counts the number of uops that are not from the microsequencer. ",
331        "MetricExpr": "(TOPDOWN_RETIRING.ALL - UOPS_RETIRED.MS) / SLOTS",
332        "MetricGroup": "TopdownL2;tma_retiring_group",
333        "MetricName": "tma_base",
334        "ScaleUnit": "100%"
335    },
336    {
337        "BriefDescription": "Counts the number of floating point operations per uop with all default weighting.",
338        "MetricExpr": "UOPS_RETIRED.FPDIV / SLOTS",
339        "MetricGroup": "TopdownL3;tma_base_group",
340        "MetricName": "tma_fp_uops",
341        "ScaleUnit": "100%"
342    },
343    {
344        "BriefDescription": "Counts the number of uops retired excluding ms and fp div uops.",
345        "MetricExpr": "(TOPDOWN_RETIRING.ALL - UOPS_RETIRED.MS - UOPS_RETIRED.FPDIV) / SLOTS",
346        "MetricGroup": "TopdownL3;tma_base_group",
347        "MetricName": "tma_other_ret",
348        "ScaleUnit": "100%"
349    },
350    {
351        "BriefDescription": "Counts the number of uops that are from the complex flows issued by the micro-sequencer (MS)",
352        "MetricExpr": "UOPS_RETIRED.MS / SLOTS",
353        "MetricGroup": "TopdownL2;tma_retiring_group",
354        "MetricName": "tma_ms_uops",
355        "PublicDescription": "Counts the number of uops that are from the complex flows issued by the micro-sequencer (MS).  This includes uops from flows due to complex instructions, faults, assists, and inserted flows.",
356        "ScaleUnit": "100%"
357    },
358    {
359        "BriefDescription": "",
360        "MetricExpr": "CPU_CLK_UNHALTED.CORE",
361        "MetricName": "CLKS"
362    },
363    {
364        "BriefDescription": "",
365        "MetricExpr": "CPU_CLK_UNHALTED.CORE_P",
366        "MetricName": "CLKS_P"
367    },
368    {
369        "BriefDescription": "",
370        "MetricExpr": "5 * CLKS",
371        "MetricName": "SLOTS"
372    },
373    {
374        "BriefDescription": "Instructions Per Cycle",
375        "MetricExpr": "INST_RETIRED.ANY / CLKS",
376        "MetricName": "IPC"
377    },
378    {
379        "BriefDescription": "Cycles Per Instruction",
380        "MetricExpr": "CLKS / INST_RETIRED.ANY",
381        "MetricName": "CPI"
382    },
383    {
384        "BriefDescription": "Uops Per Instruction",
385        "MetricExpr": "UOPS_RETIRED.ALL / INST_RETIRED.ANY",
386        "MetricName": "UPI"
387    },
388    {
389        "BriefDescription": "Percentage of total non-speculative loads with a store forward or unknown store address block",
390        "MetricExpr": "100 * LD_BLOCKS.DATA_UNKNOWN / MEM_UOPS_RETIRED.ALL_LOADS",
391        "MetricName": "Store_Fwd_Blocks"
392    },
393    {
394        "BriefDescription": "Percentage of total non-speculative loads with a address aliasing block",
395        "MetricExpr": "100 * LD_BLOCKS.4K_ALIAS / MEM_UOPS_RETIRED.ALL_LOADS",
396        "MetricName": "Address_Alias_Blocks"
397    },
398    {
399        "BriefDescription": "Percentage of total non-speculative loads that are splits",
400        "MetricExpr": "100 * MEM_UOPS_RETIRED.SPLIT_LOADS / MEM_UOPS_RETIRED.ALL_LOADS",
401        "MetricName": "Load_Splits"
402    },
403    {
404        "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)",
405        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES",
406        "MetricName": "IpBranch"
407    },
408    {
409        "BriefDescription": "Instruction per (near) call (lower number means higher occurrence rate)",
410        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.CALL",
411        "MetricName": "IpCall"
412    },
413    {
414        "BriefDescription": "Instructions per Load",
415        "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS",
416        "MetricName": "IpLoad"
417    },
418    {
419        "BriefDescription": "Instructions per Store",
420        "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES",
421        "MetricName": "IpStore"
422    },
423    {
424        "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction",
425        "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES",
426        "MetricName": "IpMispredict"
427    },
428    {
429        "BriefDescription": "Instructions per Far Branch",
430        "MetricExpr": "INST_RETIRED.ANY / (BR_INST_RETIRED.FAR_BRANCH / 2)",
431        "MetricName": "IpFarBranch"
432    },
433    {
434        "BriefDescription": "Ratio of all branches which mispredict",
435        "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.ALL_BRANCHES",
436        "MetricName": "Branch_Mispredict_Ratio"
437    },
438    {
439        "BriefDescription": "Ratio between Mispredicted branches and unknown branches",
440        "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / BACLEARS.ANY",
441        "MetricName": "Branch_Mispredict_to_Unknown_Branch_Ratio"
442    },
443    {
444        "BriefDescription": "Percentage of all uops which are ucode ops",
445        "MetricExpr": "100 * UOPS_RETIRED.MS / UOPS_RETIRED.ALL",
446        "MetricName": "Microcode_Uop_Ratio"
447    },
448    {
449        "BriefDescription": "Percentage of all uops which are FPDiv uops",
450        "MetricExpr": "100 * UOPS_RETIRED.FPDIV / UOPS_RETIRED.ALL",
451        "MetricName": "FPDiv_Uop_Ratio"
452    },
453    {
454        "BriefDescription": "Percentage of all uops which are IDiv uops",
455        "MetricExpr": "100 * UOPS_RETIRED.IDIV / UOPS_RETIRED.ALL",
456        "MetricName": "IDiv_Uop_Ratio"
457    },
458    {
459        "BriefDescription": "Percentage of all uops which are x87 uops",
460        "MetricExpr": "100 * UOPS_RETIRED.X87 / UOPS_RETIRED.ALL",
461        "MetricName": "X87_Uop_Ratio"
462    },
463    {
464        "BriefDescription": "Average Frequency Utilization relative nominal frequency",
465        "MetricExpr": "CLKS / CPU_CLK_UNHALTED.REF_TSC",
466        "MetricName": "Turbo_Utilization"
467    },
468    {
469        "BriefDescription": "Fraction of cycles spent in Kernel mode",
470        "MetricExpr": "cpu@CPU_CLK_UNHALTED.CORE@k / CPU_CLK_UNHALTED.CORE",
471        "MetricName": "Kernel_Utilization"
472    },
473    {
474        "BriefDescription": "Average CPU Utilization",
475        "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC",
476        "MetricName": "CPU_Utilization"
477    },
478    {
479        "BriefDescription": "Cycle cost per L2 hit",
480        "MetricExpr": "MEM_BOUND_STALLS.LOAD_L2_HIT / MEM_LOAD_UOPS_RETIRED.L2_HIT",
481        "MetricName": "Cycles_per_Demand_Load_L2_Hit"
482    },
483    {
484        "BriefDescription": "Cycle cost per LLC hit",
485        "MetricExpr": "MEM_BOUND_STALLS.LOAD_LLC_HIT / MEM_LOAD_UOPS_RETIRED.L3_HIT",
486        "MetricName": "Cycles_per_Demand_Load_L3_Hit"
487    },
488    {
489        "BriefDescription": "Cycle cost per DRAM hit",
490        "MetricExpr": "MEM_BOUND_STALLS.LOAD_DRAM_HIT / MEM_LOAD_UOPS_RETIRED.DRAM_HIT",
491        "MetricName": "Cycles_per_Demand_Load_DRAM_Hit"
492    },
493    {
494        "BriefDescription": "Percent of instruction miss cost that hit in the L2",
495        "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_L2_HIT / MEM_BOUND_STALLS.IFETCH",
496        "MetricName": "Inst_Miss_Cost_L2Hit_Percent"
497    },
498    {
499        "BriefDescription": "Percent of instruction miss cost that hit in the L3",
500        "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_LLC_HIT / MEM_BOUND_STALLS.IFETCH",
501        "MetricName": "Inst_Miss_Cost_L3Hit_Percent"
502    },
503    {
504        "BriefDescription": "Percent of instruction miss cost that hit in DRAM",
505        "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_DRAM_HIT / MEM_BOUND_STALLS.IFETCH",
506        "MetricName": "Inst_Miss_Cost_DRAMHit_Percent"
507    },
508    {
509        "BriefDescription": "load ops retired per 1000 instruction",
510        "MetricExpr": "1e3 * MEM_UOPS_RETIRED.ALL_LOADS / INST_RETIRED.ANY",
511        "MetricName": "MemLoadPKI"
512    },
513    {
514        "BriefDescription": "C1 residency percent per core",
515        "MetricExpr": "cstate_core@c1\\-residency@ / TSC",
516        "MetricGroup": "Power",
517        "MetricName": "C1_Core_Residency",
518        "ScaleUnit": "100%"
519    },
520    {
521        "BriefDescription": "C6 residency percent per core",
522        "MetricExpr": "cstate_core@c6\\-residency@ / TSC",
523        "MetricGroup": "Power",
524        "MetricName": "C6_Core_Residency",
525        "ScaleUnit": "100%"
526    },
527    {
528        "BriefDescription": "C7 residency percent per core",
529        "MetricExpr": "cstate_core@c7\\-residency@ / TSC",
530        "MetricGroup": "Power",
531        "MetricName": "C7_Core_Residency",
532        "ScaleUnit": "100%"
533    },
534    {
535        "BriefDescription": "C2 residency percent per package",
536        "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC",
537        "MetricGroup": "Power",
538        "MetricName": "C2_Pkg_Residency",
539        "ScaleUnit": "100%"
540    },
541    {
542        "BriefDescription": "C3 residency percent per package",
543        "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC",
544        "MetricGroup": "Power",
545        "MetricName": "C3_Pkg_Residency",
546        "ScaleUnit": "100%"
547    },
548    {
549        "BriefDescription": "C6 residency percent per package",
550        "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC",
551        "MetricGroup": "Power",
552        "MetricName": "C6_Pkg_Residency",
553        "ScaleUnit": "100%"
554    },
555    {
556        "BriefDescription": "C7 residency percent per package",
557        "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC",
558        "MetricGroup": "Power",
559        "MetricName": "C7_Pkg_Residency",
560        "ScaleUnit": "100%"
561    },
562    {
563        "BriefDescription": "C8 residency percent per package",
564        "MetricExpr": "cstate_pkg@c8\\-residency@ / TSC",
565        "MetricGroup": "Power",
566        "MetricName": "C8_Pkg_Residency",
567        "ScaleUnit": "100%"
568    },
569    {
570        "BriefDescription": "C9 residency percent per package",
571        "MetricExpr": "cstate_pkg@c9\\-residency@ / TSC",
572        "MetricGroup": "Power",
573        "MetricName": "C9_Pkg_Residency",
574        "ScaleUnit": "100%"
575    },
576    {
577        "BriefDescription": "C10 residency percent per package",
578        "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC",
579        "MetricGroup": "Power",
580        "MetricName": "C10_Pkg_Residency",
581        "ScaleUnit": "100%"
582    }
583]
584