~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/perf/pmu-events/arch/x86/alderlake/adl-metrics.json

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 [
  2     {
  3         "BriefDescription": "C10 residency percent per package",
  4         "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC",
  5         "MetricGroup": "Power",
  6         "MetricName": "C10_Pkg_Residency",
  7         "ScaleUnit": "100%"
  8     },
  9     {
 10         "BriefDescription": "C1 residency percent per core",
 11         "MetricExpr": "cstate_core@c1\\-residency@ / TSC",
 12         "MetricGroup": "Power",
 13         "MetricName": "C1_Core_Residency",
 14         "ScaleUnit": "100%"
 15     },
 16     {
 17         "BriefDescription": "C2 residency percent per package",
 18         "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC",
 19         "MetricGroup": "Power",
 20         "MetricName": "C2_Pkg_Residency",
 21         "ScaleUnit": "100%"
 22     },
 23     {
 24         "BriefDescription": "C3 residency percent per package",
 25         "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC",
 26         "MetricGroup": "Power",
 27         "MetricName": "C3_Pkg_Residency",
 28         "ScaleUnit": "100%"
 29     },
 30     {
 31         "BriefDescription": "C6 residency percent per core",
 32         "MetricExpr": "cstate_core@c6\\-residency@ / TSC",
 33         "MetricGroup": "Power",
 34         "MetricName": "C6_Core_Residency",
 35         "ScaleUnit": "100%"
 36     },
 37     {
 38         "BriefDescription": "C6 residency percent per package",
 39         "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC",
 40         "MetricGroup": "Power",
 41         "MetricName": "C6_Pkg_Residency",
 42         "ScaleUnit": "100%"
 43     },
 44     {
 45         "BriefDescription": "C7 residency percent per core",
 46         "MetricExpr": "cstate_core@c7\\-residency@ / TSC",
 47         "MetricGroup": "Power",
 48         "MetricName": "C7_Core_Residency",
 49         "ScaleUnit": "100%"
 50     },
 51     {
 52         "BriefDescription": "C7 residency percent per package",
 53         "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC",
 54         "MetricGroup": "Power",
 55         "MetricName": "C7_Pkg_Residency",
 56         "ScaleUnit": "100%"
 57     },
 58     {
 59         "BriefDescription": "C8 residency percent per package",
 60         "MetricExpr": "cstate_pkg@c8\\-residency@ / TSC",
 61         "MetricGroup": "Power",
 62         "MetricName": "C8_Pkg_Residency",
 63         "ScaleUnit": "100%"
 64     },
 65     {
 66         "BriefDescription": "C9 residency percent per package",
 67         "MetricExpr": "cstate_pkg@c9\\-residency@ / TSC",
 68         "MetricGroup": "Power",
 69         "MetricName": "C9_Pkg_Residency",
 70         "ScaleUnit": "100%"
 71     },
 72     {
 73         "BriefDescription": "Percentage of cycles spent in System Management Interrupts.",
 74         "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)",
 75         "MetricGroup": "smi",
 76         "MetricName": "smi_cycles",
 77         "MetricThreshold": "smi_cycles > 0.1",
 78         "ScaleUnit": "100%"
 79     },
 80     {
 81         "BriefDescription": "Number of SMI interrupts.",
 82         "MetricExpr": "msr@smi@",
 83         "MetricGroup": "smi",
 84         "MetricName": "smi_num",
 85         "ScaleUnit": "1SMI#"
 86     },
 87     {
 88         "BriefDescription": "Percentage of cycles in aborted transactions.",
 89         "MetricExpr": "(max(cycles\\-t - cycles\\-ct, 0) / cycles if has_event(cycles\\-t) else 0)",
 90         "MetricGroup": "transaction",
 91         "MetricName": "tsx_aborted_cycles",
 92         "ScaleUnit": "100%"
 93     },
 94     {
 95         "BriefDescription": "Number of cycles within a transaction divided by the number of elisions.",
 96         "MetricExpr": "(cycles\\-t / el\\-start if has_event(el\\-start) else 0)",
 97         "MetricGroup": "transaction",
 98         "MetricName": "tsx_cycles_per_elision",
 99         "ScaleUnit": "1cycles / elision"
100     },
101     {
102         "BriefDescription": "Number of cycles within a transaction divided by the number of transactions.",
103         "MetricExpr": "(cycles\\-t / tx\\-start if has_event(cycles\\-t) else 0)",
104         "MetricGroup": "transaction",
105         "MetricName": "tsx_cycles_per_transaction",
106         "ScaleUnit": "1cycles / transaction"
107     },
108     {
109         "BriefDescription": "Percentage of cycles within a transaction region.",
110         "MetricExpr": "(cycles\\-t / cycles if has_event(cycles\\-t) else 0)",
111         "MetricGroup": "transaction",
112         "MetricName": "tsx_transactional_cycles",
113         "ScaleUnit": "100%"
114     },
115     {
116         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to certain allocation restrictions",
117         "MetricExpr": "tma_core_bound",
118         "MetricGroup": "TopdownL3;tma_L3_group;tma_core_bound_group",
119         "MetricName": "tma_allocation_restriction",
120         "MetricThreshold": "tma_allocation_restriction > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.1)",
121         "ScaleUnit": "100%",
122         "Unit": "cpu_atom"
123     },
124     {
125         "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls",
126         "DefaultMetricgroupName": "TopdownL1",
127         "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.ALL@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
128         "MetricGroup": "Default;TopdownL1;tma_L1_group",
129         "MetricName": "tma_backend_bound",
130         "MetricThreshold": "tma_backend_bound > 0.1",
131         "MetricgroupNoGroup": "TopdownL1;Default",
132         "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",
133         "ScaleUnit": "100%",
134         "Unit": "cpu_atom"
135     },
136     {
137         "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",
138         "DefaultMetricgroupName": "TopdownL1",
139         "MetricExpr": "(5 * cpu_atom@CPU_CLK_UNHALTED.CORE@ - (cpu_atom@TOPDOWN_FE_BOUND.ALL@ + cpu_atom@TOPDOWN_BE_BOUND.ALL@ + cpu_atom@TOPDOWN_RETIRING.ALL@)) / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
140         "MetricGroup": "Default;TopdownL1;tma_L1_group",
141         "MetricName": "tma_bad_speculation",
142         "MetricThreshold": "tma_bad_speculation > 0.15",
143         "MetricgroupNoGroup": "TopdownL1;Default",
144         "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.",
145         "ScaleUnit": "100%",
146         "Unit": "cpu_atom"
147     },
148     {
149         "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",
150         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.BRANCH_DETECT@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
151         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group",
152         "MetricName": "tma_branch_detect",
153         "MetricThreshold": "tma_branch_detect > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)",
154         "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.",
155         "ScaleUnit": "100%",
156         "Unit": "cpu_atom"
157     },
158     {
159         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to branch mispredicts",
160         "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.MISPREDICT@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
161         "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group",
162         "MetricName": "tma_branch_mispredicts",
163         "MetricThreshold": "tma_branch_mispredicts > 0.05 & tma_bad_speculation > 0.15",
164         "MetricgroupNoGroup": "TopdownL2",
165         "ScaleUnit": "100%",
166         "Unit": "cpu_atom"
167     },
168     {
169         "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.",
170         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.BRANCH_RESTEER@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
171         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group",
172         "MetricName": "tma_branch_resteer",
173         "MetricThreshold": "tma_branch_resteer > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)",
174         "ScaleUnit": "100%",
175         "Unit": "cpu_atom"
176     },
177     {
178         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to the microcode sequencer (MS).",
179         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.CISC@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
180         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group",
181         "MetricName": "tma_cisc",
182         "MetricThreshold": "tma_cisc > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)",
183         "ScaleUnit": "100%",
184         "Unit": "cpu_atom"
185     },
186     {
187         "BriefDescription": "Counts the number of cycles due to backend bound stalls that are bounded by core restrictions and not attributed to an outstanding load or stores, or resource limitation",
188         "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
189         "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group",
190         "MetricName": "tma_core_bound",
191         "MetricThreshold": "tma_core_bound > 0.1 & tma_backend_bound > 0.1",
192         "MetricgroupNoGroup": "TopdownL2",
193         "ScaleUnit": "100%",
194         "Unit": "cpu_atom"
195     },
196     {
197         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to decode stalls.",
198         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.DECODE@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
199         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group",
200         "MetricName": "tma_decode",
201         "MetricThreshold": "tma_decode > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)",
202         "ScaleUnit": "100%",
203         "Unit": "cpu_atom"
204     },
205     {
206         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to a machine clear that does not require the use of microcode, classified as a fast nuke, due to memory ordering, memory disambiguation and memory renaming",
207         "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.FASTNUKE@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
208         "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group",
209         "MetricName": "tma_fast_nuke",
210         "MetricThreshold": "tma_fast_nuke > 0.05 & (tma_machine_clears > 0.05 & tma_bad_speculation > 0.15)",
211         "ScaleUnit": "100%",
212         "Unit": "cpu_atom"
213     },
214     {
215         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to frontend stalls.",
216         "DefaultMetricgroupName": "TopdownL1",
217         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ALL@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
218         "MetricGroup": "Default;TopdownL1;tma_L1_group",
219         "MetricName": "tma_frontend_bound",
220         "MetricThreshold": "tma_frontend_bound > 0.2",
221         "MetricgroupNoGroup": "TopdownL1;Default",
222         "ScaleUnit": "100%",
223         "Unit": "cpu_atom"
224     },
225     {
226         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to instruction cache misses.",
227         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ICACHE@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
228         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group",
229         "MetricName": "tma_icache_misses",
230         "MetricThreshold": "tma_icache_misses > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)",
231         "ScaleUnit": "100%",
232         "Unit": "cpu_atom"
233     },
234     {
235         "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.",
236         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
237         "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group",
238         "MetricName": "tma_ifetch_bandwidth",
239         "MetricThreshold": "tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2",
240         "MetricgroupNoGroup": "TopdownL2",
241         "ScaleUnit": "100%",
242         "Unit": "cpu_atom"
243     },
244     {
245         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to frontend latency restrictions due to icache misses, itlb misses, branch detection, and resteer limitations.",
246         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.FRONTEND_LATENCY@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
247         "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group",
248         "MetricName": "tma_ifetch_latency",
249         "MetricThreshold": "tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2",
250         "MetricgroupNoGroup": "TopdownL2",
251         "ScaleUnit": "100%",
252         "Unit": "cpu_atom"
253     },
254     {
255         "BriefDescription": "Percentage of time that retirement is stalled due to a first level data TLB miss",
256         "MetricExpr": "100 * (cpu_atom@LD_HEAD.DTLB_MISS_AT_RET@ + cpu_atom@LD_HEAD.PGWALK_AT_RET@) / cpu_atom@CPU_CLK_UNHALTED.CORE@",
257         "MetricName": "tma_info_bottleneck_%_dtlb_miss_bound_cycles",
258         "Unit": "cpu_atom"
259     },
260     {
261         "BriefDescription": "Percentage of time that allocation and retirement is stalled by the Frontend Cluster due to an Ifetch Miss, either Icache or ITLB Miss",
262         "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS.IFETCH@ / cpu_atom@CPU_CLK_UNHALTED.CORE@",
263         "MetricGroup": "Ifetch",
264         "MetricName": "tma_info_bottleneck_%_ifetch_miss_bound_cycles",
265         "PublicDescription": "Percentage of time that allocation and retirement is stalled by the Frontend Cluster due to an Ifetch Miss, either Icache or ITLB Miss. See Info.Ifetch_Bound",
266         "Unit": "cpu_atom"
267     },
268     {
269         "BriefDescription": "Percentage of time that retirement is stalled due to an L1 miss",
270         "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS.LOAD@ / cpu_atom@CPU_CLK_UNHALTED.CORE@",
271         "MetricGroup": "Load_Store_Miss",
272         "MetricName": "tma_info_bottleneck_%_load_miss_bound_cycles",
273         "PublicDescription": "Percentage of time that retirement is stalled due to an L1 miss. See Info.Load_Miss_Bound",
274         "Unit": "cpu_atom"
275     },
276     {
277         "BriefDescription": "Percentage of time that retirement is stalled by the Memory Cluster due to a pipeline stall",
278         "MetricExpr": "100 * cpu_atom@LD_HEAD.ANY_AT_RET@ / cpu_atom@CPU_CLK_UNHALTED.CORE@",
279         "MetricGroup": "Mem_Exec",
280         "MetricName": "tma_info_bottleneck_%_mem_exec_bound_cycles",
281         "PublicDescription": "Percentage of time that retirement is stalled by the Memory Cluster due to a pipeline stall. See Info.Mem_Exec_Bound",
282         "Unit": "cpu_atom"
283     },
284     {
285         "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)",
286         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@BR_INST_RETIRED.ALL_BRANCHES@",
287         "MetricName": "tma_info_br_inst_mix_ipbranch",
288         "Unit": "cpu_atom"
289     },
290     {
291         "BriefDescription": "Instruction per (near) call (lower number means higher occurrence rate)",
292         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@BR_INST_RETIRED.CALL@",
293         "MetricName": "tma_info_br_inst_mix_ipcall",
294         "Unit": "cpu_atom"
295     },
296     {
297         "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]",
298         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@BR_INST_RETIRED.FAR_BRANCH@u",
299         "MetricName": "tma_info_br_inst_mix_ipfarbranch",
300         "Unit": "cpu_atom"
301     },
302     {
303         "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was not taken",
304         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / (cpu_atom@BR_MISP_RETIRED.COND@ - cpu_atom@BR_MISP_RETIRED.COND_TAKEN@)",
305         "MetricName": "tma_info_br_inst_mix_ipmisp_cond_ntaken",
306         "Unit": "cpu_atom"
307     },
308     {
309         "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was taken",
310         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@BR_MISP_RETIRED.COND_TAKEN@",
311         "MetricName": "tma_info_br_inst_mix_ipmisp_cond_taken",
312         "Unit": "cpu_atom"
313     },
314     {
315         "BriefDescription": "Instructions per retired indirect call or jump Branch Misprediction",
316         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@BR_MISP_RETIRED.INDIRECT@",
317         "MetricName": "tma_info_br_inst_mix_ipmisp_indirect",
318         "Unit": "cpu_atom"
319     },
320     {
321         "BriefDescription": "Instructions per retired return Branch Misprediction",
322         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@BR_MISP_RETIRED.RETURN@",
323         "MetricName": "tma_info_br_inst_mix_ipmisp_ret",
324         "Unit": "cpu_atom"
325     },
326     {
327         "BriefDescription": "Instructions per retired Branch Misprediction",
328         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@",
329         "MetricName": "tma_info_br_inst_mix_ipmispredict",
330         "Unit": "cpu_atom"
331     },
332     {
333         "BriefDescription": "Ratio of all branches which mispredict",
334         "MetricExpr": "cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@ / cpu_atom@BR_INST_RETIRED.ALL_BRANCHES@",
335         "MetricName": "tma_info_br_mispredict_bound_branch_mispredict_ratio",
336         "Unit": "cpu_atom"
337     },
338     {
339         "BriefDescription": "Ratio between Mispredicted branches and unknown branches",
340         "MetricExpr": "cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@ / cpu_atom@BACLEARS.ANY@",
341         "MetricName": "tma_info_br_mispredict_bound_branch_mispredict_to_unknown_branch_ratio",
342         "Unit": "cpu_atom"
343     },
344     {
345         "BriefDescription": "Percentage of time that allocation is stalled due to load buffer full",
346         "MetricExpr": "100 * cpu_atom@MEM_SCHEDULER_BLOCK.LD_BUF@ / cpu_atom@CPU_CLK_UNHALTED.CORE@",
347         "MetricName": "tma_info_buffer_stalls_%_load_buffer_stall_cycles",
348         "Unit": "cpu_atom"
349     },
350     {
351         "BriefDescription": "Percentage of time that allocation is stalled due to memory reservation stations full",
352         "MetricExpr": "100 * cpu_atom@MEM_SCHEDULER_BLOCK.RSV@ / cpu_atom@CPU_CLK_UNHALTED.CORE@",
353         "MetricName": "tma_info_buffer_stalls_%_mem_rsv_stall_cycles",
354         "Unit": "cpu_atom"
355     },
356     {
357         "BriefDescription": "Percentage of time that allocation is stalled due to store buffer full",
358         "MetricExpr": "100 * cpu_atom@MEM_SCHEDULER_BLOCK.ST_BUF@ / cpu_atom@CPU_CLK_UNHALTED.CORE@",
359         "MetricName": "tma_info_buffer_stalls_%_store_buffer_stall_cycles",
360         "Unit": "cpu_atom"
361     },
362     {
363         "BriefDescription": "Cycles Per Instruction",
364         "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE@ / cpu_atom@INST_RETIRED.ANY@",
365         "MetricName": "tma_info_core_cpi",
366         "Unit": "cpu_atom"
367     },
368     {
369         "BriefDescription": "Instructions Per Cycle",
370         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@CPU_CLK_UNHALTED.CORE@",
371         "MetricName": "tma_info_core_ipc",
372         "Unit": "cpu_atom"
373     },
374     {
375         "BriefDescription": "Uops Per Instruction",
376         "MetricExpr": "cpu_atom@UOPS_RETIRED.ALL@ / cpu_atom@INST_RETIRED.ANY@",
377         "MetricName": "tma_info_core_upi",
378         "Unit": "cpu_atom"
379     },
380     {
381         "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss hits in the L2",
382         "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS.IFETCH_L2_HIT@ / cpu_atom@MEM_BOUND_STALLS.IFETCH@",
383         "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l2hit",
384         "Unit": "cpu_atom"
385     },
386     {
387         "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss hits in the L3",
388         "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS.IFETCH_LLC_HIT@ / cpu_atom@MEM_BOUND_STALLS.IFETCH@",
389         "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l3hit",
390         "Unit": "cpu_atom"
391     },
392     {
393         "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss subsequently misses in the L3",
394         "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS.IFETCH_DRAM_HIT@ / cpu_atom@MEM_BOUND_STALLS.IFETCH@",
395         "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l3miss",
396         "Unit": "cpu_atom"
397     },
398     {
399         "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that hit the L2",
400         "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS.LOAD_L2_HIT@ / cpu_atom@MEM_BOUND_STALLS.LOAD@",
401         "MetricGroup": "load_store_bound",
402         "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l2hit",
403         "Unit": "cpu_atom"
404     },
405     {
406         "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that hit the L3",
407         "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS.LOAD_LLC_HIT@ / cpu_atom@MEM_BOUND_STALLS.LOAD@",
408         "MetricGroup": "load_store_bound",
409         "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l3hit",
410         "Unit": "cpu_atom"
411     },
412     {
413         "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that subsequently misses the L3",
414         "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS.LOAD_DRAM_HIT@ / cpu_atom@MEM_BOUND_STALLS.LOAD@",
415         "MetricGroup": "load_store_bound",
416         "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l3miss",
417         "Unit": "cpu_atom"
418     },
419     {
420         "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a pipeline block",
421         "MetricExpr": "100 * cpu_atom@LD_HEAD.L1_BOUND_AT_RET@ / cpu_atom@CPU_CLK_UNHALTED.CORE@",
422         "MetricGroup": "load_store_bound",
423         "MetricName": "tma_info_load_store_bound_l1_bound",
424         "Unit": "cpu_atom"
425     },
426     {
427         "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement",
428         "MetricExpr": "100 * (cpu_atom@LD_HEAD.L1_BOUND_AT_RET@ + cpu_atom@MEM_BOUND_STALLS.LOAD@) / cpu_atom@CPU_CLK_UNHALTED.CORE@",
429         "MetricGroup": "load_store_bound",
430         "MetricName": "tma_info_load_store_bound_load_bound",
431         "Unit": "cpu_atom"
432     },
433     {
434         "BriefDescription": "Counts the number of cycles the core is stalled due to store buffer full",
435         "MetricExpr": "100 * (cpu_atom@MEM_SCHEDULER_BLOCK.ST_BUF@ / cpu_atom@MEM_SCHEDULER_BLOCK.ALL@) * tma_mem_scheduler",
436         "MetricGroup": "load_store_bound",
437         "MetricName": "tma_info_load_store_bound_store_bound",
438         "Unit": "cpu_atom"
439     },
440     {
441         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to memory disambiguation",
442         "MetricExpr": "1e3 * cpu_atom@MACHINE_CLEARS.DISAMBIGUATION@ / cpu_atom@INST_RETIRED.ANY@",
443         "MetricName": "tma_info_machine_clear_bound_machine_clears_disamb_pki",
444         "Unit": "cpu_atom"
445     },
446     {
447         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to floating point assists",
448         "MetricExpr": "1e3 * cpu_atom@MACHINE_CLEARS.FP_ASSIST@ / cpu_atom@INST_RETIRED.ANY@",
449         "MetricName": "tma_info_machine_clear_bound_machine_clears_fp_assist_pki",
450         "Unit": "cpu_atom"
451     },
452     {
453         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to memory ordering",
454         "MetricExpr": "1e3 * cpu_atom@MACHINE_CLEARS.MEMORY_ORDERING@ / cpu_atom@INST_RETIRED.ANY@",
455         "MetricName": "tma_info_machine_clear_bound_machine_clears_monuke_pki",
456         "Unit": "cpu_atom"
457     },
458     {
459         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to memory renaming",
460         "MetricExpr": "1e3 * cpu_atom@MACHINE_CLEARS.MRN_NUKE@ / cpu_atom@INST_RETIRED.ANY@",
461         "MetricName": "tma_info_machine_clear_bound_machine_clears_mrn_pki",
462         "Unit": "cpu_atom"
463     },
464     {
465         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to page faults",
466         "MetricExpr": "1e3 * cpu_atom@MACHINE_CLEARS.PAGE_FAULT@ / cpu_atom@INST_RETIRED.ANY@",
467         "MetricName": "tma_info_machine_clear_bound_machine_clears_page_fault_pki",
468         "Unit": "cpu_atom"
469     },
470     {
471         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to self-modifying code",
472         "MetricExpr": "1e3 * cpu_atom@MACHINE_CLEARS.SMC@ / cpu_atom@INST_RETIRED.ANY@",
473         "MetricName": "tma_info_machine_clear_bound_machine_clears_smc_pki",
474         "Unit": "cpu_atom"
475     },
476     {
477         "BriefDescription": "Percentage of total non-speculative loads with an address aliasing block",
478         "MetricExpr": "100 * cpu_atom@LD_BLOCKS.4K_ALIAS@ / cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@",
479         "MetricName": "tma_info_mem_exec_blocks_%_loads_with_adressaliasing",
480         "Unit": "cpu_atom"
481     },
482     {
483         "BriefDescription": "Percentage of total non-speculative loads with a store forward or unknown store address block",
484         "MetricExpr": "100 * cpu_atom@LD_BLOCKS.DATA_UNKNOWN@ / cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@",
485         "MetricName": "tma_info_mem_exec_blocks_%_loads_with_storefwdblk",
486         "Unit": "cpu_atom"
487     },
488     {
489         "BriefDescription": "Percentage of Memory Execution Bound due to a first level data cache miss",
490         "MetricExpr": "100 * cpu_atom@LD_HEAD.L1_MISS_AT_RET@ / cpu_atom@LD_HEAD.ANY_AT_RET@",
491         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_l1miss",
492         "Unit": "cpu_atom"
493     },
494     {
495         "BriefDescription": "Percentage of Memory Execution Bound due to other block cases, such as pipeline conflicts, fences, etc",
496         "MetricExpr": "100 * cpu_atom@LD_HEAD.OTHER_AT_RET@ / cpu_atom@LD_HEAD.ANY_AT_RET@",
497         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_otherpipelineblks",
498         "Unit": "cpu_atom"
499     },
500     {
501         "BriefDescription": "Percentage of Memory Execution Bound due to a pagewalk",
502         "MetricExpr": "100 * cpu_atom@LD_HEAD.PGWALK_AT_RET@ / cpu_atom@LD_HEAD.ANY_AT_RET@",
503         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_pagewalk",
504         "Unit": "cpu_atom"
505     },
506     {
507         "BriefDescription": "Percentage of Memory Execution Bound due to a second level TLB miss",
508         "MetricExpr": "100 * cpu_atom@LD_HEAD.DTLB_MISS_AT_RET@ / cpu_atom@LD_HEAD.ANY_AT_RET@",
509         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_stlbhit",
510         "Unit": "cpu_atom"
511     },
512     {
513         "BriefDescription": "Percentage of Memory Execution Bound due to a store forward address match",
514         "MetricExpr": "100 * cpu_atom@LD_HEAD.ST_ADDR_AT_RET@ / cpu_atom@LD_HEAD.ANY_AT_RET@",
515         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_storefwding",
516         "Unit": "cpu_atom"
517     },
518     {
519         "BriefDescription": "Instructions per Load",
520         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@",
521         "MetricName": "tma_info_mem_mix_ipload",
522         "Unit": "cpu_atom"
523     },
524     {
525         "BriefDescription": "Instructions per Store",
526         "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / cpu_atom@MEM_UOPS_RETIRED.ALL_STORES@",
527         "MetricName": "tma_info_mem_mix_ipstore",
528         "Unit": "cpu_atom"
529     },
530     {
531         "BriefDescription": "Percentage of total non-speculative loads that perform one or more locks",
532         "MetricExpr": "100 * cpu_atom@MEM_UOPS_RETIRED.LOCK_LOADS@ / cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@",
533         "MetricName": "tma_info_mem_mix_load_locks_ratio",
534         "Unit": "cpu_atom"
535     },
536     {
537         "BriefDescription": "Percentage of total non-speculative loads that are splits",
538         "MetricExpr": "100 * cpu_atom@MEM_UOPS_RETIRED.SPLIT_LOADS@ / cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@",
539         "MetricName": "tma_info_mem_mix_load_splits_ratio",
540         "Unit": "cpu_atom"
541     },
542     {
543         "BriefDescription": "Ratio of mem load uops to all uops",
544         "MetricExpr": "1e3 * cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@ / cpu_atom@UOPS_RETIRED.ALL@",
545         "MetricName": "tma_info_mem_mix_memload_ratio",
546         "Unit": "cpu_atom"
547     },
548     {
549         "BriefDescription": "Percentage of time that the core is stalled due to a TPAUSE or UMWAIT instruction",
550         "MetricExpr": "100 * cpu_atom@SERIALIZATION.C01_MS_SCB@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
551         "MetricName": "tma_info_serialization _%_tpause_cycles",
552         "Unit": "cpu_atom"
553     },
554     {
555         "BriefDescription": "Average CPU Utilization",
556         "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.REF_TSC@ / TSC",
557         "MetricName": "tma_info_system_cpu_utilization",
558         "Unit": "cpu_atom"
559     },
560     {
561         "BriefDescription": "Fraction of cycles spent in Kernel mode",
562         "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE_P@k / cpu_atom@CPU_CLK_UNHALTED.CORE@",
563         "MetricGroup": "Summary",
564         "MetricName": "tma_info_system_kernel_utilization",
565         "Unit": "cpu_atom"
566     },
567     {
568         "BriefDescription": "Average Frequency Utilization relative nominal frequency",
569         "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE@ / cpu_atom@CPU_CLK_UNHALTED.REF_TSC@",
570         "MetricGroup": "Power",
571         "MetricName": "tma_info_system_turbo_utilization",
572         "Unit": "cpu_atom"
573     },
574     {
575         "BriefDescription": "Percentage of all uops which are FPDiv uops",
576         "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.FPDIV@ / cpu_atom@UOPS_RETIRED.ALL@",
577         "MetricName": "tma_info_uop_mix_fpdiv_uop_ratio",
578         "Unit": "cpu_atom"
579     },
580     {
581         "BriefDescription": "Percentage of all uops which are IDiv uops",
582         "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.IDIV@ / cpu_atom@UOPS_RETIRED.ALL@",
583         "MetricName": "tma_info_uop_mix_idiv_uop_ratio",
584         "Unit": "cpu_atom"
585     },
586     {
587         "BriefDescription": "Percentage of all uops which are microcode ops",
588         "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.MS@ / cpu_atom@UOPS_RETIRED.ALL@",
589         "MetricName": "tma_info_uop_mix_microcode_uop_ratio",
590         "Unit": "cpu_atom"
591     },
592     {
593         "BriefDescription": "Percentage of all uops which are x87 uops",
594         "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.X87@ / cpu_atom@UOPS_RETIRED.ALL@",
595         "MetricName": "tma_info_uop_mix_x87_uop_ratio",
596         "Unit": "cpu_atom"
597     },
598     {
599         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.",
600         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ITLB@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
601         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group",
602         "MetricName": "tma_itlb_misses",
603         "MetricThreshold": "tma_itlb_misses > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)",
604         "ScaleUnit": "100%",
605         "Unit": "cpu_atom"
606     },
607     {
608         "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",
609         "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
610         "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group",
611         "MetricName": "tma_machine_clears",
612         "MetricThreshold": "tma_machine_clears > 0.05 & tma_bad_speculation > 0.15",
613         "MetricgroupNoGroup": "TopdownL2",
614         "ScaleUnit": "100%",
615         "Unit": "cpu_atom"
616     },
617     {
618         "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",
619         "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.MEM_SCHEDULER@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
620         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
621         "MetricName": "tma_mem_scheduler",
622         "MetricThreshold": "tma_mem_scheduler > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
623         "ScaleUnit": "100%",
624         "Unit": "cpu_atom"
625     },
626     {
627         "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",
628         "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
629         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
630         "MetricName": "tma_non_mem_scheduler",
631         "MetricThreshold": "tma_non_mem_scheduler > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
632         "ScaleUnit": "100%",
633         "Unit": "cpu_atom"
634     },
635     {
636         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to a machine clear that requires the use of microcode (slow nuke)",
637         "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.NUKE@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
638         "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group",
639         "MetricName": "tma_nuke",
640         "MetricThreshold": "tma_nuke > 0.05 & (tma_machine_clears > 0.05 & tma_bad_speculation > 0.15)",
641         "ScaleUnit": "100%",
642         "Unit": "cpu_atom"
643     },
644     {
645         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to other common frontend stalls not categorized.",
646         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.OTHER@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
647         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group",
648         "MetricName": "tma_other_fb",
649         "MetricThreshold": "tma_other_fb > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)",
650         "ScaleUnit": "100%",
651         "Unit": "cpu_atom"
652     },
653     {
654         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to wrong predecodes.",
655         "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.PREDECODE@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
656         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group",
657         "MetricName": "tma_predecode",
658         "MetricThreshold": "tma_predecode > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)",
659         "ScaleUnit": "100%",
660         "Unit": "cpu_atom"
661     },
662     {
663         "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)",
664         "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.REGISTER@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
665         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
666         "MetricName": "tma_register",
667         "MetricThreshold": "tma_register > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
668         "ScaleUnit": "100%",
669         "Unit": "cpu_atom"
670     },
671     {
672         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to the reorder buffer being full (ROB stalls)",
673         "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.REORDER_BUFFER@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
674         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
675         "MetricName": "tma_reorder_buffer",
676         "MetricThreshold": "tma_reorder_buffer > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
677         "ScaleUnit": "100%",
678         "Unit": "cpu_atom"
679     },
680     {
681         "BriefDescription": "Counts the number of cycles the core is stalled due to a resource limitation",
682         "MetricExpr": "tma_backend_bound - tma_core_bound",
683         "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group",
684         "MetricName": "tma_resource_bound",
685         "MetricThreshold": "tma_resource_bound > 0.2 & tma_backend_bound > 0.1",
686         "MetricgroupNoGroup": "TopdownL2",
687         "ScaleUnit": "100%",
688         "Unit": "cpu_atom"
689     },
690     {
691         "BriefDescription": "Counts the number of issue slots that result in retirement slots",
692         "DefaultMetricgroupName": "TopdownL1",
693         "MetricExpr": "cpu_atom@TOPDOWN_RETIRING.ALL@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
694         "MetricGroup": "Default;TopdownL1;tma_L1_group",
695         "MetricName": "tma_retiring",
696         "MetricThreshold": "tma_retiring > 0.75",
697         "MetricgroupNoGroup": "TopdownL1;Default",
698         "ScaleUnit": "100%",
699         "Unit": "cpu_atom"
700     },
701     {
702         "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)",
703         "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.SERIALIZATION@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)",
704         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
705         "MetricName": "tma_serialization",
706         "MetricThreshold": "tma_serialization > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
707         "ScaleUnit": "100%",
708         "Unit": "cpu_atom"
709     },
710     {
711         "BriefDescription": "Uncore frequency per die [GHZ]",
712         "MetricExpr": "tma_info_system_socket_clks / #num_dies / duration_time / 1e9",
713         "MetricGroup": "SoC",
714         "MetricName": "UNCORE_FREQ",
715         "Unit": "cpu_core"
716     },
717     {
718         "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution ports for ALU operations.",
719         "MetricExpr": "(cpu_core@UOPS_DISPATCHED.PORT_0@ + cpu_core@UOPS_DISPATCHED.PORT_1@ + cpu_core@UOPS_DISPATCHED.PORT_5_11@ + cpu_core@UOPS_DISPATCHED.PORT_6@) / (5 * tma_info_core_core_clks)",
720         "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group",
721         "MetricName": "tma_alu_op_utilization",
722         "MetricThreshold": "tma_alu_op_utilization > 0.4",
723         "ScaleUnit": "100%",
724         "Unit": "cpu_core"
725     },
726     {
727         "BriefDescription": "This metric estimates fraction of slots the CPU retired uops delivered by the Microcode_Sequencer as a result of Assists",
728         "MetricExpr": "78 * cpu_core@ASSISTS.ANY@ / tma_info_thread_slots",
729         "MetricGroup": "BvIO;TopdownL4;tma_L4_group;tma_microcode_sequencer_group",
730         "MetricName": "tma_assists",
731         "MetricThreshold": "tma_assists > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)",
732         "PublicDescription": "This metric estimates fraction of slots the CPU retired uops delivered by the Microcode_Sequencer as a result of Assists. Assists are long sequences of uops that are required in certain corner-cases for operations that cannot be handled natively by the execution pipeline. For example; when working with very small floating point values (so-called Denormals); the FP units are not set up to perform these operations natively. Instead; a sequence of instructions to perform the computation on the Denormals is injected into the pipeline. Since these microcode sequences might be dozens of uops long; Assists can be extremely deleterious to performance and they can be avoided in many cases. Sample with: ASSISTS.ANY",
733         "ScaleUnit": "100%",
734         "Unit": "cpu_core"
735     },
736     {
737         "BriefDescription": "This metric estimates fraction of slots the CPU retired uops as a result of handing SSE to AVX* or AVX* to SSE transition Assists.",
738         "MetricExpr": "63 * cpu_core@ASSISTS.SSE_AVX_MIX@ / tma_info_thread_slots",
739         "MetricGroup": "HPC;TopdownL5;tma_L5_group;tma_assists_group",
740         "MetricName": "tma_avx_assists",
741         "MetricThreshold": "tma_avx_assists > 0.1",
742         "ScaleUnit": "100%",
743         "Unit": "cpu_core"
744     },
745     {
746         "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",
747         "DefaultMetricgroupName": "TopdownL1",
748         "MetricExpr": "cpu_core@topdown\\-be\\-bound@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 * tma_info_thread_slots",
749         "MetricGroup": "BvOB;Default;TmaL1;TopdownL1;tma_L1_group",
750         "MetricName": "tma_backend_bound",
751         "MetricThreshold": "tma_backend_bound > 0.2",
752         "MetricgroupNoGroup": "TopdownL1;Default",
753         "PublicDescription": "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. Sample with: TOPDOWN.BACKEND_BOUND_SLOTS",
754         "ScaleUnit": "100%",
755         "Unit": "cpu_core"
756     },
757     {
758         "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations",
759         "DefaultMetricgroupName": "TopdownL1",
760         "MetricExpr": "max(1 - (tma_frontend_bound + tma_backend_bound + tma_retiring), 0)",
761         "MetricGroup": "Default;TmaL1;TopdownL1;tma_L1_group",
762         "MetricName": "tma_bad_speculation",
763         "MetricThreshold": "tma_bad_speculation > 0.15",
764         "MetricgroupNoGroup": "TopdownL1;Default",
765         "PublicDescription": "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.",
766         "ScaleUnit": "100%",
767         "Unit": "cpu_core"
768     },
769     {
770         "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction",
771         "MetricExpr": "cpu_core@topdown\\-br\\-mispredict@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 * tma_info_thread_slots",
772         "MetricGroup": "BadSpec;BrMispredicts;BvMP;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueBM",
773         "MetricName": "tma_branch_mispredicts",
774         "MetricThreshold": "tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15",
775         "MetricgroupNoGroup": "TopdownL2",
776         "PublicDescription": "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. Sample with: TOPDOWN.BR_MISPREDICT_SLOTS. Related metrics: tma_info_bad_spec_branch_misprediction_cost, tma_info_bottleneck_mispredictions, tma_mispredicts_resteers",
777         "ScaleUnit": "100%",
778         "Unit": "cpu_core"
779     },
780     {
781         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers",
782         "MetricExpr": "cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ / tma_info_thread_clks + tma_unknown_branches",
783         "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group",
784         "MetricName": "tma_branch_resteers",
785         "MetricThreshold": "tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)",
786         "PublicDescription": "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. Sample with: BR_MISP_RETIRED.ALL_BRANCHES",
787         "ScaleUnit": "100%",
788         "Unit": "cpu_core"
789     },
790     {
791         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due staying in C0.1 power-performance optimized state (Faster wakeup time; Smaller power savings).",
792         "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C01@ / tma_info_thread_clks",
793         "MetricGroup": "C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group",
794         "MetricName": "tma_c01_wait",
795         "MetricThreshold": "tma_c01_wait > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))",
796         "ScaleUnit": "100%",
797         "Unit": "cpu_core"
798     },
799     {
800         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due staying in C0.2 power-performance optimized state (Slower wakeup time; Larger power savings).",
801         "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C02@ / tma_info_thread_clks",
802         "MetricGroup": "C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group",
803         "MetricName": "tma_c02_wait",
804         "MetricThreshold": "tma_c02_wait > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))",
805         "ScaleUnit": "100%",
806         "Unit": "cpu_core"
807     },
808     {
809         "BriefDescription": "This metric estimates fraction of cycles the CPU retired uops originated from CISC (complex instruction set computer) instruction",
810         "MetricExpr": "max(0, tma_microcode_sequencer - tma_assists)",
811         "MetricGroup": "TopdownL4;tma_L4_group;tma_microcode_sequencer_group",
812         "MetricName": "tma_cisc",
813         "MetricThreshold": "tma_cisc > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)",
814         "PublicDescription": "This metric estimates fraction of cycles the CPU retired uops originated from CISC (complex instruction set computer) instruction. A CISC instruction has multiple uops that are required to perform the instruction's functionality as in the case of read-modify-write as an example. Since these instructions require multiple uops they may or may not imply sub-optimal use of machine resources. Sample with: FRONTEND_RETIRED.MS_FLOWS",
815         "ScaleUnit": "100%",
816         "Unit": "cpu_core"
817     },
818     {
819         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Machine Clears",
820         "MetricExpr": "(1 - tma_branch_mispredicts / tma_bad_speculation) * cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ / tma_info_thread_clks",
821         "MetricGroup": "BadSpec;MachineClears;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueMC",
822         "MetricName": "tma_clears_resteers",
823         "MetricThreshold": "tma_clears_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))",
824         "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Machine Clears. Sample with: INT_MISC.CLEAR_RESTEER_CYCLES. Related metrics: tma_l1_bound, tma_machine_clears, tma_microcode_sequencer, tma_ms_switches",
825         "ScaleUnit": "100%",
826         "Unit": "cpu_core"
827     },
828     {
829         "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses",
830         "MetricExpr": "(25 * tma_info_system_core_frequency * (cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@ * (cpu_core@OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM@ / (cpu_core@OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM@ + cpu_core@OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD@))) + 24 * tma_info_system_core_frequency * cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS@) * (1 + cpu_core@MEM_LOAD_RETIRED.FB_HIT@ / cpu_core@MEM_LOAD_RETIRED.L1_MISS@ / 2) / tma_info_thread_clks",
831         "MetricGroup": "BvMS;DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group",
832         "MetricName": "tma_contested_accesses",
833         "MetricThreshold": "tma_contested_accesses > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
834         "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses. Contested accesses occur when data written by one Logical Processor are read by another Logical Processor on a different Physical Core. Examples of contested accesses include synchronizations such as locks; true data sharing such as modified locked variables; and false sharing. Sample with: MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD;MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS. Related metrics: tma_data_sharing, tma_false_sharing, tma_machine_clears, tma_remote_cache",
835         "ScaleUnit": "100%",
836         "Unit": "cpu_core"
837     },
838     {
839         "BriefDescription": "This metric represents fraction of slots where Core non-memory issues were of a bottleneck",
840         "MetricExpr": "max(0, tma_backend_bound - tma_memory_bound)",
841         "MetricGroup": "Backend;Compute;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group",
842         "MetricName": "tma_core_bound",
843         "MetricThreshold": "tma_core_bound > 0.1 & tma_backend_bound > 0.2",
844         "MetricgroupNoGroup": "TopdownL2",
845         "PublicDescription": "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).",
846         "ScaleUnit": "100%",
847         "Unit": "cpu_core"
848     },
849     {
850         "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to data-sharing accesses",
851         "MetricExpr": "24 * tma_info_system_core_frequency * (cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_NO_FWD@ + cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@ * (1 - cpu_core@OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM@ / (cpu_core@OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM@ + cpu_core@OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD@))) * (1 + cpu_core@MEM_LOAD_RETIRED.FB_HIT@ / cpu_core@MEM_LOAD_RETIRED.L1_MISS@ / 2) / tma_info_thread_clks",
852         "MetricGroup": "BvMS;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group",
853         "MetricName": "tma_data_sharing",
854         "MetricThreshold": "tma_data_sharing > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
855         "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to data-sharing accesses. Data shared by multiple Logical Processors (even just read shared) may cause increased access latency due to cache coherency. Excessive data sharing can drastically harm multithreaded performance. Sample with: MEM_LOAD_L3_HIT_RETIRED.XSNP_NO_FWD. Related metrics: tma_contested_accesses, tma_false_sharing, tma_machine_clears, tma_remote_cache",
856         "ScaleUnit": "100%",
857         "Unit": "cpu_core"
858     },
859     {
860         "BriefDescription": "This metric represents fraction of cycles where decoder-0 was the only active decoder",
861         "MetricExpr": "(cpu_core@INST_DECODED.DECODERS\\,cmask\\=1@ - cpu_core@INST_DECODED.DECODERS\\,cmask\\=2@) / tma_info_core_core_clks / 2",
862         "MetricGroup": "DSBmiss;FetchBW;TopdownL4;tma_L4_group;tma_issueD0;tma_mite_group",
863         "MetricName": "tma_decoder0_alone",
864         "MetricThreshold": "tma_decoder0_alone > 0.1 & (tma_mite > 0.1 & tma_fetch_bandwidth > 0.2)",
865         "PublicDescription": "This metric represents fraction of cycles where decoder-0 was the only active decoder. Related metrics: tma_few_uops_instructions",
866         "ScaleUnit": "100%",
867         "Unit": "cpu_core"
868     },
869     {
870         "BriefDescription": "This metric represents fraction of cycles where the Divider unit was active",
871         "MetricExpr": "cpu_core@ARITH.DIV_ACTIVE@ / tma_info_thread_clks",
872         "MetricGroup": "BvCB;TopdownL3;tma_L3_group;tma_core_bound_group",
873         "MetricName": "tma_divider",
874         "MetricThreshold": "tma_divider > 0.2 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)",
875         "PublicDescription": "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. Sample with: ARITH.DIVIDER_ACTIVE",
876         "ScaleUnit": "100%",
877         "Unit": "cpu_core"
878     },
879     {
880         "BriefDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads",
881         "MetricExpr": "cpu_core@MEMORY_ACTIVITY.STALLS_L3_MISS@ / tma_info_thread_clks",
882         "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group",
883         "MetricName": "tma_dram_bound",
884         "MetricThreshold": "tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)",
885         "PublicDescription": "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. Sample with: MEM_LOAD_RETIRED.L3_MISS_PS",
886         "ScaleUnit": "100%",
887         "Unit": "cpu_core"
888     },
889     {
890         "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to DSB (decoded uop cache) fetch pipeline",
891         "MetricExpr": "(cpu_core@IDQ.DSB_CYCLES_ANY@ - cpu_core@IDQ.DSB_CYCLES_OK@) / tma_info_core_core_clks / 2",
892         "MetricGroup": "DSB;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
893         "MetricName": "tma_dsb",
894         "MetricThreshold": "tma_dsb > 0.15 & tma_fetch_bandwidth > 0.2",
895         "PublicDescription": "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.",
896         "ScaleUnit": "100%",
897         "Unit": "cpu_core"
898     },
899     {
900         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to switches from DSB to MITE pipelines",
901         "MetricExpr": "cpu_core@DSB2MITE_SWITCHES.PENALTY_CYCLES@ / tma_info_thread_clks",
902         "MetricGroup": "DSBmiss;FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB",
903         "MetricName": "tma_dsb_switches",
904         "MetricThreshold": "tma_dsb_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)",
905         "PublicDescription": "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. Sample with: FRONTEND_RETIRED.DSB_MISS_PS. Related metrics: tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp",
906         "ScaleUnit": "100%",
907         "Unit": "cpu_core"
908     },
909     {
910         "BriefDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses",
911         "MetricExpr": "min(7 * cpu_core@DTLB_LOAD_MISSES.STLB_HIT\\,cmask\\=1@ + cpu_core@DTLB_LOAD_MISSES.WALK_ACTIVE@, max(cpu_core@CYCLE_ACTIVITY.CYCLES_MEM_ANY@ - cpu_core@MEMORY_ACTIVITY.CYCLES_L1D_MISS@, 0)) / tma_info_thread_clks",
912         "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_l1_bound_group",
913         "MetricName": "tma_dtlb_load",
914         "MetricThreshold": "tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
915         "PublicDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses. TLBs (Translation Look-aside Buffers) are processor caches for recently used entries out of the Page Tables that are used to map virtual- to physical-addresses by the operating system. This metric approximates the potential delay of demand loads missing the first-level data TLB (assuming worst case scenario with back to back misses to different pages). This includes hitting in the second-level TLB (STLB) as well as performing a hardware page walk on an STLB miss. Sample with: MEM_INST_RETIRED.STLB_MISS_LOADS_PS. Related metrics: tma_dtlb_store, tma_info_bottleneck_memory_data_tlbs, tma_info_bottleneck_memory_synchronization",
916         "ScaleUnit": "100%",
917         "Unit": "cpu_core"
918     },
919     {
920         "BriefDescription": "This metric roughly estimates the fraction of cycles spent handling first-level data TLB store misses",
921         "MetricExpr": "(7 * cpu_core@DTLB_STORE_MISSES.STLB_HIT\\,cmask\\=1@ + cpu_core@DTLB_STORE_MISSES.WALK_ACTIVE@) / tma_info_core_core_clks",
922         "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_store_bound_group",
923         "MetricName": "tma_dtlb_store",
924         "MetricThreshold": "tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
925         "PublicDescription": "This metric roughly estimates the fraction of cycles spent handling first-level data TLB store misses.  As with ordinary data caching; focus on improving data locality and reducing working-set size to reduce DTLB overhead.  Additionally; consider using profile-guided optimization (PGO) to collocate frequently-used data on the same page.  Try using larger page sizes for large amounts of frequently-used data. Sample with: MEM_INST_RETIRED.STLB_MISS_STORES_PS. Related metrics: tma_dtlb_load, tma_info_bottleneck_memory_data_tlbs, tma_info_bottleneck_memory_synchronization",
926         "ScaleUnit": "100%",
927         "Unit": "cpu_core"
928     },
929     {
930         "BriefDescription": "This metric roughly estimates how often CPU was handling synchronizations due to False Sharing",
931         "MetricExpr": "28 * tma_info_system_core_frequency * cpu_core@OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM@ / tma_info_thread_clks",
932         "MetricGroup": "BvMS;DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_store_bound_group",
933         "MetricName": "tma_false_sharing",
934         "MetricThreshold": "tma_false_sharing > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
935         "PublicDescription": "This metric roughly estimates how often CPU was handling synchronizations due to False Sharing. False Sharing is a multithreading hiccup; where multiple Logical Processors contend on different data-elements mapped into the same cache line. Sample with: OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM. Related metrics: tma_contested_accesses, tma_data_sharing, tma_machine_clears, tma_remote_cache",
936         "ScaleUnit": "100%",
937         "Unit": "cpu_core"
938     },
939     {
940         "BriefDescription": "This metric does a *rough estimation* of how often L1D Fill Buffer unavailability limited additional L1D miss memory access requests to proceed",
941         "MetricExpr": "cpu_core@L1D_PEND_MISS.FB_FULL@ / tma_info_thread_clks",
942         "MetricGroup": "BvMS;MemoryBW;TopdownL4;tma_L4_group;tma_issueBW;tma_issueSL;tma_issueSmSt;tma_l1_bound_group",
943         "MetricName": "tma_fb_full",
944         "MetricThreshold": "tma_fb_full > 0.3",
945         "PublicDescription": "This metric does a *rough estimation* of how often L1D Fill Buffer unavailability limited additional L1D miss memory access requests to proceed. The higher the metric value; the deeper the memory hierarchy level the misses are satisfied from (metric values >1 are valid). Often it hints on approaching bandwidth limits (to L2 cache; L3 cache or external memory). Related metrics: tma_info_bottleneck_cache_memory_bandwidth, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_store_latency, tma_streaming_stores",
946         "ScaleUnit": "100%",
947         "Unit": "cpu_core"
948     },
949     {
950         "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend bandwidth issues",
951         "MetricExpr": "max(0, tma_frontend_bound - tma_fetch_latency)",
952         "MetricGroup": "FetchBW;Frontend;TmaL2;TopdownL2;tma_L2_group;tma_frontend_bound_group;tma_issueFB",
953         "MetricName": "tma_fetch_bandwidth",
954         "MetricThreshold": "tma_fetch_bandwidth > 0.2",
955         "MetricgroupNoGroup": "TopdownL2",
956         "PublicDescription": "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. Sample with: FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1_PS;FRONTEND_RETIRED.LATENCY_GE_1_PS;FRONTEND_RETIRED.LATENCY_GE_2_PS. Related metrics: tma_dsb_switches, tma_info_botlnk_l2_dsb_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp",
957         "ScaleUnit": "100%",
958         "Unit": "cpu_core"
959     },
960     {
961         "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend latency issues",
962         "MetricExpr": "cpu_core@topdown\\-fetch\\-lat@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) - cpu_core@INT_MISC.UOP_DROPPING@ / tma_info_thread_slots",
963         "MetricGroup": "Frontend;TmaL2;TopdownL2;tma_L2_group;tma_frontend_bound_group",
964         "MetricName": "tma_fetch_latency",
965         "MetricThreshold": "tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15",
966         "MetricgroupNoGroup": "TopdownL2",
967         "PublicDescription": "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. Sample with: FRONTEND_RETIRED.LATENCY_GE_16_PS;FRONTEND_RETIRED.LATENCY_GE_8_PS",
968         "ScaleUnit": "100%",
969         "Unit": "cpu_core"
970     },
971     {
972         "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",
973         "MetricExpr": "max(0, tma_heavy_operations - tma_microcode_sequencer)",
974         "MetricGroup": "TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueD0",
975         "MetricName": "tma_few_uops_instructions",
976         "MetricThreshold": "tma_few_uops_instructions > 0.05 & tma_heavy_operations > 0.1",
977         "PublicDescription": "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. Related metrics: tma_decoder0_alone",
978         "ScaleUnit": "100%",
979         "Unit": "cpu_core"
980     },
981     {
982         "BriefDescription": "This metric represents overall arithmetic floating-point (FP) operations fraction the CPU has executed (retired)",
983         "MetricExpr": "tma_x87_use + tma_fp_scalar + tma_fp_vector",
984         "MetricGroup": "HPC;TopdownL3;tma_L3_group;tma_light_operations_group",
985         "MetricName": "tma_fp_arith",
986         "MetricThreshold": "tma_fp_arith > 0.2 & tma_light_operations > 0.6",
987         "PublicDescription": "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.",
988         "ScaleUnit": "100%",
989         "Unit": "cpu_core"
990     },
991     {
992         "BriefDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Floating Point (FP) Assists",
993         "MetricExpr": "30 * cpu_core@ASSISTS.FP@ / tma_info_thread_slots",
994         "MetricGroup": "HPC;TopdownL5;tma_L5_group;tma_assists_group",
995         "MetricName": "tma_fp_assists",
996         "MetricThreshold": "tma_fp_assists > 0.1",
997         "PublicDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Floating Point (FP) Assists. FP Assist may apply when working with very small floating point values (so-called Denormals).",
998         "ScaleUnit": "100%",
999         "Unit": "cpu_core"
1000     },
1001     {
1002         "BriefDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired",
1003         "MetricExpr": "cpu_core@FP_ARITH_INST_RETIRED.SCALAR@ / (tma_retiring * tma_info_thread_slots)",
1004         "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P",
1005         "MetricName": "tma_fp_scalar",
1006         "MetricThreshold": "tma_fp_scalar > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)",
1007         "PublicDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired. May overcount due to FMA double counting. Related metrics: tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2",
1008         "ScaleUnit": "100%",
1009         "Unit": "cpu_core"
1010     },
1011     {
1012         "BriefDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths",
1013         "MetricExpr": "cpu_core@FP_ARITH_INST_RETIRED.VECTOR@ / (tma_retiring * tma_info_thread_slots)",
1014         "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P",
1015         "MetricName": "tma_fp_vector",
1016         "MetricThreshold": "tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)",
1017         "PublicDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2",
1018         "ScaleUnit": "100%",
1019         "Unit": "cpu_core"
1020     },
1021     {
1022         "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors",
1023         "MetricExpr": "(cpu_core@FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE@ + cpu_core@FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE@) / (tma_retiring * tma_info_thread_slots)",
1024         "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P",
1025         "MetricName": "tma_fp_vector_128b",
1026         "MetricThreshold": "tma_fp_vector_128b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))",
1027         "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2",
1028         "ScaleUnit": "100%",
1029         "Unit": "cpu_core"
1030     },
1031     {
1032         "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors",
1033         "MetricExpr": "(cpu_core@FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE@ + cpu_core@FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE@) / (tma_retiring * tma_info_thread_slots)",
1034         "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P",
1035         "MetricName": "tma_fp_vector_256b",
1036         "MetricThreshold": "tma_fp_vector_256b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))",
1037         "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2",
1038         "ScaleUnit": "100%",
1039         "Unit": "cpu_core"
1040     },
1041     {
1042         "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend",
1043         "DefaultMetricgroupName": "TopdownL1",
1044         "MetricExpr": "cpu_core@topdown\\-fe\\-bound@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) - cpu_core@INT_MISC.UOP_DROPPING@ / tma_info_thread_slots",
1045         "MetricGroup": "BvFB;BvIO;Default;PGO;TmaL1;TopdownL1;tma_L1_group",
1046         "MetricName": "tma_frontend_bound",
1047         "MetricThreshold": "tma_frontend_bound > 0.15",
1048         "MetricgroupNoGroup": "TopdownL1;Default",
1049         "PublicDescription": "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 Pipeline_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. Sample with: FRONTEND_RETIRED.LATENCY_GE_4_PS",
1050         "ScaleUnit": "100%",
1051         "Unit": "cpu_core"
1052     },
1053     {
1054         "BriefDescription": "This metric represents fraction of slots where the CPU was retiring fused instructions -- where one uop can represent multiple contiguous instructions",
1055         "MetricExpr": "tma_light_operations * cpu_core@INST_RETIRED.MACRO_FUSED@ / (tma_retiring * tma_info_thread_slots)",
1056         "MetricGroup": "Branches;BvBO;Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group",
1057         "MetricName": "tma_fused_instructions",
1058         "MetricThreshold": "tma_fused_instructions > 0.1 & tma_light_operations > 0.6",
1059         "PublicDescription": "This metric represents fraction of slots where the CPU was retiring fused instructions -- where one uop can represent multiple contiguous instructions. CMP+JCC or DEC+JCC are common examples of legacy fusions. {([MTL] Note new MOV+OP and Load+OP fusions appear under Other_Light_Ops in MTL!)}",
1060         "ScaleUnit": "100%",
1061         "Unit": "cpu_core"
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 micro-coded sequences",
1065         "MetricExpr": "cpu_core@topdown\\-heavy\\-ops@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 * tma_info_thread_slots",
1066         "MetricGroup": "Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group",
1067         "MetricName": "tma_heavy_operations",
1068         "MetricThreshold": "tma_heavy_operations > 0.1",
1069         "MetricgroupNoGroup": "TopdownL2",
1070         "PublicDescription": "This metric represents fraction of slots where the CPU was retiring heavy-weight operations -- instructions that require two or more uops or micro-coded sequences. This highly-correlates with the uop length of these instructions/sequences. ([ICL+] Note this may overcount due to approximation using indirect events; [ADL+] .). Sample with: UOPS_RETIRED.HEAVY",
1071         "ScaleUnit": "100%",
1072         "Unit": "cpu_core"
1073     },
1074     {
1075         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to instruction cache misses",
1076         "MetricExpr": "cpu_core@ICACHE_DATA.STALLS@ / tma_info_thread_clks",
1077         "MetricGroup": "BigFootprint;BvBC;FetchLat;IcMiss;TopdownL3;tma_L3_group;tma_fetch_latency_group",
1078         "MetricName": "tma_icache_misses",
1079         "MetricThreshold": "tma_icache_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)",
1080         "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to instruction cache misses. Sample with: FRONTEND_RETIRED.L2_MISS_PS;FRONTEND_RETIRED.L1I_MISS_PS",
1081         "ScaleUnit": "100%",
1082         "Unit": "cpu_core"
1083     },
1084     {
1085         "BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear)",
1086         "MetricExpr": "tma_info_bottleneck_mispredictions * tma_info_thread_slots / cpu_core@BR_MISP_RETIRED.ALL_BRANCHES@ / 100",
1087         "MetricGroup": "Bad;BrMispredicts;tma_issueBM",
1088         "MetricName": "tma_info_bad_spec_branch_misprediction_cost",
1089         "PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear). Related metrics: tma_branch_mispredicts, tma_info_bottleneck_mispredictions, tma_mispredicts_resteers",
1090         "Unit": "cpu_core"
1091     },
1092     {
1093         "BriefDescription": "Instructions per retired mispredicts for conditional non-taken branches (lower number means higher occurrence rate).",
1094         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_MISP_RETIRED.COND_NTAKEN@",
1095         "MetricGroup": "Bad;BrMispredicts",
1096         "MetricName": "tma_info_bad_spec_ipmisp_cond_ntaken",
1097         "MetricThreshold": "tma_info_bad_spec_ipmisp_cond_ntaken < 200",
1098         "Unit": "cpu_core"
1099     },
1100     {
1101         "BriefDescription": "Instructions per retired mispredicts for conditional taken branches (lower number means higher occurrence rate).",
1102         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_MISP_RETIRED.COND_TAKEN@",
1103         "MetricGroup": "Bad;BrMispredicts",
1104         "MetricName": "tma_info_bad_spec_ipmisp_cond_taken",
1105         "MetricThreshold": "tma_info_bad_spec_ipmisp_cond_taken < 200",
1106         "Unit": "cpu_core"
1107     },
1108     {
1109         "BriefDescription": "Instructions per retired mispredicts for indirect CALL or JMP branches (lower number means higher occurrence rate).",
1110         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_MISP_RETIRED.INDIRECT@",
1111         "MetricGroup": "Bad;BrMispredicts",
1112         "MetricName": "tma_info_bad_spec_ipmisp_indirect",
1113         "MetricThreshold": "tma_info_bad_spec_ipmisp_indirect < 1e3",
1114         "Unit": "cpu_core"
1115     },
1116     {
1117         "BriefDescription": "Instructions per retired mispredicts for return branches (lower number means higher occurrence rate).",
1118         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_MISP_RETIRED.RET@",
1119         "MetricGroup": "Bad;BrMispredicts",
1120         "MetricName": "tma_info_bad_spec_ipmisp_ret",
1121         "MetricThreshold": "tma_info_bad_spec_ipmisp_ret < 500",
1122         "Unit": "cpu_core"
1123     },
1124     {
1125         "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear) (lower number means higher occurrence rate)",
1126         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_MISP_RETIRED.ALL_BRANCHES@",
1127         "MetricGroup": "Bad;BadSpec;BrMispredicts",
1128         "MetricName": "tma_info_bad_spec_ipmispredict",
1129         "MetricThreshold": "tma_info_bad_spec_ipmispredict < 200",
1130         "Unit": "cpu_core"
1131     },
1132     {
1133         "BriefDescription": "Speculative to Retired ratio of all clears (covering mispredicts and nukes)",
1134         "MetricExpr": "cpu_core@INT_MISC.CLEARS_COUNT@ / (cpu_core@BR_MISP_RETIRED.ALL_BRANCHES@ + cpu_core@MACHINE_CLEARS.COUNT@)",
1135         "MetricGroup": "BrMispredicts",
1136         "MetricName": "tma_info_bad_spec_spec_clears_ratio",
1137         "Unit": "cpu_core"
1138     },
1139     {
1140         "BriefDescription": "Probability of Core Bound bottleneck hidden by SMT-profiling artifacts",
1141         "MetricExpr": "(100 * (1 - tma_core_bound / tma_ports_utilization if tma_core_bound < tma_ports_utilization else 1) if tma_info_system_smt_2t_utilization > 0.5 else 0)",
1142         "MetricGroup": "Cor;SMT",
1143         "MetricName": "tma_info_botlnk_l0_core_bound_likely",
1144         "MetricThreshold": "tma_info_botlnk_l0_core_bound_likely > 0.5",
1145         "Unit": "cpu_core"
1146     },
1147     {
1148         "BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch_BW Bottleneck",
1149         "MetricExpr": "100 * (tma_frontend_bound * (tma_fetch_bandwidth / (tma_fetch_bandwidth + tma_fetch_latency)) * (tma_dsb / (tma_dsb + tma_lsd + tma_mite)))",
1150         "MetricGroup": "DSB;FetchBW;tma_issueFB",
1151         "MetricName": "tma_info_botlnk_l2_dsb_bandwidth",
1152         "MetricThreshold": "tma_info_botlnk_l2_dsb_bandwidth > 10",
1153         "PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch_BW Bottleneck. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp",
1154         "Unit": "cpu_core"
1155     },
1156     {
1157         "BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fetch_BW Bottleneck",
1158         "MetricExpr": "100 * (tma_fetch_latency * tma_dsb_switches / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches) + tma_fetch_bandwidth * tma_mite / (tma_dsb + tma_lsd + tma_mite))",
1159         "MetricGroup": "DSBmiss;Fed;tma_issueFB",
1160         "MetricName": "tma_info_botlnk_l2_dsb_misses",
1161         "MetricThreshold": "tma_info_botlnk_l2_dsb_misses > 10",
1162         "PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fetch_BW Bottleneck. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_bandwidth, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp",
1163         "Unit": "cpu_core"
1164     },
1165     {
1166         "BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bottleneck",
1167         "MetricExpr": "100 * (tma_fetch_latency * tma_icache_misses / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches))",
1168         "MetricGroup": "Fed;FetchLat;IcMiss;tma_issueFL",
1169         "MetricName": "tma_info_botlnk_l2_ic_misses",
1170         "MetricThreshold": "tma_info_botlnk_l2_ic_misses > 5",
1171         "PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bottleneck. Related metrics: ",
1172         "Unit": "cpu_core"
1173     },
1174     {
1175         "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)",
1176         "MetricExpr": "100 * tma_fetch_latency * (tma_itlb_misses + tma_icache_misses + tma_unknown_branches) / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches)",
1177         "MetricGroup": "BigFootprint;BvBC;Fed;Frontend;IcMiss;MemoryTLB",
1178         "MetricName": "tma_info_bottleneck_big_code",
1179         "MetricThreshold": "tma_info_bottleneck_big_code > 20",
1180         "Unit": "cpu_core"
1181     },
1182     {
1183         "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA",
1184         "MetricExpr": "100 * ((cpu_core@BR_INST_RETIRED.ALL_BRANCHES@ + 2 * cpu_core@BR_INST_RETIRED.NEAR_CALL@ + cpu_core@INST_RETIRED.NOP@) / tma_info_thread_slots)",
1185         "MetricGroup": "BvBO;Ret",
1186         "MetricName": "tma_info_bottleneck_branching_overhead",
1187         "MetricThreshold": "tma_info_bottleneck_branching_overhead > 5",
1188         "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)",
1189         "Unit": "cpu_core"
1190     },
1191     {
1192         "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks",
1193         "MetricExpr": "100 * (tma_memory_bound * (tma_dram_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_mem_bandwidth / (tma_mem_bandwidth + tma_mem_latency)) + tma_memory_bound * (tma_l3_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_sq_full / (tma_contested_accesses + tma_data_sharing + tma_l3_hit_latency + tma_sq_full)) + tma_memory_bound * (tma_l1_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_fb_full / (tma_dtlb_load + tma_fb_full + tma_l1_hit_latency + tma_lock_latency + tma_split_loads + tma_store_fwd_blk)))",
1194         "MetricGroup": "BvMB;Mem;MemoryBW;Offcore;tma_issueBW",
1195         "MetricName": "tma_info_bottleneck_cache_memory_bandwidth",
1196         "MetricThreshold": "tma_info_bottleneck_cache_memory_bandwidth > 20",
1197         "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full",
1198         "Unit": "cpu_core"
1199     },
1200     {
1201         "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks",
1202         "MetricExpr": "100 * (tma_memory_bound * (tma_dram_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_mem_latency / (tma_mem_bandwidth + tma_mem_latency)) + tma_memory_bound * (tma_l3_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_l3_hit_latency / (tma_contested_accesses + tma_data_sharing + tma_l3_hit_latency + tma_sq_full)) + tma_memory_bound * tma_l2_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound) + tma_memory_bound * (tma_store_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_store_latency / (tma_dtlb_store + tma_false_sharing + tma_split_stores + tma_store_latency + tma_streaming_stores)) + tma_memory_bound * (tma_l1_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_l1_hit_latency / (tma_dtlb_load + tma_fb_full + tma_l1_hit_latency + tma_lock_latency + tma_split_loads + tma_store_fwd_blk)))",
1203         "MetricGroup": "BvML;Mem;MemoryLat;Offcore;tma_issueLat",
1204         "MetricName": "tma_info_bottleneck_cache_memory_latency",
1205         "MetricThreshold": "tma_info_bottleneck_cache_memory_latency > 20",
1206         "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency",
1207         "Unit": "cpu_core"
1208     },
1209     {
1210         "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation",
1211         "MetricExpr": "100 * (tma_core_bound * tma_divider / (tma_divider + tma_ports_utilization + tma_serializing_operation) + tma_core_bound * (tma_ports_utilization / (tma_divider + tma_ports_utilization + tma_serializing_operation)) * (tma_ports_utilized_3m / (tma_ports_utilized_0 + tma_ports_utilized_1 + tma_ports_utilized_2 + tma_ports_utilized_3m)))",
1212         "MetricGroup": "BvCB;Cor;tma_issueComp",
1213         "MetricName": "tma_info_bottleneck_compute_bound_est",
1214         "MetricThreshold": "tma_info_bottleneck_compute_bound_est > 20",
1215         "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: ",
1216         "Unit": "cpu_core"
1217     },
1218     {
1219         "BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when the front-end could not sustain operations delivery to the back-end)",
1220         "MetricExpr": "100 * (tma_frontend_bound - (1 - 10 * tma_microcode_sequencer * tma_other_mispredicts / tma_branch_mispredicts) * tma_fetch_latency * tma_mispredicts_resteers / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches) - (1 - cpu_core@INST_RETIRED.REP_ITERATION@ / cpu_core@UOPS_RETIRED.MS\\,cmask\\=1@) * (tma_fetch_latency * (tma_ms_switches + tma_branch_resteers * (tma_clears_resteers + tma_mispredicts_resteers * tma_other_mispredicts / tma_branch_mispredicts) / (tma_clears_resteers + tma_mispredicts_resteers + tma_unknown_branches)) / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches))) - tma_info_bottleneck_big_code",
1221         "MetricGroup": "BvFB;Fed;FetchBW;Frontend",
1222         "MetricName": "tma_info_bottleneck_instruction_fetch_bw",
1223         "MetricThreshold": "tma_info_bottleneck_instruction_fetch_bw > 20",
1224         "Unit": "cpu_core"
1225     },
1226     {
1227         "BriefDescription": "Total pipeline cost of irregular execution (e.g",
1228         "MetricExpr": "100 * ((1 - cpu_core@INST_RETIRED.REP_ITERATION@ / cpu_core@UOPS_RETIRED.MS\\,cmask\\=1@) * (tma_fetch_latency * (tma_ms_switches + tma_branch_resteers * (tma_clears_resteers + tma_mispredicts_resteers * tma_other_mispredicts / tma_branch_mispredicts) / (tma_clears_resteers + tma_mispredicts_resteers + tma_unknown_branches)) / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches)) + 10 * tma_microcode_sequencer * tma_other_mispredicts / tma_branch_mispredicts * tma_branch_mispredicts + tma_machine_clears * tma_other_nukes / tma_other_nukes + tma_core_bound * (tma_serializing_operation + cpu_core@RS.EMPTY\\,umask\\=1@ / tma_info_thread_clks * tma_ports_utilized_0) / (tma_divider + tma_ports_utilization + tma_serializing_operation) + tma_microcode_sequencer / (tma_few_uops_instructions + tma_microcode_sequencer) * (tma_assists / tma_microcode_sequencer) * tma_heavy_operations)",
1229         "MetricGroup": "Bad;BvIO;Cor;Ret;tma_issueMS",
1230         "MetricName": "tma_info_bottleneck_irregular_overhead",
1231         "MetricThreshold": "tma_info_bottleneck_irregular_overhead > 10",
1232         "PublicDescription": "Total pipeline cost of irregular execution (e.g. FP-assists in HPC, Wait time with work imbalance multithreaded workloads, overhead in system services or virtualized environments). Related metrics: tma_microcode_sequencer, tma_ms_switches",
1233         "Unit": "cpu_core"
1234     },
1235     {
1236         "BriefDescription": "Total pipeline cost of Memory Address Translation related bottlenecks (data-side TLBs)",
1237         "MetricExpr": "100 * (tma_memory_bound * (tma_l1_bound / max(tma_memory_bound, tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_dtlb_load / max(tma_l1_bound, tma_dtlb_load + tma_fb_full + tma_l1_hit_latency + tma_lock_latency + tma_split_loads + tma_store_fwd_blk)) + tma_memory_bound * (tma_store_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_dtlb_store / (tma_dtlb_store + tma_false_sharing + tma_split_stores + tma_store_latency + tma_streaming_stores)))",
1238         "MetricGroup": "BvMT;Mem;MemoryTLB;Offcore;tma_issueTLB",
1239         "MetricName": "tma_info_bottleneck_memory_data_tlbs",
1240         "MetricThreshold": "tma_info_bottleneck_memory_data_tlbs > 20",
1241         "PublicDescription": "Total pipeline cost of Memory Address Translation related bottlenecks (data-side TLBs). Related metrics: tma_dtlb_load, tma_dtlb_store, tma_info_bottleneck_memory_synchronization",
1242         "Unit": "cpu_core"
1243     },
1244     {
1245         "BriefDescription": "Total pipeline cost of Memory Synchronization related bottlenecks (data transfers and coherency updates across processors)",
1246         "MetricExpr": "100 * (tma_memory_bound * (tma_l3_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound) * (tma_contested_accesses + tma_data_sharing) / (tma_contested_accesses + tma_data_sharing + tma_l3_hit_latency + tma_sq_full) + tma_store_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound) * tma_false_sharing / (tma_dtlb_store + tma_false_sharing + tma_split_stores + tma_store_latency + tma_streaming_stores - tma_store_latency)) + tma_machine_clears * (1 - tma_other_nukes / tma_other_nukes))",
1247         "MetricGroup": "BvMS;Mem;Offcore;tma_issueTLB",
1248         "MetricName": "tma_info_bottleneck_memory_synchronization",
1249         "MetricThreshold": "tma_info_bottleneck_memory_synchronization > 10",
1250         "PublicDescription": "Total pipeline cost of Memory Synchronization related bottlenecks (data transfers and coherency updates across processors). Related metrics: tma_dtlb_load, tma_dtlb_store, tma_info_bottleneck_memory_data_tlbs",
1251         "Unit": "cpu_core"
1252     },
1253     {
1254         "BriefDescription": "Total pipeline cost of Branch Misprediction related bottlenecks",
1255         "MetricExpr": "100 * (1 - 10 * tma_microcode_sequencer * tma_other_mispredicts / tma_branch_mispredicts) * (tma_branch_mispredicts + tma_fetch_latency * tma_mispredicts_resteers / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches))",
1256         "MetricGroup": "Bad;BadSpec;BrMispredicts;BvMP;tma_issueBM",
1257         "MetricName": "tma_info_bottleneck_mispredictions",
1258         "MetricThreshold": "tma_info_bottleneck_mispredictions > 20",
1259         "PublicDescription": "Total pipeline cost of Branch Misprediction related bottlenecks. Related metrics: tma_branch_mispredicts, tma_info_bad_spec_branch_misprediction_cost, tma_mispredicts_resteers",
1260         "Unit": "cpu_core"
1261     },
1262     {
1263         "BriefDescription": "Total pipeline cost of remaining bottlenecks in the back-end",
1264         "MetricExpr": "100 - (tma_info_bottleneck_big_code + tma_info_bottleneck_instruction_fetch_bw + tma_info_bottleneck_mispredictions + tma_info_bottleneck_cache_memory_bandwidth + tma_info_bottleneck_cache_memory_latency + tma_info_bottleneck_memory_data_tlbs + tma_info_bottleneck_memory_synchronization + tma_info_bottleneck_compute_bound_est + tma_info_bottleneck_irregular_overhead + tma_info_bottleneck_branching_overhead + tma_info_bottleneck_useful_work)",
1265         "MetricGroup": "BvOB;Cor;Offcore",
1266         "MetricName": "tma_info_bottleneck_other_bottlenecks",
1267         "MetricThreshold": "tma_info_bottleneck_other_bottlenecks > 20",
1268         "PublicDescription": "Total pipeline cost of remaining bottlenecks in the back-end. Examples include data-dependencies (Core Bound when Low ILP) and other unlisted memory-related stalls.",
1269         "Unit": "cpu_core"
1270     },
1271     {
1272         "BriefDescription": "Total pipeline cost of \"useful operations\" - the portion of Retiring category not covered by Branching_Overhead nor Irregular_Overhead.",
1273         "MetricExpr": "100 * (tma_retiring - (cpu_core@BR_INST_RETIRED.ALL_BRANCHES@ + 2 * cpu_core@BR_INST_RETIRED.NEAR_CALL@ + cpu_core@INST_RETIRED.NOP@) / tma_info_thread_slots - tma_microcode_sequencer / (tma_few_uops_instructions + tma_microcode_sequencer) * (tma_assists / tma_microcode_sequencer) * tma_heavy_operations)",
1274         "MetricGroup": "BvUW;Ret",
1275         "MetricName": "tma_info_bottleneck_useful_work",
1276         "MetricThreshold": "tma_info_bottleneck_useful_work > 20",
1277         "Unit": "cpu_core"
1278     },
1279     {
1280         "BriefDescription": "Fraction of branches that are CALL or RET",
1281         "MetricExpr": "(cpu_core@BR_INST_RETIRED.NEAR_CALL@ + cpu_core@BR_INST_RETIRED.NEAR_RETURN@) / cpu_core@BR_INST_RETIRED.ALL_BRANCHES@",
1282         "MetricGroup": "Bad;Branches",
1283         "MetricName": "tma_info_branches_callret",
1284         "Unit": "cpu_core"
1285     },
1286     {
1287         "BriefDescription": "Fraction of branches that are non-taken conditionals",
1288         "MetricExpr": "cpu_core@BR_INST_RETIRED.COND_NTAKEN@ / cpu_core@BR_INST_RETIRED.ALL_BRANCHES@",
1289         "MetricGroup": "Bad;Branches;CodeGen;PGO",
1290         "MetricName": "tma_info_branches_cond_nt",
1291         "Unit": "cpu_core"
1292     },
1293     {
1294         "BriefDescription": "Fraction of branches that are taken conditionals",
1295         "MetricExpr": "cpu_core@BR_INST_RETIRED.COND_TAKEN@ / cpu_core@BR_INST_RETIRED.ALL_BRANCHES@",
1296         "MetricGroup": "Bad;Branches;CodeGen;PGO",
1297         "MetricName": "tma_info_branches_cond_tk",
1298         "Unit": "cpu_core"
1299     },
1300     {
1301         "BriefDescription": "Fraction of branches that are unconditional (direct or indirect) jumps",
1302         "MetricExpr": "(cpu_core@BR_INST_RETIRED.NEAR_TAKEN@ - cpu_core@BR_INST_RETIRED.COND_TAKEN@ - 2 * cpu_core@BR_INST_RETIRED.NEAR_CALL@) / cpu_core@BR_INST_RETIRED.ALL_BRANCHES@",
1303         "MetricGroup": "Bad;Branches",
1304         "MetricName": "tma_info_branches_jump",
1305         "Unit": "cpu_core"
1306     },
1307     {
1308         "BriefDescription": "Fraction of branches of other types (not individually covered by other metrics in Info.Branches group)",
1309         "MetricExpr": "1 - (tma_info_branches_cond_nt + tma_info_branches_cond_tk + tma_info_branches_callret + tma_info_branches_jump)",
1310         "MetricGroup": "Bad;Branches",
1311         "MetricName": "tma_info_branches_other_branches",
1312         "Unit": "cpu_core"
1313     },
1314     {
1315         "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core",
1316         "MetricExpr": "(cpu_core@CPU_CLK_UNHALTED.DISTRIBUTED@ if #SMT_on else tma_info_thread_clks)",
1317         "MetricGroup": "SMT",
1318         "MetricName": "tma_info_core_core_clks",
1319         "Unit": "cpu_core"
1320     },
1321     {
1322         "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)",
1323         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / tma_info_core_core_clks",
1324         "MetricGroup": "Ret;SMT;TmaL1;tma_L1_group",
1325         "MetricName": "tma_info_core_coreipc",
1326         "Unit": "cpu_core"
1327     },
1328     {
1329         "BriefDescription": "uops Executed per Cycle",
1330         "MetricExpr": "cpu_core@UOPS_EXECUTED.THREAD@ / tma_info_thread_clks",
1331         "MetricGroup": "Power",
1332         "MetricName": "tma_info_core_epc",
1333         "Unit": "cpu_core"
1334     },
1335     {
1336         "BriefDescription": "Floating Point Operations Per Cycle",
1337         "MetricExpr": "(cpu_core@FP_ARITH_INST_RETIRED.SCALAR@ + 2 * cpu_core@FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE@ + 4 * cpu_core@FP_ARITH_INST_RETIRED.4_FLOPS@ + 8 * cpu_core@FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE@) / tma_info_core_core_clks",
1338         "MetricGroup": "Flops;Ret",
1339         "MetricName": "tma_info_core_flopc",
1340         "Unit": "cpu_core"
1341     },
1342     {
1343         "BriefDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width)",
1344         "MetricExpr": "(cpu_core@FP_ARITH_DISPATCHED.PORT_0@ + cpu_core@FP_ARITH_DISPATCHED.PORT_1@ + cpu_core@FP_ARITH_DISPATCHED.PORT_5@) / (2 * tma_info_core_core_clks)",
1345         "MetricGroup": "Cor;Flops;HPC",
1346         "MetricName": "tma_info_core_fp_arith_utilization",
1347         "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).",
1348         "Unit": "cpu_core"
1349     },
1350     {
1351         "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per thread (logical-processor)",
1352         "MetricExpr": "cpu_core@UOPS_EXECUTED.THREAD@ / cpu_core@UOPS_EXECUTED.THREAD\\,cmask\\=1@",
1353         "MetricGroup": "Backend;Cor;Pipeline;PortsUtil",
1354         "MetricName": "tma_info_core_ilp",
1355         "Unit": "cpu_core"
1356     },
1357     {
1358         "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)",
1359         "MetricExpr": "cpu_core@IDQ.DSB_UOPS@ / cpu_core@UOPS_ISSUED.ANY@",
1360         "MetricGroup": "DSB;Fed;FetchBW;tma_issueFB",
1361         "MetricName": "tma_info_frontend_dsb_coverage",
1362         "MetricThreshold": "tma_info_frontend_dsb_coverage < 0.7 & tma_info_thread_ipc / 6 > 0.35",
1363         "PublicDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache). Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_inst_mix_iptb, tma_lcp",
1364         "Unit": "cpu_core"
1365     },
1366     {
1367         "BriefDescription": "Average number of cycles of a switch from the DSB fetch-unit to MITE fetch unit - see DSB_Switches tree node for details.",
1368         "MetricExpr": "cpu_core@DSB2MITE_SWITCHES.PENALTY_CYCLES@ / cpu_core@DSB2MITE_SWITCHES.PENALTY_CYCLES\\,cmask\\=1\\,edge@",
1369         "MetricGroup": "DSBmiss",
1370         "MetricName": "tma_info_frontend_dsb_switch_cost",
1371         "Unit": "cpu_core"
1372     },
1373     {
1374         "BriefDescription": "Average number of Uops issued by front-end when it issued something",
1375         "MetricExpr": "cpu_core@UOPS_ISSUED.ANY@ / cpu_core@UOPS_ISSUED.ANY\\,cmask\\=1@",
1376         "MetricGroup": "Fed;FetchBW",
1377         "MetricName": "tma_info_frontend_fetch_upc",
1378         "Unit": "cpu_core"
1379     },
1380     {
1381         "BriefDescription": "Average Latency for L1 instruction cache misses",
1382         "MetricExpr": "cpu_core@ICACHE_DATA.STALLS@ / cpu_core@ICACHE_DATA.STALLS\\,cmask\\=1\\,edge@",
1383         "MetricGroup": "Fed;FetchLat;IcMiss",
1384         "MetricName": "tma_info_frontend_icache_miss_latency",
1385         "Unit": "cpu_core"
1386     },
1387     {
1388         "BriefDescription": "Instructions per non-speculative DSB miss (lower number means higher occurrence rate)",
1389         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@FRONTEND_RETIRED.ANY_DSB_MISS@",
1390         "MetricGroup": "DSBmiss;Fed",
1391         "MetricName": "tma_info_frontend_ipdsb_miss_ret",
1392         "MetricThreshold": "tma_info_frontend_ipdsb_miss_ret < 50",
1393         "Unit": "cpu_core"
1394     },
1395     {
1396         "BriefDescription": "Instructions per speculative Unknown Branch Misprediction (BAClear) (lower number means higher occurrence rate)",
1397         "MetricExpr": "tma_info_inst_mix_instructions / cpu_core@BACLEARS.ANY@",
1398         "MetricGroup": "Fed",
1399         "MetricName": "tma_info_frontend_ipunknown_branch",
1400         "Unit": "cpu_core"
1401     },
1402     {
1403         "BriefDescription": "L2 cache true code cacheline misses per kilo instruction",
1404         "MetricExpr": "1e3 * cpu_core@FRONTEND_RETIRED.L2_MISS@ / cpu_core@INST_RETIRED.ANY@",
1405         "MetricGroup": "IcMiss",
1406         "MetricName": "tma_info_frontend_l2mpki_code",
1407         "Unit": "cpu_core"
1408     },
1409     {
1410         "BriefDescription": "L2 cache speculative code cacheline misses per kilo instruction",
1411         "MetricExpr": "1e3 * cpu_core@L2_RQSTS.CODE_RD_MISS@ / cpu_core@INST_RETIRED.ANY@",
1412         "MetricGroup": "IcMiss",
1413         "MetricName": "tma_info_frontend_l2mpki_code_all",
1414         "Unit": "cpu_core"
1415     },
1416     {
1417         "BriefDescription": "Fraction of Uops delivered by the LSD (Loop Stream Detector; aka Loop Cache)",
1418         "MetricExpr": "cpu_core@LSD.UOPS@ / cpu_core@UOPS_ISSUED.ANY@",
1419         "MetricGroup": "Fed;LSD",
1420         "MetricName": "tma_info_frontend_lsd_coverage",
1421         "Unit": "cpu_core"
1422     },
1423     {
1424         "BriefDescription": "Average number of cycles the front-end was delayed due to an Unknown Branch detection",
1425         "MetricExpr": "cpu_core@INT_MISC.UNKNOWN_BRANCH_CYCLES@ / cpu_core@INT_MISC.UNKNOWN_BRANCH_CYCLES\\,cmask\\=1\\,edge@",
1426         "MetricGroup": "Fed",
1427         "MetricName": "tma_info_frontend_unknown_branch_cost",
1428         "PublicDescription": "Average number of cycles the front-end was delayed due to an Unknown Branch detection. See Unknown_Branches node.",
1429         "Unit": "cpu_core"
1430     },
1431     {
1432         "BriefDescription": "Branch instructions per taken branch.",
1433         "MetricExpr": "cpu_core@BR_INST_RETIRED.ALL_BRANCHES@ / cpu_core@BR_INST_RETIRED.NEAR_TAKEN@",
1434         "MetricGroup": "Branches;Fed;PGO",
1435         "MetricName": "tma_info_inst_mix_bptkbranch",
1436         "Unit": "cpu_core"
1437     },
1438     {
1439         "BriefDescription": "Total number of retired Instructions",
1440         "MetricExpr": "cpu_core@INST_RETIRED.ANY@",
1441         "MetricGroup": "Summary;TmaL1;tma_L1_group",
1442         "MetricName": "tma_info_inst_mix_instructions",
1443         "PublicDescription": "Total number of retired Instructions. Sample with: INST_RETIRED.PREC_DIST",
1444         "Unit": "cpu_core"
1445     },
1446     {
1447         "BriefDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate)",
1448         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / (cpu_core@FP_ARITH_INST_RETIRED.SCALAR@ + cpu_core@FP_ARITH_INST_RETIRED.VECTOR@)",
1449         "MetricGroup": "Flops;InsType",
1450         "MetricName": "tma_info_inst_mix_iparith",
1451         "MetricThreshold": "tma_info_inst_mix_iparith < 10",
1452         "PublicDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting. Approximated prior to BDW.",
1453         "Unit": "cpu_core"
1454     },
1455     {
1456         "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate)",
1457         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / (cpu_core@FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE@ + cpu_core@FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE@)",
1458         "MetricGroup": "Flops;FpVector;InsType",
1459         "MetricName": "tma_info_inst_mix_iparith_avx128",
1460         "MetricThreshold": "tma_info_inst_mix_iparith_avx128 < 10",
1461         "PublicDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting.",
1462         "Unit": "cpu_core"
1463     },
1464     {
1465         "BriefDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate)",
1466         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / (cpu_core@FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE@ + cpu_core@FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE@)",
1467         "MetricGroup": "Flops;FpVector;InsType",
1468         "MetricName": "tma_info_inst_mix_iparith_avx256",
1469         "MetricThreshold": "tma_info_inst_mix_iparith_avx256 < 10",
1470         "PublicDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting.",
1471         "Unit": "cpu_core"
1472     },
1473     {
1474         "BriefDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate)",
1475         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@FP_ARITH_INST_RETIRED.SCALAR_DOUBLE@",
1476         "MetricGroup": "Flops;FpScalar;InsType",
1477         "MetricName": "tma_info_inst_mix_iparith_scalar_dp",
1478         "MetricThreshold": "tma_info_inst_mix_iparith_scalar_dp < 10",
1479         "PublicDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting.",
1480         "Unit": "cpu_core"
1481     },
1482     {
1483         "BriefDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate)",
1484         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@FP_ARITH_INST_RETIRED.SCALAR_SINGLE@",
1485         "MetricGroup": "Flops;FpScalar;InsType",
1486         "MetricName": "tma_info_inst_mix_iparith_scalar_sp",
1487         "MetricThreshold": "tma_info_inst_mix_iparith_scalar_sp < 10",
1488         "PublicDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting.",
1489         "Unit": "cpu_core"
1490     },
1491     {
1492         "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)",
1493         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_INST_RETIRED.ALL_BRANCHES@",
1494         "MetricGroup": "Branches;Fed;InsType",
1495         "MetricName": "tma_info_inst_mix_ipbranch",
1496         "MetricThreshold": "tma_info_inst_mix_ipbranch < 8",
1497         "Unit": "cpu_core"
1498     },
1499     {
1500         "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)",
1501         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_INST_RETIRED.NEAR_CALL@",
1502         "MetricGroup": "Branches;Fed;PGO",
1503         "MetricName": "tma_info_inst_mix_ipcall",
1504         "MetricThreshold": "tma_info_inst_mix_ipcall < 200",
1505         "Unit": "cpu_core"
1506     },
1507     {
1508         "BriefDescription": "Instructions per Floating Point (FP) Operation (lower number means higher occurrence rate)",
1509         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / (cpu_core@FP_ARITH_INST_RETIRED.SCALAR@ + 2 * cpu_core@FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE@ + 4 * cpu_core@FP_ARITH_INST_RETIRED.4_FLOPS@ + 8 * cpu_core@FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE@)",
1510         "MetricGroup": "Flops;InsType",
1511         "MetricName": "tma_info_inst_mix_ipflop",
1512         "MetricThreshold": "tma_info_inst_mix_ipflop < 10",
1513         "Unit": "cpu_core"
1514     },
1515     {
1516         "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)",
1517         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@MEM_INST_RETIRED.ALL_LOADS@",
1518         "MetricGroup": "InsType",
1519         "MetricName": "tma_info_inst_mix_ipload",
1520         "MetricThreshold": "tma_info_inst_mix_ipload < 3",
1521         "Unit": "cpu_core"
1522     },
1523     {
1524         "BriefDescription": "Instructions per PAUSE (lower number means higher occurrence rate)",
1525         "MetricExpr": "tma_info_inst_mix_instructions / cpu_core@CPU_CLK_UNHALTED.PAUSE_INST@",
1526         "MetricGroup": "Flops;FpVector;InsType",
1527         "MetricName": "tma_info_inst_mix_ippause",
1528         "Unit": "cpu_core"
1529     },
1530     {
1531         "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)",
1532         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@MEM_INST_RETIRED.ALL_STORES@",
1533         "MetricGroup": "InsType",
1534         "MetricName": "tma_info_inst_mix_ipstore",
1535         "MetricThreshold": "tma_info_inst_mix_ipstore < 8",
1536         "Unit": "cpu_core"
1537     },
1538     {
1539         "BriefDescription": "Instructions per Software prefetch instruction (of any type: NTA/T0/T1/T2/Prefetch) (lower number means higher occurrence rate)",
1540         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@SW_PREFETCH_ACCESS.T0\\,umask\\=0xF@",
1541         "MetricGroup": "Prefetches",
1542         "MetricName": "tma_info_inst_mix_ipswpf",
1543         "MetricThreshold": "tma_info_inst_mix_ipswpf < 100",
1544         "Unit": "cpu_core"
1545     },
1546     {
1547         "BriefDescription": "Instructions per taken branch",
1548         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_INST_RETIRED.NEAR_TAKEN@",
1549         "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO;tma_issueFB",
1550         "MetricName": "tma_info_inst_mix_iptb",
1551         "MetricThreshold": "tma_info_inst_mix_iptb < 13",
1552         "PublicDescription": "Instructions per taken branch. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_lcp",
1553         "Unit": "cpu_core"
1554     },
1555     {
1556         "BriefDescription": "Average per-core data fill bandwidth to the L1 data cache [GB / sec]",
1557         "MetricExpr": "tma_info_memory_l1d_cache_fill_bw",
1558         "MetricGroup": "Mem;MemoryBW",
1559         "MetricName": "tma_info_memory_core_l1d_cache_fill_bw_2t",
1560         "Unit": "cpu_core"
1561     },
1562     {
1563         "BriefDescription": "Average per-core data fill bandwidth to the L2 cache [GB / sec]",
1564         "MetricExpr": "tma_info_memory_l2_cache_fill_bw",
1565         "MetricGroup": "Mem;MemoryBW",
1566         "MetricName": "tma_info_memory_core_l2_cache_fill_bw_2t",
1567         "Unit": "cpu_core"
1568     },
1569     {
1570         "BriefDescription": "Average per-core data access bandwidth to the L3 cache [GB / sec]",
1571         "MetricExpr": "tma_info_memory_l3_cache_access_bw",
1572         "MetricGroup": "Mem;MemoryBW;Offcore",
1573         "MetricName": "tma_info_memory_core_l3_cache_access_bw_2t",
1574         "Unit": "cpu_core"
1575     },
1576     {
1577         "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]",
1578         "MetricExpr": "tma_info_memory_l3_cache_fill_bw",
1579         "MetricGroup": "Mem;MemoryBW",
1580         "MetricName": "tma_info_memory_core_l3_cache_fill_bw_2t",
1581         "Unit": "cpu_core"
1582     },
1583     {
1584         "BriefDescription": "Fill Buffer (FB) hits per kilo instructions for retired demand loads (L1D misses that merge into ongoing miss-handling entries)",
1585         "MetricExpr": "1e3 * cpu_core@MEM_LOAD_RETIRED.FB_HIT@ / cpu_core@INST_RETIRED.ANY@",
1586         "MetricGroup": "CacheHits;Mem",
1587         "MetricName": "tma_info_memory_fb_hpki",
1588         "Unit": "cpu_core"
1589     },
1590     {
1591         "BriefDescription": "Average per-thread data fill bandwidth to the L1 data cache [GB / sec]",
1592         "MetricExpr": "64 * cpu_core@L1D.REPLACEMENT@ / 1e9 / duration_time",
1593         "MetricGroup": "Mem;MemoryBW",
1594         "MetricName": "tma_info_memory_l1d_cache_fill_bw",
1595         "Unit": "cpu_core"
1596     },
1597     {
1598         "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads",
1599         "MetricExpr": "1e3 * cpu_core@MEM_LOAD_RETIRED.L1_MISS@ / cpu_core@INST_RETIRED.ANY@",
1600         "MetricGroup": "CacheHits;Mem",
1601         "MetricName": "tma_info_memory_l1mpki",
1602         "Unit": "cpu_core"
1603     },
1604     {
1605         "BriefDescription": "L1 cache true misses per kilo instruction for all demand loads (including speculative)",
1606         "MetricExpr": "1e3 * cpu_core@L2_RQSTS.ALL_DEMAND_DATA_RD@ / cpu_core@INST_RETIRED.ANY@",
1607         "MetricGroup": "CacheHits;Mem",
1608         "MetricName": "tma_info_memory_l1mpki_load",
1609         "Unit": "cpu_core"
1610     },
1611     {
1612         "BriefDescription": "Average per-thread data fill bandwidth to the L2 cache [GB / sec]",
1613         "MetricExpr": "64 * cpu_core@L2_LINES_IN.ALL@ / 1e9 / duration_time",
1614         "MetricGroup": "Mem;MemoryBW",
1615         "MetricName": "tma_info_memory_l2_cache_fill_bw",
1616         "Unit": "cpu_core"
1617     },
1618     {
1619         "BriefDescription": "L2 cache hits per kilo instruction for all request types (including speculative)",
1620         "MetricExpr": "1e3 * (cpu_core@L2_RQSTS.REFERENCES@ - cpu_core@L2_RQSTS.MISS@) / cpu_core@INST_RETIRED.ANY@",
1621         "MetricGroup": "CacheHits;Mem",
1622         "MetricName": "tma_info_memory_l2hpki_all",
1623         "Unit": "cpu_core"
1624     },
1625     {
1626         "BriefDescription": "L2 cache hits per kilo instruction for all demand loads  (including speculative)",
1627         "MetricExpr": "1e3 * cpu_core@L2_RQSTS.DEMAND_DATA_RD_HIT@ / cpu_core@INST_RETIRED.ANY@",
1628         "MetricGroup": "CacheHits;Mem",
1629         "MetricName": "tma_info_memory_l2hpki_load",
1630         "Unit": "cpu_core"
1631     },
1632     {
1633         "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads",
1634         "MetricExpr": "1e3 * cpu_core@MEM_LOAD_RETIRED.L2_MISS@ / cpu_core@INST_RETIRED.ANY@",
1635         "MetricGroup": "Backend;CacheHits;Mem",
1636         "MetricName": "tma_info_memory_l2mpki",
1637         "Unit": "cpu_core"
1638     },
1639     {
1640         "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all request types (including speculative)",
1641         "MetricExpr": "1e3 * cpu_core@L2_RQSTS.MISS@ / cpu_core@INST_RETIRED.ANY@",
1642         "MetricGroup": "CacheHits;Mem;Offcore",
1643         "MetricName": "tma_info_memory_l2mpki_all",
1644         "Unit": "cpu_core"
1645     },
1646     {
1647         "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all demand loads  (including speculative)",
1648         "MetricExpr": "1e3 * cpu_core@L2_RQSTS.DEMAND_DATA_RD_MISS@ / cpu_core@INST_RETIRED.ANY@",
1649         "MetricGroup": "CacheHits;Mem",
1650         "MetricName": "tma_info_memory_l2mpki_load",
1651         "Unit": "cpu_core"
1652     },
1653     {
1654         "BriefDescription": "Offcore requests (L2 cache miss) per kilo instruction for demand RFOs",
1655         "MetricExpr": "1e3 * cpu_core@L2_RQSTS.RFO_MISS@ / cpu_core@INST_RETIRED.ANY@",
1656         "MetricGroup": "CacheMisses;Offcore",
1657         "MetricName": "tma_info_memory_l2mpki_rfo",
1658         "Unit": "cpu_core"
1659     },
1660     {
1661         "BriefDescription": "Average per-thread data access bandwidth to the L3 cache [GB / sec]",
1662         "MetricExpr": "64 * cpu_core@OFFCORE_REQUESTS.ALL_REQUESTS@ / 1e9 / duration_time",
1663         "MetricGroup": "Mem;MemoryBW;Offcore",
1664         "MetricName": "tma_info_memory_l3_cache_access_bw",
1665         "Unit": "cpu_core"
1666     },
1667     {
1668         "BriefDescription": "Average per-thread data fill bandwidth to the L3 cache [GB / sec]",
1669         "MetricExpr": "64 * cpu_core@LONGEST_LAT_CACHE.MISS@ / 1e9 / duration_time",
1670         "MetricGroup": "Mem;MemoryBW",
1671         "MetricName": "tma_info_memory_l3_cache_fill_bw",
1672         "Unit": "cpu_core"
1673     },
1674     {
1675         "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads",
1676         "MetricExpr": "1e3 * cpu_core@MEM_LOAD_RETIRED.L3_MISS@ / cpu_core@INST_RETIRED.ANY@",
1677         "MetricGroup": "Mem",
1678         "MetricName": "tma_info_memory_l3mpki",
1679         "Unit": "cpu_core"
1680     },
1681     {
1682         "BriefDescription": "Average Parallel L2 cache miss data reads",
1683         "MetricExpr": "cpu_core@OFFCORE_REQUESTS_OUTSTANDING.DATA_RD@ / cpu_core@OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD@",
1684         "MetricGroup": "Memory_BW;Offcore",
1685         "MetricName": "tma_info_memory_latency_data_l2_mlp",
1686         "Unit": "cpu_core"
1687     },
1688     {
1689         "BriefDescription": "Average Latency for L2 cache miss demand Loads",
1690         "MetricExpr": "cpu_core@OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD@ / cpu_core@OFFCORE_REQUESTS.DEMAND_DATA_RD@",
1691         "MetricGroup": "Memory_Lat;Offcore",
1692         "MetricName": "tma_info_memory_latency_load_l2_miss_latency",
1693         "Unit": "cpu_core"
1694     },
1695     {
1696         "BriefDescription": "Average Parallel L2 cache miss demand Loads",
1697         "MetricExpr": "cpu_core@OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD@ / cpu_core@OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD\\,cmask\\=1@",
1698         "MetricGroup": "Memory_BW;Offcore",
1699         "MetricName": "tma_info_memory_latency_load_l2_mlp",
1700         "Unit": "cpu_core"
1701     },
1702     {
1703         "BriefDescription": "Average Latency for L3 cache miss demand Loads",
1704         "MetricExpr": "cpu_core@OFFCORE_REQUESTS_OUTSTANDING.L3_MISS_DEMAND_DATA_RD@ / cpu_core@OFFCORE_REQUESTS.L3_MISS_DEMAND_DATA_RD@",
1705         "MetricGroup": "Memory_Lat;Offcore",
1706         "MetricName": "tma_info_memory_latency_load_l3_miss_latency",
1707         "Unit": "cpu_core"
1708     },
1709     {
1710         "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load operations (in core cycles)",
1711         "MetricExpr": "cpu_core@L1D_PEND_MISS.PENDING@ / cpu_core@MEM_LOAD_COMPLETED.L1_MISS_ANY@",
1712         "MetricGroup": "Mem;MemoryBound;MemoryLat",
1713         "MetricName": "tma_info_memory_load_miss_real_latency",
1714         "Unit": "cpu_core"
1715     },
1716     {
1717         "BriefDescription": "\"Bus lock\" per kilo instruction",
1718         "MetricExpr": "1e3 * cpu_core@SQ_MISC.BUS_LOCK@ / cpu_core@INST_RETIRED.ANY@",
1719         "MetricGroup": "Mem",
1720         "MetricName": "tma_info_memory_mix_bus_lock_pki",
1721         "Unit": "cpu_core"
1722     },
1723     {
1724         "BriefDescription": "Un-cacheable retired load per kilo instruction",
1725         "MetricExpr": "1e3 * cpu_core@MEM_LOAD_MISC_RETIRED.UC@ / cpu_core@INST_RETIRED.ANY@",
1726         "MetricGroup": "Mem",
1727         "MetricName": "tma_info_memory_mix_uc_load_pki",
1728         "Unit": "cpu_core"
1729     },
1730     {
1731         "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss",
1732         "MetricExpr": "cpu_core@L1D_PEND_MISS.PENDING@ / cpu_core@L1D_PEND_MISS.PENDING_CYCLES@",
1733         "MetricGroup": "Mem;MemoryBW;MemoryBound",
1734         "MetricName": "tma_info_memory_mlp",
1735         "PublicDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)",
1736         "Unit": "cpu_core"
1737     },
1738     {
1739         "BriefDescription": "STLB (2nd level TLB) code speculative misses per kilo instruction (misses of any page-size that complete the page walk)",
1740         "MetricExpr": "1e3 * cpu_core@ITLB_MISSES.WALK_COMPLETED@ / cpu_core@INST_RETIRED.ANY@",
1741         "MetricGroup": "Fed;MemoryTLB",
1742         "MetricName": "tma_info_memory_tlb_code_stlb_mpki",
1743         "Unit": "cpu_core"
1744     },
1745     {
1746         "BriefDescription": "STLB (2nd level TLB) data load speculative misses per kilo instruction (misses of any page-size that complete the page walk)",
1747         "MetricExpr": "1e3 * cpu_core@DTLB_LOAD_MISSES.WALK_COMPLETED@ / cpu_core@INST_RETIRED.ANY@",
1748         "MetricGroup": "Mem;MemoryTLB",
1749         "MetricName": "tma_info_memory_tlb_load_stlb_mpki",
1750         "Unit": "cpu_core"
1751     },
1752     {
1753         "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses",
1754         "MetricExpr": "(cpu_core@ITLB_MISSES.WALK_PENDING@ + cpu_core@DTLB_LOAD_MISSES.WALK_PENDING@ + cpu_core@DTLB_STORE_MISSES.WALK_PENDING@) / (4 * tma_info_core_core_clks)",
1755         "MetricGroup": "Mem;MemoryTLB",
1756         "MetricName": "tma_info_memory_tlb_page_walks_utilization",
1757         "MetricThreshold": "tma_info_memory_tlb_page_walks_utilization > 0.5",
1758         "Unit": "cpu_core"
1759     },
1760     {
1761         "BriefDescription": "STLB (2nd level TLB) data store speculative misses per kilo instruction (misses of any page-size that complete the page walk)",
1762         "MetricExpr": "1e3 * cpu_core@DTLB_STORE_MISSES.WALK_COMPLETED@ / cpu_core@INST_RETIRED.ANY@",
1763         "MetricGroup": "Mem;MemoryTLB",
1764         "MetricName": "tma_info_memory_tlb_store_stlb_mpki",
1765         "Unit": "cpu_core"
1766     },
1767     {
1768         "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per core",
1769         "MetricExpr": "cpu_core@UOPS_EXECUTED.THREAD@ / (cpu_core@UOPS_EXECUTED.CORE_CYCLES_GE_1@ / 2 if #SMT_on else cpu_core@UOPS_EXECUTED.THREAD\\,cmask\\=1@)",
1770         "MetricGroup": "Cor;Pipeline;PortsUtil;SMT",
1771         "MetricName": "tma_info_pipeline_execute",
1772         "Unit": "cpu_core"
1773     },
1774     {
1775         "BriefDescription": "Average number of uops fetched from DSB per cycle",
1776         "MetricExpr": "cpu_core@IDQ.DSB_UOPS@ / cpu_core@IDQ.DSB_CYCLES_ANY@",
1777         "MetricGroup": "Fed;FetchBW",
1778         "MetricName": "tma_info_pipeline_fetch_dsb",
1779         "Unit": "cpu_core"
1780     },
1781     {
1782         "BriefDescription": "Average number of uops fetched from LSD per cycle",
1783         "MetricExpr": "cpu_core@LSD.UOPS@ / cpu_core@LSD.CYCLES_ACTIVE@",
1784         "MetricGroup": "Fed;FetchBW",
1785         "MetricName": "tma_info_pipeline_fetch_lsd",
1786         "Unit": "cpu_core"
1787     },
1788     {
1789         "BriefDescription": "Average number of uops fetched from MITE per cycle",
1790         "MetricExpr": "cpu_core@IDQ.MITE_UOPS@ / cpu_core@IDQ.MITE_CYCLES_ANY@",
1791         "MetricGroup": "Fed;FetchBW",
1792         "MetricName": "tma_info_pipeline_fetch_mite",
1793         "Unit": "cpu_core"
1794     },
1795     {
1796         "BriefDescription": "Instructions per a microcode Assist invocation",
1797         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@ASSISTS.ANY@",
1798         "MetricGroup": "MicroSeq;Pipeline;Ret;Retire",
1799         "MetricName": "tma_info_pipeline_ipassist",
1800         "MetricThreshold": "tma_info_pipeline_ipassist < 100e3",
1801         "PublicDescription": "Instructions per a microcode Assist invocation. See Assists tree node for details (lower number means higher occurrence rate)",
1802         "Unit": "cpu_core"
1803     },
1804     {
1805         "BriefDescription": "Average number of Uops retired in cycles where at least one uop has retired.",
1806         "MetricExpr": "tma_retiring * tma_info_thread_slots / cpu_core@UOPS_RETIRED.SLOTS\\,cmask\\=1@",
1807         "MetricGroup": "Pipeline;Ret",
1808         "MetricName": "tma_info_pipeline_retire",
1809         "Unit": "cpu_core"
1810     },
1811     {
1812         "BriefDescription": "Estimated fraction of retirement-cycles dealing with repeat instructions",
1813         "MetricExpr": "cpu_core@INST_RETIRED.REP_ITERATION@ / cpu_core@UOPS_RETIRED.SLOTS\\,cmask\\=1@",
1814         "MetricGroup": "MicroSeq;Pipeline;Ret",
1815         "MetricName": "tma_info_pipeline_strings_cycles",
1816         "MetricThreshold": "tma_info_pipeline_strings_cycles > 0.1",
1817         "Unit": "cpu_core"
1818     },
1819     {
1820         "BriefDescription": "Fraction of cycles the processor is waiting yet unhalted; covering legacy PAUSE instruction, as well as C0.1 / C0.2 power-performance optimized states",
1821         "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C0_WAIT@ / tma_info_thread_clks",
1822         "MetricGroup": "C0Wait",
1823         "MetricName": "tma_info_system_c0_wait",
1824         "MetricThreshold": "tma_info_system_c0_wait > 0.05",
1825         "Unit": "cpu_core"
1826     },
1827     {
1828         "BriefDescription": "Measured Average Core Frequency for unhalted processors [GHz]",
1829         "MetricExpr": "tma_info_system_turbo_utilization * TSC / 1e9 / duration_time",
1830         "MetricGroup": "Power;Summary",
1831         "MetricName": "tma_info_system_core_frequency",
1832         "Unit": "cpu_core"
1833     },
1834     {
1835         "BriefDescription": "Average CPU Utilization (percentage)",
1836         "MetricExpr": "tma_info_system_cpus_utilized / #num_cpus_online",
1837         "MetricGroup": "HPC;Summary",
1838         "MetricName": "tma_info_system_cpu_utilization",
1839         "Unit": "cpu_core"
1840     },
1841     {
1842         "BriefDescription": "Average number of utilized CPUs",
1843         "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.REF_TSC@ / TSC",
1844         "MetricGroup": "Summary",
1845         "MetricName": "tma_info_system_cpus_utilized",
1846         "Unit": "cpu_core"
1847     },
1848     {
1849         "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]",
1850         "MetricExpr": "64 * (UNC_ARB_TRK_REQUESTS.ALL + UNC_ARB_COH_TRK_REQUESTS.ALL) / 1e6 / duration_time / 1e3",
1851         "MetricGroup": "HPC;MemOffcore;MemoryBW;SoC;tma_issueBW",
1852         "MetricName": "tma_info_system_dram_bw_use",
1853         "PublicDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]. Related metrics: tma_fb_full, tma_info_bottleneck_cache_memory_bandwidth, tma_mem_bandwidth, tma_sq_full",
1854         "Unit": "cpu_core"
1855     },
1856     {
1857         "BriefDescription": "Giga Floating Point Operations Per Second",
1858         "MetricExpr": "(cpu_core@FP_ARITH_INST_RETIRED.SCALAR@ + 2 * cpu_core@FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE@ + 4 * cpu_core@FP_ARITH_INST_RETIRED.4_FLOPS@ + 8 * cpu_core@FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE@) / 1e9 / duration_time",
1859         "MetricGroup": "Cor;Flops;HPC",
1860         "MetricName": "tma_info_system_gflops",
1861         "PublicDescription": "Giga Floating Point Operations Per Second. Aggregate across all supported options of: FP precisions, scalar and vector instructions, vector-width",
1862         "Unit": "cpu_core"
1863     },
1864     {
1865         "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]",
1866         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / cpu_core@BR_INST_RETIRED.FAR_BRANCH@u",
1867         "MetricGroup": "Branches;OS",
1868         "MetricName": "tma_info_system_ipfarbranch",
1869         "MetricThreshold": "tma_info_system_ipfarbranch < 1e6",
1870         "Unit": "cpu_core"
1871     },
1872     {
1873         "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode",
1874         "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.THREAD_P@k / cpu_core@INST_RETIRED.ANY_P@k",
1875         "MetricGroup": "OS",
1876         "MetricName": "tma_info_system_kernel_cpi",
1877         "Unit": "cpu_core"
1878     },
1879     {
1880         "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode",
1881         "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.THREAD_P@k / cpu_core@CPU_CLK_UNHALTED.THREAD@",
1882         "MetricGroup": "OS",
1883         "MetricName": "tma_info_system_kernel_utilization",
1884         "MetricThreshold": "tma_info_system_kernel_utilization > 0.05",
1885         "Unit": "cpu_core"
1886     },
1887     {
1888         "BriefDescription": "Average number of parallel data read requests to external memory",
1889         "MetricExpr": "UNC_ARB_DAT_OCCUPANCY.RD / UNC_ARB_DAT_OCCUPANCY.RD@cmask\\=1@",
1890         "MetricGroup": "Mem;MemoryBW;SoC",
1891         "MetricName": "tma_info_system_mem_parallel_reads",
1892         "PublicDescription": "Average number of parallel data read requests to external memory. Accounts for demand loads and L1/L2 prefetches",
1893         "Unit": "cpu_core"
1894     },
1895     {
1896         "BriefDescription": "Average latency of data read request to external memory (in nanoseconds)",
1897         "MetricConstraint": "NO_GROUP_EVENTS",
1898         "MetricExpr": "(UNC_ARB_TRK_OCCUPANCY.RD + UNC_ARB_DAT_OCCUPANCY.RD) / UNC_ARB_TRK_REQUESTS.RD",
1899         "MetricGroup": "Mem;MemoryLat;SoC",
1900         "MetricName": "tma_info_system_mem_read_latency",
1901         "PublicDescription": "Average latency of data read request to external memory (in nanoseconds). Accounts for demand loads and L1/L2 prefetches. ([RKL+]memory-controller only)",
1902         "Unit": "cpu_core"
1903     },
1904     {
1905         "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active",
1906         "MetricExpr": "(1 - cpu_core@CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE@ / cpu_core@CPU_CLK_UNHALTED.REF_DISTRIBUTED@ if #SMT_on else 0)",
1907         "MetricGroup": "SMT",
1908         "MetricName": "tma_info_system_smt_2t_utilization",
1909         "Unit": "cpu_core"
1910     },
1911     {
1912         "BriefDescription": "Socket actual clocks when any core is active on that socket",
1913         "MetricExpr": "UNC_CLOCK.SOCKET",
1914         "MetricGroup": "SoC",
1915         "MetricName": "tma_info_system_socket_clks",
1916         "Unit": "cpu_core"
1917     },
1918     {
1919         "BriefDescription": "Average Frequency Utilization relative nominal frequency",
1920         "MetricExpr": "tma_info_thread_clks / cpu_core@CPU_CLK_UNHALTED.REF_TSC@",
1921         "MetricGroup": "Power",
1922         "MetricName": "tma_info_system_turbo_utilization",
1923         "Unit": "cpu_core"
1924     },
1925     {
1926         "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.",
1927         "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.THREAD@",
1928         "MetricGroup": "Pipeline",
1929         "MetricName": "tma_info_thread_clks",
1930         "Unit": "cpu_core"
1931     },
1932     {
1933         "BriefDescription": "Cycles Per Instruction (per Logical Processor)",
1934         "MetricExpr": "1 / tma_info_thread_ipc",
1935         "MetricGroup": "Mem;Pipeline",
1936         "MetricName": "tma_info_thread_cpi",
1937         "Unit": "cpu_core"
1938     },
1939     {
1940         "BriefDescription": "The ratio of Executed- by Issued-Uops",
1941         "MetricExpr": "cpu_core@UOPS_EXECUTED.THREAD@ / cpu_core@UOPS_ISSUED.ANY@",
1942         "MetricGroup": "Cor;Pipeline",
1943         "MetricName": "tma_info_thread_execute_per_issue",
1944         "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.",
1945         "Unit": "cpu_core"
1946     },
1947     {
1948         "BriefDescription": "Instructions Per Cycle (per Logical Processor)",
1949         "MetricExpr": "cpu_core@INST_RETIRED.ANY@ / tma_info_thread_clks",
1950         "MetricGroup": "Ret;Summary",
1951         "MetricName": "tma_info_thread_ipc",
1952         "Unit": "cpu_core"
1953     },
1954     {
1955         "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)",
1956         "MetricExpr": "cpu_core@TOPDOWN.SLOTS@",
1957         "MetricGroup": "TmaL1;tma_L1_group",
1958         "MetricName": "tma_info_thread_slots",
1959         "Unit": "cpu_core"
1960     },
1961     {
1962         "BriefDescription": "Fraction of Physical Core issue-slots utilized by this Logical Processor",
1963         "MetricExpr": "(tma_info_thread_slots / (cpu_core@TOPDOWN.SLOTS@ / 2) if #SMT_on else 1)",
1964         "MetricGroup": "SMT;TmaL1;tma_L1_group",
1965         "MetricName": "tma_info_thread_slots_utilization",
1966         "Unit": "cpu_core"
1967     },
1968     {
1969         "BriefDescription": "Uops Per Instruction",
1970         "MetricExpr": "tma_retiring * tma_info_thread_slots / cpu_core@INST_RETIRED.ANY@",
1971         "MetricGroup": "Pipeline;Ret;Retire",
1972         "MetricName": "tma_info_thread_uoppi",
1973         "MetricThreshold": "tma_info_thread_uoppi > 1.05",
1974         "Unit": "cpu_core"
1975     },
1976     {
1977         "BriefDescription": "Uops per taken branch",
1978         "MetricExpr": "tma_retiring * tma_info_thread_slots / cpu_core@BR_INST_RETIRED.NEAR_TAKEN@",
1979         "MetricGroup": "Branches;Fed;FetchBW",
1980         "MetricName": "tma_info_thread_uptb",
1981         "MetricThreshold": "tma_info_thread_uptb < 9",
1982         "Unit": "cpu_core"
1983     },
1984     {
1985         "BriefDescription": "This metric represents overall Integer (Int) select operations fraction the CPU has executed (retired)",
1986         "MetricExpr": "tma_int_vector_128b + tma_int_vector_256b",
1987         "MetricGroup": "Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group",
1988         "MetricName": "tma_int_operations",
1989         "MetricThreshold": "tma_int_operations > 0.1 & tma_light_operations > 0.6",
1990         "PublicDescription": "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.",
1991         "ScaleUnit": "100%",
1992         "Unit": "cpu_core"
1993     },
1994     {
1995         "BriefDescription": "This metric represents 128-bit vector Integer ADD/SUB/SAD or VNNI (Vector Neural Network Instructions) uops fraction the CPU has retired",
1996         "MetricExpr": "(cpu_core@INT_VEC_RETIRED.ADD_128@ + cpu_core@INT_VEC_RETIRED.VNNI_128@) / (tma_retiring * tma_info_thread_slots)",
1997         "MetricGroup": "Compute;IntVector;Pipeline;TopdownL4;tma_L4_group;tma_int_operations_group;tma_issue2P",
1998         "MetricName": "tma_int_vector_128b",
1999         "MetricThreshold": "tma_int_vector_128b > 0.1 & (tma_int_operations > 0.1 & tma_light_operations > 0.6)",
2000         "PublicDescription": "This metric represents 128-bit vector Integer ADD/SUB/SAD or VNNI (Vector Neural Network Instructions) uops fraction the CPU has retired. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2",
2001         "ScaleUnit": "100%",
2002         "Unit": "cpu_core"
2003     },
2004     {
2005         "BriefDescription": "This metric represents 256-bit vector Integer ADD/SUB/SAD/MUL or VNNI (Vector Neural Network Instructions) uops fraction the CPU has retired",
2006         "MetricExpr": "(cpu_core@INT_VEC_RETIRED.ADD_256@ + cpu_core@INT_VEC_RETIRED.MUL_256@ + cpu_core@INT_VEC_RETIRED.VNNI_256@) / (tma_retiring * tma_info_thread_slots)",
2007         "MetricGroup": "Compute;IntVector;Pipeline;TopdownL4;tma_L4_group;tma_int_operations_group;tma_issue2P",
2008         "MetricName": "tma_int_vector_256b",
2009         "MetricThreshold": "tma_int_vector_256b > 0.1 & (tma_int_operations > 0.1 & tma_light_operations > 0.6)",
2010         "PublicDescription": "This metric represents 256-bit vector Integer ADD/SUB/SAD/MUL or VNNI (Vector Neural Network Instructions) uops fraction the CPU has retired. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2",
2011         "ScaleUnit": "100%",
2012         "Unit": "cpu_core"
2013     },
2014     {
2015         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses",
2016         "MetricExpr": "cpu_core@ICACHE_TAG.STALLS@ / tma_info_thread_clks",
2017         "MetricGroup": "BigFootprint;BvBC;FetchLat;MemoryTLB;TopdownL3;tma_L3_group;tma_fetch_latency_group",
2018         "MetricName": "tma_itlb_misses",
2019         "MetricThreshold": "tma_itlb_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)",
2020         "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses. Sample with: FRONTEND_RETIRED.STLB_MISS_PS;FRONTEND_RETIRED.ITLB_MISS_PS",
2021         "ScaleUnit": "100%",
2022         "Unit": "cpu_core"
2023     },
2024     {
2025         "BriefDescription": "This metric estimates how often the CPU was stalled without loads missing the L1 data cache",
2026         "MetricExpr": "max((cpu_core@EXE_ACTIVITY.BOUND_ON_LOADS@ - cpu_core@MEMORY_ACTIVITY.STALLS_L1D_MISS@) / tma_info_thread_clks, 0)",
2027         "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_issueL1;tma_issueMC;tma_memory_bound_group",
2028         "MetricName": "tma_l1_bound",
2029         "MetricThreshold": "tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)",
2030         "PublicDescription": "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. Sample with: MEM_LOAD_RETIRED.L1_HIT_PS;MEM_LOAD_RETIRED.FB_HIT_PS. Related metrics: tma_clears_resteers, tma_machine_clears, tma_microcode_sequencer, tma_ms_switches, tma_ports_utilized_1",
2031         "ScaleUnit": "100%",
2032         "Unit": "cpu_core"
2033     },
2034     {
2035         "BriefDescription": "This metric roughly estimates fraction of cycles with demand load accesses that hit the L1 cache",
2036         "MetricExpr": "min(2 * (cpu_core@MEM_INST_RETIRED.ALL_LOADS@ - cpu_core@MEM_LOAD_RETIRED.FB_HIT@ - cpu_core@MEM_LOAD_RETIRED.L1_MISS@) * 20 / 100, max(cpu_core@CYCLE_ACTIVITY.CYCLES_MEM_ANY@ - cpu_core@MEMORY_ACTIVITY.CYCLES_L1D_MISS@, 0)) / tma_info_thread_clks",
2037         "MetricGroup": "BvML;MemoryLat;TopdownL4;tma_L4_group;tma_l1_bound_group",
2038         "MetricName": "tma_l1_hit_latency",
2039         "MetricThreshold": "tma_l1_hit_latency > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2040         "PublicDescription": "This metric roughly estimates fraction of cycles with demand load accesses that hit the L1 cache. The short latency of the L1 data cache may be exposed in pointer-chasing memory access patterns as an example. Sample with: MEM_LOAD_RETIRED.L1_HIT",
2041         "ScaleUnit": "100%",
2042         "Unit": "cpu_core"
2043     },
2044     {
2045         "BriefDescription": "This metric estimates how often the CPU was stalled due to L2 cache accesses by loads",
2046         "MetricExpr": "(cpu_core@MEMORY_ACTIVITY.STALLS_L1D_MISS@ - cpu_core@MEMORY_ACTIVITY.STALLS_L2_MISS@) / tma_info_thread_clks",
2047         "MetricGroup": "BvML;CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group",
2048         "MetricName": "tma_l2_bound",
2049         "MetricThreshold": "tma_l2_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)",
2050         "PublicDescription": "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. Sample with: MEM_LOAD_RETIRED.L2_HIT_PS",
2051         "ScaleUnit": "100%",
2052         "Unit": "cpu_core"
2053     },
2054     {
2055         "BriefDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core",
2056         "MetricExpr": "(cpu_core@MEMORY_ACTIVITY.STALLS_L2_MISS@ - cpu_core@MEMORY_ACTIVITY.STALLS_L3_MISS@) / tma_info_thread_clks",
2057         "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group",
2058         "MetricName": "tma_l3_bound",
2059         "MetricThreshold": "tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)",
2060         "PublicDescription": "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. Sample with: MEM_LOAD_RETIRED.L3_HIT_PS",
2061         "ScaleUnit": "100%",
2062         "Unit": "cpu_core"
2063     },
2064     {
2065         "BriefDescription": "This metric estimates fraction of cycles with demand load accesses that hit the L3 cache under unloaded scenarios (possibly L3 latency limited)",
2066         "MetricExpr": "9 * tma_info_system_core_frequency * (cpu_core@MEM_LOAD_RETIRED.L3_HIT@ * (1 + cpu_core@MEM_LOAD_RETIRED.FB_HIT@ / cpu_core@MEM_LOAD_RETIRED.L1_MISS@ / 2)) / tma_info_thread_clks",
2067         "MetricGroup": "BvML;MemoryLat;TopdownL4;tma_L4_group;tma_issueLat;tma_l3_bound_group",
2068         "MetricName": "tma_l3_hit_latency",
2069         "MetricThreshold": "tma_l3_hit_latency > 0.1 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2070         "PublicDescription": "This metric estimates fraction of cycles with demand load accesses that hit the L3 cache under unloaded scenarios (possibly L3 latency limited).  Avoiding private cache misses (i.e. L2 misses/L3 hits) will improve the latency; reduce contention with sibling physical cores and increase performance.  Note the value of this node may overlap with its siblings. Sample with: MEM_LOAD_RETIRED.L3_HIT_PS. Related metrics: tma_info_bottleneck_cache_memory_latency, tma_mem_latency",
2071         "ScaleUnit": "100%",
2072         "Unit": "cpu_core"
2073     },
2074     {
2075         "BriefDescription": "This metric represents fraction of cycles CPU was stalled due to Length Changing Prefixes (LCPs)",
2076         "MetricExpr": "cpu_core@DECODE.LCP@ / tma_info_thread_clks",
2077         "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB",
2078         "MetricName": "tma_lcp",
2079         "MetricThreshold": "tma_lcp > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)",
2080         "PublicDescription": "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. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb",
2081         "ScaleUnit": "100%",
2082         "Unit": "cpu_core"
2083     },
2084     {
2085         "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)",
2086         "MetricExpr": "max(0, tma_retiring - tma_heavy_operations)",
2087         "MetricGroup": "Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group",
2088         "MetricName": "tma_light_operations",
2089         "MetricThreshold": "tma_light_operations > 0.6",
2090         "MetricgroupNoGroup": "TopdownL2",
2091         "PublicDescription": "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 UopPI metric) ratio of 1 or less should be expected for decently optimized code 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. ([ICL+] Note this may undercount due to approximation using indirect events; [ADL+] .). Sample with: INST_RETIRED.PREC_DIST",
2092         "ScaleUnit": "100%",
2093         "Unit": "cpu_core"
2094     },
2095     {
2096         "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations",
2097         "MetricExpr": "cpu_core@UOPS_DISPATCHED.PORT_2_3_10@ / (3 * tma_info_core_core_clks)",
2098         "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group",
2099         "MetricName": "tma_load_op_utilization",
2100         "MetricThreshold": "tma_load_op_utilization > 0.6",
2101         "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations. Sample with: UOPS_DISPATCHED.PORT_2_3_10",
2102         "ScaleUnit": "100%",
2103         "Unit": "cpu_core"
2104     },
2105     {
2106         "BriefDescription": "This metric roughly estimates the fraction of cycles where the (first level) DTLB was missed by load accesses, that later on hit in second-level TLB (STLB)",
2107         "MetricExpr": "tma_dtlb_load - tma_load_stlb_miss",
2108         "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_load_group",
2109         "MetricName": "tma_load_stlb_hit",
2110         "MetricThreshold": "tma_load_stlb_hit > 0.05 & (tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))",
2111         "ScaleUnit": "100%",
2112         "Unit": "cpu_core"
2113     },
2114     {
2115         "BriefDescription": "This metric estimates the fraction of cycles where the Second-level TLB (STLB) was missed by load accesses, performing a hardware page walk",
2116         "MetricExpr": "cpu_core@DTLB_LOAD_MISSES.WALK_ACTIVE@ / tma_info_thread_clks",
2117         "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_load_group",
2118         "MetricName": "tma_load_stlb_miss",
2119         "MetricThreshold": "tma_load_stlb_miss > 0.05 & (tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))",
2120         "ScaleUnit": "100%",
2121         "Unit": "cpu_core"
2122     },
2123     {
2124         "BriefDescription": "This metric represents fraction of cycles the CPU spent handling cache misses due to lock operations",
2125         "MetricExpr": "(16 * max(0, cpu_core@MEM_INST_RETIRED.LOCK_LOADS@ - cpu_core@L2_RQSTS.ALL_RFO@) + cpu_core@MEM_INST_RETIRED.LOCK_LOADS@ / cpu_core@MEM_INST_RETIRED.ALL_STORES@ * (10 * cpu_core@L2_RQSTS.RFO_HIT@ + min(cpu_core@CPU_CLK_UNHALTED.THREAD@, cpu_core@OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO@))) / tma_info_thread_clks",
2126         "MetricGroup": "Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_l1_bound_group",
2127         "MetricName": "tma_lock_latency",
2128         "MetricThreshold": "tma_lock_latency > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2129         "PublicDescription": "This metric represents fraction of cycles the CPU spent handling cache misses due to lock operations. Due to the microarchitecture handling of locks; they are classified as L1_Bound regardless of what memory source satisfied them. Sample with: MEM_INST_RETIRED.LOCK_LOADS. Related metrics: tma_store_latency",
2130         "ScaleUnit": "100%",
2131         "Unit": "cpu_core"
2132     },
2133     {
2134         "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to LSD (Loop Stream Detector) unit",
2135         "MetricExpr": "(cpu_core@LSD.CYCLES_ACTIVE@ - cpu_core@LSD.CYCLES_OK@) / tma_info_core_core_clks / 2",
2136         "MetricGroup": "FetchBW;LSD;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
2137         "MetricName": "tma_lsd",
2138         "MetricThreshold": "tma_lsd > 0.15 & tma_fetch_bandwidth > 0.2",
2139         "PublicDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to LSD (Loop Stream Detector) unit.  LSD typically does well sustaining Uop supply. However; in some rare cases; optimal uop-delivery could not be reached for small loops whose size (in terms of number of uops) does not suit well the LSD structure.",
2140         "ScaleUnit": "100%",
2141         "Unit": "cpu_core"
2142     },
2143     {
2144         "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears",
2145         "MetricExpr": "max(0, tma_bad_speculation - tma_branch_mispredicts)",
2146         "MetricGroup": "BadSpec;BvMS;MachineClears;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueMC;tma_issueSyncxn",
2147         "MetricName": "tma_machine_clears",
2148         "MetricThreshold": "tma_machine_clears > 0.1 & tma_bad_speculation > 0.15",
2149         "MetricgroupNoGroup": "TopdownL2",
2150         "PublicDescription": "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. Sample with: MACHINE_CLEARS.COUNT. Related metrics: tma_clears_resteers, tma_contested_accesses, tma_data_sharing, tma_false_sharing, tma_l1_bound, tma_microcode_sequencer, tma_ms_switches, tma_remote_cache",
2151         "ScaleUnit": "100%",
2152         "Unit": "cpu_core"
2153     },
2154     {
2155         "BriefDescription": "This metric estimates fraction of cycles where the core's performance was likely hurt due to approaching bandwidth limits of external memory - DRAM ([SPR-HBM] and/or HBM)",
2156         "MetricExpr": "min(cpu_core@CPU_CLK_UNHALTED.THREAD@, cpu_core@OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD\\,cmask\\=4@) / tma_info_thread_clks",
2157         "MetricGroup": "BvMS;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueBW",
2158         "MetricName": "tma_mem_bandwidth",
2159         "MetricThreshold": "tma_mem_bandwidth > 0.2 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2160         "PublicDescription": "This metric estimates fraction of cycles where the core's performance was likely hurt due to approaching bandwidth limits of external memory - DRAM ([SPR-HBM] and/or HBM).  The underlying heuristic assumes that a similar off-core traffic is generated by all IA cores. This metric does not aggregate non-data-read requests by this logical processor; requests from other IA Logical Processors/Physical Cores/sockets; or other non-IA devices like GPU; hence the maximum external memory bandwidth limits may or may not be approached when this metric is flagged (see Uncore counters for that). Related metrics: tma_fb_full, tma_info_bottleneck_cache_memory_bandwidth, tma_info_system_dram_bw_use, tma_sq_full",
2161         "ScaleUnit": "100%",
2162         "Unit": "cpu_core"
2163     },
2164     {
2165         "BriefDescription": "This metric estimates fraction of cycles where the performance was likely hurt due to latency from external memory - DRAM ([SPR-HBM] and/or HBM)",
2166         "MetricExpr": "min(cpu_core@CPU_CLK_UNHALTED.THREAD@, cpu_core@OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD@) / tma_info_thread_clks - tma_mem_bandwidth",
2167         "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueLat",
2168         "MetricName": "tma_mem_latency",
2169         "MetricThreshold": "tma_mem_latency > 0.1 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2170         "PublicDescription": "This metric estimates fraction of cycles where the performance was likely hurt due to latency from external memory - DRAM ([SPR-HBM] and/or HBM).  This metric does not aggregate requests from other Logical Processors/Physical Cores/sockets (see Uncore counters for that). Related metrics: tma_info_bottleneck_cache_memory_latency, tma_l3_hit_latency",
2171         "ScaleUnit": "100%",
2172         "Unit": "cpu_core"
2173     },
2174     {
2175         "BriefDescription": "This metric represents fraction of slots the Memory subsystem within the Backend was a bottleneck",
2176         "MetricExpr": "cpu_core@topdown\\-mem\\-bound@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 * tma_info_thread_slots",
2177         "MetricGroup": "Backend;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group",
2178         "MetricName": "tma_memory_bound",
2179         "MetricThreshold": "tma_memory_bound > 0.2 & tma_backend_bound > 0.2",
2180         "MetricgroupNoGroup": "TopdownL2",
2181         "PublicDescription": "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).",
2182         "ScaleUnit": "100%",
2183         "Unit": "cpu_core"
2184     },
2185     {
2186         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to LFENCE Instructions.",
2187         "MetricConstraint": "NO_GROUP_EVENTS_NMI",
2188         "MetricExpr": "13 * cpu_core@MISC2_RETIRED.LFENCE@ / tma_info_thread_clks",
2189         "MetricGroup": "TopdownL4;tma_L4_group;tma_serializing_operation_group",
2190         "MetricName": "tma_memory_fence",
2191         "MetricThreshold": "tma_memory_fence > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))",
2192         "ScaleUnit": "100%",
2193         "Unit": "cpu_core"
2194     },
2195     {
2196         "BriefDescription": "This metric represents fraction of slots where the CPU was retiring memory operations -- uops for memory load or store accesses.",
2197         "MetricExpr": "tma_light_operations * cpu_core@MEM_UOP_RETIRED.ANY@ / (tma_retiring * tma_info_thread_slots)",
2198         "MetricGroup": "Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group",
2199         "MetricName": "tma_memory_operations",
2200         "MetricThreshold": "tma_memory_operations > 0.1 & tma_light_operations > 0.6",
2201         "ScaleUnit": "100%",
2202         "Unit": "cpu_core"
2203     },
2204     {
2205         "BriefDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit",
2206         "MetricExpr": "cpu_core@UOPS_RETIRED.MS@ / tma_info_thread_slots",
2207         "MetricGroup": "MicroSeq;TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueMC;tma_issueMS",
2208         "MetricName": "tma_microcode_sequencer",
2209         "MetricThreshold": "tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1",
2210         "PublicDescription": "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. Sample with: UOPS_RETIRED.MS. Related metrics: tma_clears_resteers, tma_info_bottleneck_irregular_overhead, tma_l1_bound, tma_machine_clears, tma_ms_switches",
2211         "ScaleUnit": "100%",
2212         "Unit": "cpu_core"
2213     },
2214     {
2215         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Branch Misprediction at execution stage",
2216         "MetricExpr": "tma_branch_mispredicts / tma_bad_speculation * cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ / tma_info_thread_clks",
2217         "MetricGroup": "BadSpec;BrMispredicts;BvMP;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueBM",
2218         "MetricName": "tma_mispredicts_resteers",
2219         "MetricThreshold": "tma_mispredicts_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))",
2220         "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Branch Misprediction at execution stage. Sample with: INT_MISC.CLEAR_RESTEER_CYCLES. Related metrics: tma_branch_mispredicts, tma_info_bad_spec_branch_misprediction_cost, tma_info_bottleneck_mispredictions",
2221         "ScaleUnit": "100%",
2222         "Unit": "cpu_core"
2223     },
2224     {
2225         "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to the MITE pipeline (the legacy decode pipeline)",
2226         "MetricExpr": "(cpu_core@IDQ.MITE_CYCLES_ANY@ - cpu_core@IDQ.MITE_CYCLES_OK@) / tma_info_core_core_clks / 2",
2227         "MetricGroup": "DSBmiss;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
2228         "MetricName": "tma_mite",
2229         "MetricThreshold": "tma_mite > 0.1 & tma_fetch_bandwidth > 0.2",
2230         "PublicDescription": "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. Sample with: FRONTEND_RETIRED.ANY_DSB_MISS",
2231         "ScaleUnit": "100%",
2232         "Unit": "cpu_core"
2233     },
2234     {
2235         "BriefDescription": "This metric estimates penalty in terms of percentage of([SKL+] injected blend uops out of all Uops Issued -- the Count Domain; [ADL+] cycles)",
2236         "MetricExpr": "160 * cpu_core@ASSISTS.SSE_AVX_MIX@ / tma_info_thread_clks",
2237         "MetricGroup": "TopdownL5;tma_L5_group;tma_issueMV;tma_ports_utilized_0_group",
2238         "MetricName": "tma_mixing_vectors",
2239         "MetricThreshold": "tma_mixing_vectors > 0.05",
2240         "PublicDescription": "This metric estimates penalty in terms of percentage of([SKL+] injected blend uops out of all Uops Issued -- the Count Domain; [ADL+] cycles). Usually a Mixing_Vectors over 5% is worth investigating. Read more in Appendix B1 of the Optimizations Guide for this topic. Related metrics: tma_ms_switches",
2241         "ScaleUnit": "100%",
2242         "Unit": "cpu_core"
2243     },
2244     {
2245         "BriefDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS)",
2246         "MetricExpr": "3 * cpu_core@UOPS_RETIRED.MS\\,cmask\\=1\\,edge@ / (cpu_core@UOPS_RETIRED.SLOTS@ / cpu_core@UOPS_ISSUED.ANY@) / tma_info_thread_clks",
2247         "MetricGroup": "FetchLat;MicroSeq;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueMC;tma_issueMS;tma_issueMV;tma_issueSO",
2248         "MetricName": "tma_ms_switches",
2249         "MetricThreshold": "tma_ms_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)",
2250         "PublicDescription": "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. Sample with: FRONTEND_RETIRED.MS_FLOWS. Related metrics: tma_clears_resteers, tma_info_bottleneck_irregular_overhead, tma_l1_bound, tma_machine_clears, tma_microcode_sequencer, tma_mixing_vectors, tma_serializing_operation",
2251         "ScaleUnit": "100%",
2252         "Unit": "cpu_core"
2253     },
2254     {
2255         "BriefDescription": "This metric represents fraction of slots where the CPU was retiring branch instructions that were not fused",
2256         "MetricExpr": "tma_light_operations * (cpu_core@BR_INST_RETIRED.ALL_BRANCHES@ - cpu_core@INST_RETIRED.MACRO_FUSED@) / (tma_retiring * tma_info_thread_slots)",
2257         "MetricGroup": "Branches;BvBO;Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group",
2258         "MetricName": "tma_non_fused_branches",
2259         "MetricThreshold": "tma_non_fused_branches > 0.1 & tma_light_operations > 0.6",
2260         "PublicDescription": "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.",
2261         "ScaleUnit": "100%",
2262         "Unit": "cpu_core"
2263     },
2264     {
2265         "BriefDescription": "This metric represents fraction of slots where the CPU was retiring NOP (no op) instructions",
2266         "MetricExpr": "tma_light_operations * cpu_core@INST_RETIRED.NOP@ / (tma_retiring * tma_info_thread_slots)",
2267         "MetricGroup": "BvBO;Pipeline;TopdownL4;tma_L4_group;tma_other_light_ops_group",
2268         "MetricName": "tma_nop_instructions",
2269         "MetricThreshold": "tma_nop_instructions > 0.1 & (tma_other_light_ops > 0.3 & tma_light_operations > 0.6)",
2270         "PublicDescription": "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. Sample with: INST_RETIRED.NOP",
2271         "ScaleUnit": "100%",
2272         "Unit": "cpu_core"
2273     },
2274     {
2275         "BriefDescription": "This metric represents the remaining light uops fraction the CPU has executed - remaining means not covered by other sibling nodes",
2276         "MetricExpr": "max(0, tma_light_operations - (tma_fp_arith + tma_int_operations + tma_memory_operations + tma_fused_instructions + tma_non_fused_branches))",
2277         "MetricGroup": "Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group",
2278         "MetricName": "tma_other_light_ops",
2279         "MetricThreshold": "tma_other_light_ops > 0.3 & tma_light_operations > 0.6",
2280         "PublicDescription": "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",
2281         "ScaleUnit": "100%",
2282         "Unit": "cpu_core"
2283     },
2284     {
2285         "BriefDescription": "This metric estimates fraction of slots the CPU was stalled due to other cases of misprediction (non-retired x86 branches or other types).",
2286         "MetricExpr": "max(tma_branch_mispredicts * (1 - cpu_core@BR_MISP_RETIRED.ALL_BRANCHES@ / (cpu_core@INT_MISC.CLEARS_COUNT@ - cpu_core@MACHINE_CLEARS.COUNT@)), 0.0001)",
2287         "MetricGroup": "BrMispredicts;BvIO;TopdownL3;tma_L3_group;tma_branch_mispredicts_group",
2288         "MetricName": "tma_other_mispredicts",
2289         "MetricThreshold": "tma_other_mispredicts > 0.05 & (tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15)",
2290         "ScaleUnit": "100%",
2291         "Unit": "cpu_core"
2292     },
2293     {
2294         "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Nukes (Machine Clears) not related to memory ordering.",
2295         "MetricExpr": "max(tma_machine_clears * (1 - cpu_core@MACHINE_CLEARS.MEMORY_ORDERING@ / cpu_core@MACHINE_CLEARS.COUNT@), 0.0001)",
2296         "MetricGroup": "BvIO;Machine_Clears;TopdownL3;tma_L3_group;tma_machine_clears_group",
2297         "MetricName": "tma_other_nukes",
2298         "MetricThreshold": "tma_other_nukes > 0.05 & (tma_machine_clears > 0.1 & tma_bad_speculation > 0.15)",
2299         "ScaleUnit": "100%",
2300         "Unit": "cpu_core"
2301     },
2302     {
2303         "BriefDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Page Faults",
2304         "MetricExpr": "99 * cpu_core@ASSISTS.PAGE_FAULT@ / tma_info_thread_slots",
2305         "MetricGroup": "TopdownL5;tma_L5_group;tma_assists_group",
2306         "MetricName": "tma_page_faults",
2307         "MetricThreshold": "tma_page_faults > 0.05",
2308         "PublicDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Page Faults. A Page Fault may apply on first application access to a memory page. Note operating system handling of page faults accounts for the majority of its cost.",
2309         "ScaleUnit": "100%",
2310         "Unit": "cpu_core"
2311     },
2312     {
2313         "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 0 ([SNB+] ALU; [HSW+] ALU and 2nd branch)",
2314         "MetricExpr": "cpu_core@UOPS_DISPATCHED.PORT_0@ / tma_info_core_core_clks",
2315         "MetricGroup": "Compute;TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P",
2316         "MetricName": "tma_port_0",
2317         "MetricThreshold": "tma_port_0 > 0.6",
2318         "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 0 ([SNB+] ALU; [HSW+] ALU and 2nd branch). Sample with: UOPS_DISPATCHED.PORT_0. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2",
2319         "ScaleUnit": "100%",
2320         "Unit": "cpu_core"
2321     },
2322     {
2323         "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU)",
2324         "MetricExpr": "cpu_core@UOPS_DISPATCHED.PORT_1@ / tma_info_core_core_clks",
2325         "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P",
2326         "MetricName": "tma_port_1",
2327         "MetricThreshold": "tma_port_1 > 0.6",
2328         "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU). Sample with: UOPS_DISPATCHED.PORT_1. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_5, tma_port_6, tma_ports_utilized_2",
2329         "ScaleUnit": "100%",
2330         "Unit": "cpu_core"
2331     },
2332     {
2333         "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 6 ([HSW+] Primary Branch and simple ALU)",
2334         "MetricExpr": "cpu_core@UOPS_DISPATCHED.PORT_6@ / tma_info_core_core_clks",
2335         "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P",
2336         "MetricName": "tma_port_6",
2337         "MetricThreshold": "tma_port_6 > 0.6",
2338         "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 6 ([HSW+] Primary Branch and simple ALU). Sample with: UOPS_DISPATCHED.PORT_6. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_ports_utilized_2",
2339         "ScaleUnit": "100%",
2340         "Unit": "cpu_core"
2341     },
2342     {
2343         "BriefDescription": "This metric estimates fraction of cycles the CPU performance was potentially limited due to Core computation issues (non divider-related)",
2344         "MetricExpr": "((tma_ports_utilized_0 * tma_info_thread_clks + (cpu_core@EXE_ACTIVITY.1_PORTS_UTIL@ + tma_retiring * cpu_core@EXE_ACTIVITY.2_PORTS_UTIL\\,umask\\=0xc@)) / tma_info_thread_clks if cpu_core@ARITH.DIV_ACTIVE@ < cpu_core@CYCLE_ACTIVITY.STALLS_TOTAL@ - cpu_core@EXE_ACTIVITY.BOUND_ON_LOADS@ else (cpu_core@EXE_ACTIVITY.1_PORTS_UTIL@ + tma_retiring * cpu_core@EXE_ACTIVITY.2_PORTS_UTIL\\,umask\\=0xc@) / tma_info_thread_clks)",
2345         "MetricGroup": "PortsUtil;TopdownL3;tma_L3_group;tma_core_bound_group",
2346         "MetricName": "tma_ports_utilization",
2347         "MetricThreshold": "tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)",
2348         "PublicDescription": "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.",
2349         "ScaleUnit": "100%",
2350         "Unit": "cpu_core"
2351     },
2352     {
2353         "BriefDescription": "This metric represents fraction of cycles CPU executed no uops on any execution port (Logical Processor cycles since ICL, Physical Core cycles otherwise)",
2354         "MetricExpr": "(cpu_core@EXE_ACTIVITY.EXE_BOUND_0_PORTS@ + max(cpu_core@RS.EMPTY\\,umask\\=1@ - cpu_core@RESOURCE_STALLS.SCOREBOARD@, 0)) / tma_info_thread_clks * (cpu_core@CYCLE_ACTIVITY.STALLS_TOTAL@ - cpu_core@EXE_ACTIVITY.BOUND_ON_LOADS@) / tma_info_thread_clks",
2355         "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group",
2356         "MetricName": "tma_ports_utilized_0",
2357         "MetricThreshold": "tma_ports_utilized_0 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))",
2358         "PublicDescription": "This metric represents fraction of cycles CPU executed no uops on any execution port (Logical Processor cycles since ICL, Physical Core cycles otherwise). Long-latency instructions like divides may contribute to this metric.",
2359         "ScaleUnit": "100%",
2360         "Unit": "cpu_core"
2361     },
2362     {
2363         "BriefDescription": "This metric represents fraction of cycles where the CPU executed total of 1 uop per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise)",
2364         "MetricExpr": "cpu_core@EXE_ACTIVITY.1_PORTS_UTIL@ / tma_info_thread_clks",
2365         "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issueL1;tma_ports_utilization_group",
2366         "MetricName": "tma_ports_utilized_1",
2367         "MetricThreshold": "tma_ports_utilized_1 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))",
2368         "PublicDescription": "This metric represents fraction of cycles where the CPU executed total of 1 uop per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise). This can be due to heavy data-dependency among software instructions; or over oversubscribing a particular hardware resource. In some other cases with high 1_Port_Utilized and L1_Bound; this metric can point to L1 data-cache latency bottleneck that may not necessarily manifest with complete execution starvation (due to the short L1 latency e.g. walking a linked list) - looking at the assembly can be helpful. Sample with: EXE_ACTIVITY.1_PORTS_UTIL. Related metrics: tma_l1_bound",
2369         "ScaleUnit": "100%",
2370         "Unit": "cpu_core"
2371     },
2372     {
2373         "BriefDescription": "This metric represents fraction of cycles CPU executed total of 2 uops per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise)",
2374         "MetricConstraint": "NO_GROUP_EVENTS_NMI",
2375         "MetricExpr": "cpu_core@EXE_ACTIVITY.2_PORTS_UTIL@ / tma_info_thread_clks",
2376         "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issue2P;tma_ports_utilization_group",
2377         "MetricName": "tma_ports_utilized_2",
2378         "MetricThreshold": "tma_ports_utilized_2 > 0.15 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))",
2379         "PublicDescription": "This metric represents fraction of cycles CPU executed total of 2 uops per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise).  Loop Vectorization -most compilers feature auto-Vectorization options today- reduces pressure on the execution ports as multiple elements are calculated with same uop. Sample with: EXE_ACTIVITY.2_PORTS_UTIL. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6",
2380         "ScaleUnit": "100%",
2381         "Unit": "cpu_core"
2382     },
2383     {
2384         "BriefDescription": "This metric represents fraction of cycles CPU executed total of 3 or more uops per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise)",
2385         "MetricConstraint": "NO_GROUP_EVENTS_NMI",
2386         "MetricExpr": "cpu_core@UOPS_EXECUTED.CYCLES_GE_3@ / tma_info_thread_clks",
2387         "MetricGroup": "BvCB;PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group",
2388         "MetricName": "tma_ports_utilized_3m",
2389         "MetricThreshold": "tma_ports_utilized_3m > 0.4 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))",
2390         "PublicDescription": "This metric represents fraction of cycles CPU executed total of 3 or more uops per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise). Sample with: UOPS_EXECUTED.CYCLES_GE_3",
2391         "ScaleUnit": "100%",
2392         "Unit": "cpu_core"
2393     },
2394     {
2395         "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired",
2396         "DefaultMetricgroupName": "TopdownL1",
2397         "MetricExpr": "cpu_core@topdown\\-retiring@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 * tma_info_thread_slots",
2398         "MetricGroup": "BvUW;Default;TmaL1;TopdownL1;tma_L1_group",
2399         "MetricName": "tma_retiring",
2400         "MetricThreshold": "tma_retiring > 0.7 | tma_heavy_operations > 0.1",
2401         "MetricgroupNoGroup": "TopdownL1;Default",
2402         "PublicDescription": "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. Sample with: UOPS_RETIRED.SLOTS",
2403         "ScaleUnit": "100%",
2404         "Unit": "cpu_core"
2405     },
2406     {
2407         "BriefDescription": "This metric represents fraction of cycles the CPU issue-pipeline was stalled due to serializing operations",
2408         "MetricExpr": "cpu_core@RESOURCE_STALLS.SCOREBOARD@ / tma_info_thread_clks + tma_c02_wait",
2409         "MetricGroup": "BvIO;PortsUtil;TopdownL3;tma_L3_group;tma_core_bound_group;tma_issueSO",
2410         "MetricName": "tma_serializing_operation",
2411         "MetricThreshold": "tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)",
2412         "PublicDescription": "This metric represents fraction of cycles the CPU issue-pipeline was stalled due to serializing operations. Instructions like CPUID; WRMSR or LFENCE serialize the out-of-order execution which may limit performance. Sample with: RESOURCE_STALLS.SCOREBOARD. Related metrics: tma_ms_switches",
2413         "ScaleUnit": "100%",
2414         "Unit": "cpu_core"
2415     },
2416     {
2417         "BriefDescription": "This metric represents fraction of slots where the CPU was retiring Shuffle operations of 256-bit vector size (FP or Integer)",
2418         "MetricExpr": "tma_light_operations * cpu_core@INT_VEC_RETIRED.SHUFFLES@ / (tma_retiring * tma_info_thread_slots)",
2419         "MetricGroup": "HPC;Pipeline;TopdownL4;tma_L4_group;tma_other_light_ops_group",
2420         "MetricName": "tma_shuffles_256b",
2421         "MetricThreshold": "tma_shuffles_256b > 0.1 & (tma_other_light_ops > 0.3 & tma_light_operations > 0.6)",
2422         "PublicDescription": "This metric represents fraction of slots where the CPU was retiring Shuffle operations of 256-bit vector size (FP or Integer). Shuffles may incur slow cross \"vector lane\" data transfers.",
2423         "ScaleUnit": "100%",
2424         "Unit": "cpu_core"
2425     },
2426     {
2427         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to PAUSE Instructions",
2428         "MetricConstraint": "NO_GROUP_EVENTS_NMI",
2429         "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.PAUSE@ / tma_info_thread_clks",
2430         "MetricGroup": "TopdownL4;tma_L4_group;tma_serializing_operation_group",
2431         "MetricName": "tma_slow_pause",
2432         "MetricThreshold": "tma_slow_pause > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))",
2433         "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to PAUSE Instructions. Sample with: CPU_CLK_UNHALTED.PAUSE_INST",
2434         "ScaleUnit": "100%",
2435         "Unit": "cpu_core"
2436     },
2437     {
2438         "BriefDescription": "This metric estimates fraction of cycles handling memory load split accesses - load that cross 64-byte cache line boundary",
2439         "MetricExpr": "tma_info_memory_load_miss_real_latency * cpu_core@LD_BLOCKS.NO_SR@ / tma_info_thread_clks",
2440         "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group",
2441         "MetricName": "tma_split_loads",
2442         "MetricThreshold": "tma_split_loads > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2443         "PublicDescription": "This metric estimates fraction of cycles handling memory load split accesses - load that cross 64-byte cache line boundary. Sample with: MEM_INST_RETIRED.SPLIT_LOADS_PS",
2444         "ScaleUnit": "100%",
2445         "Unit": "cpu_core"
2446     },
2447     {
2448         "BriefDescription": "This metric represents rate of split store accesses",
2449         "MetricExpr": "cpu_core@MEM_INST_RETIRED.SPLIT_STORES@ / tma_info_core_core_clks",
2450         "MetricGroup": "TopdownL4;tma_L4_group;tma_issueSpSt;tma_store_bound_group",
2451         "MetricName": "tma_split_stores",
2452         "MetricThreshold": "tma_split_stores > 0.2 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2453         "PublicDescription": "This metric represents rate of split store accesses.  Consider aligning your data to the 64-byte cache line granularity. Sample with: MEM_INST_RETIRED.SPLIT_STORES_PS. Related metrics: tma_port_4",
2454         "ScaleUnit": "100%",
2455         "Unit": "cpu_core"
2456     },
2457     {
2458         "BriefDescription": "This metric measures fraction of cycles where the Super Queue (SQ) was full taking into account all request-types and both hardware SMT threads (Logical Processors)",
2459         "MetricExpr": "(cpu_core@XQ.FULL_CYCLES@ + cpu_core@L1D_PEND_MISS.L2_STALLS@) / tma_info_thread_clks",
2460         "MetricGroup": "BvMS;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_issueBW;tma_l3_bound_group",
2461         "MetricName": "tma_sq_full",
2462         "MetricThreshold": "tma_sq_full > 0.3 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2463         "PublicDescription": "This metric measures fraction of cycles where the Super Queue (SQ) was full taking into account all request-types and both hardware SMT threads (Logical Processors). Related metrics: tma_fb_full, tma_info_bottleneck_cache_memory_bandwidth, tma_info_system_dram_bw_use, tma_mem_bandwidth",
2464         "ScaleUnit": "100%",
2465         "Unit": "cpu_core"
2466     },
2467     {
2468         "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",
2469         "MetricExpr": "cpu_core@EXE_ACTIVITY.BOUND_ON_STORES@ / tma_info_thread_clks",
2470         "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group",
2471         "MetricName": "tma_store_bound",
2472         "MetricThreshold": "tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)",
2473         "PublicDescription": "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. Sample with: MEM_INST_RETIRED.ALL_STORES_PS",
2474         "ScaleUnit": "100%",
2475         "Unit": "cpu_core"
2476     },
2477     {
2478         "BriefDescription": "This metric roughly estimates fraction of cycles when the memory subsystem had loads blocked since they could not forward data from earlier (in program order) overlapping stores",
2479         "MetricExpr": "13 * cpu_core@LD_BLOCKS.STORE_FORWARD@ / tma_info_thread_clks",
2480         "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group",
2481         "MetricName": "tma_store_fwd_blk",
2482         "MetricThreshold": "tma_store_fwd_blk > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2483         "PublicDescription": "This metric roughly estimates fraction of cycles when the memory subsystem had loads blocked since they could not forward data from earlier (in program order) overlapping stores. To streamline memory operations in the pipeline; a load can avoid waiting for memory if a prior in-flight store is writing the data that the load wants to read (store forwarding process). However; in some cases the load may be blocked for a significant time pending the store forward. For example; when the prior store is writing a smaller region than the load is reading.",
2484         "ScaleUnit": "100%",
2485         "Unit": "cpu_core"
2486     },
2487     {
2488         "BriefDescription": "This metric estimates fraction of cycles the CPU spent handling L1D store misses",
2489         "MetricExpr": "(cpu_core@MEM_STORE_RETIRED.L2_HIT@ * 10 * (1 - cpu_core@MEM_INST_RETIRED.LOCK_LOADS@ / cpu_core@MEM_INST_RETIRED.ALL_STORES@) + (1 - cpu_core@MEM_INST_RETIRED.LOCK_LOADS@ / cpu_core@MEM_INST_RETIRED.ALL_STORES@) * min(cpu_core@CPU_CLK_UNHALTED.THREAD@, cpu_core@OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO@)) / tma_info_thread_clks",
2490         "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_issueSL;tma_store_bound_group",
2491         "MetricName": "tma_store_latency",
2492         "MetricThreshold": "tma_store_latency > 0.1 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2493         "PublicDescription": "This metric estimates fraction of cycles the CPU spent handling L1D store misses. Store accesses usually less impact out-of-order core performance; however; holding resources for longer time can lead into undesired implications (e.g. contention on L1D fill-buffer entries - see FB_Full). Related metrics: tma_fb_full, tma_lock_latency",
2494         "ScaleUnit": "100%",
2495         "Unit": "cpu_core"
2496     },
2497     {
2498         "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Store operations",
2499         "MetricExpr": "(cpu_core@UOPS_DISPATCHED.PORT_4_9@ + cpu_core@UOPS_DISPATCHED.PORT_7_8@) / (4 * tma_info_core_core_clks)",
2500         "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group",
2501         "MetricName": "tma_store_op_utilization",
2502         "MetricThreshold": "tma_store_op_utilization > 0.6",
2503         "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Store operations. Sample with: UOPS_DISPATCHED.PORT_7_8",
2504         "ScaleUnit": "100%",
2505         "Unit": "cpu_core"
2506     },
2507     {
2508         "BriefDescription": "This metric roughly estimates the fraction of cycles where the TLB was missed by store accesses, hitting in the second-level TLB (STLB)",
2509         "MetricExpr": "tma_dtlb_store - tma_store_stlb_miss",
2510         "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_store_group",
2511         "MetricName": "tma_store_stlb_hit",
2512         "MetricThreshold": "tma_store_stlb_hit > 0.05 & (tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))",
2513         "ScaleUnit": "100%",
2514         "Unit": "cpu_core"
2515     },
2516     {
2517         "BriefDescription": "This metric estimates the fraction of cycles where the STLB was missed by store accesses, performing a hardware page walk",
2518         "MetricExpr": "cpu_core@DTLB_STORE_MISSES.WALK_ACTIVE@ / tma_info_core_core_clks",
2519         "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_store_group",
2520         "MetricName": "tma_store_stlb_miss",
2521         "MetricThreshold": "tma_store_stlb_miss > 0.05 & (tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))",
2522         "ScaleUnit": "100%",
2523         "Unit": "cpu_core"
2524     },
2525     {
2526         "BriefDescription": "This metric estimates how often CPU was stalled  due to Streaming store memory accesses; Streaming store optimize out a read request required by RFO stores",
2527         "MetricExpr": "9 * cpu_core@OCR.STREAMING_WR.ANY_RESPONSE@ / tma_info_thread_clks",
2528         "MetricGroup": "MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_issueSmSt;tma_store_bound_group",
2529         "MetricName": "tma_streaming_stores",
2530         "MetricThreshold": "tma_streaming_stores > 0.2 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))",
2531         "PublicDescription": "This metric estimates how often CPU was stalled  due to Streaming store memory accesses; Streaming store optimize out a read request required by RFO stores. 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 Streaming stores be a bottleneck. Sample with: OCR.STREAMING_WR.ANY_RESPONSE. Related metrics: tma_fb_full",
2532         "ScaleUnit": "100%",
2533         "Unit": "cpu_core"
2534     },
2535     {
2536         "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to new branch address clears",
2537         "MetricExpr": "cpu_core@INT_MISC.UNKNOWN_BRANCH_CYCLES@ / tma_info_thread_clks",
2538         "MetricGroup": "BigFootprint;BvBC;FetchLat;TopdownL4;tma_L4_group;tma_branch_resteers_group",
2539         "MetricName": "tma_unknown_branches",
2540         "MetricThreshold": "tma_unknown_branches > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))",
2541         "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to new branch address clears. These are fetched branches the Branch Prediction Unit was unable to recognize (e.g. first time the branch is fetched or hitting BTB capacity limit) hence called Unknown Branches. Sample with: FRONTEND_RETIRED.UNKNOWN_BRANCH",
2542         "ScaleUnit": "100%",
2543         "Unit": "cpu_core"
2544     },
2545     {
2546         "BriefDescription": "This metric serves as an approximation of legacy x87 usage",
2547         "MetricExpr": "tma_retiring * cpu_core@UOPS_EXECUTED.X87@ / cpu_core@UOPS_EXECUTED.THREAD@",
2548         "MetricGroup": "Compute;TopdownL4;tma_L4_group;tma_fp_arith_group",
2549         "MetricName": "tma_x87_use",
2550         "MetricThreshold": "tma_x87_use > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)",
2551         "PublicDescription": "This metric serves as an approximation of legacy x87 usage. It accounts for instructions beyond X87 FP arithmetic operations; hence may be used as a thermometer to avoid X87 high usage and preferably upgrade to modern ISA. See Tip under Tuning Hint.",
2552         "ScaleUnit": "100%",
2553         "Unit": "cpu_core"
2554     }
2555 ]

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php