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": "Counts the number of issue slots that were not consumed by the backend due to certain allocation restrictions", 89 "MetricExpr": "tma_core_bound", 90 "MetricGroup": "TopdownL3;tma_L3_group;tma_core_bound_group", 91 "MetricName": "tma_allocation_restriction", 92 "MetricThreshold": "tma_allocation_restriction > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.1)", 93 "ScaleUnit": "100%" 94 }, 95 { 96 "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls", 97 "DefaultMetricgroupName": "TopdownL1", 98 "MetricExpr": "TOPDOWN_BE_BOUND.ALL / (5 * CPU_CLK_UNHALTED.CORE)", 99 "MetricGroup": "Default;TopdownL1;tma_L1_group", 100 "MetricName": "tma_backend_bound", 101 "MetricThreshold": "tma_backend_bound > 0.1", 102 "MetricgroupNoGroup": "TopdownL1;Default", 103 "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", 104 "ScaleUnit": "100%" 105 }, 106 { 107 "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", 108 "DefaultMetricgroupName": "TopdownL1", 109 "MetricExpr": "(5 * CPU_CLK_UNHALTED.CORE - (TOPDOWN_FE_BOUND.ALL + TOPDOWN_BE_BOUND.ALL + TOPDOWN_RETIRING.ALL)) / (5 * CPU_CLK_UNHALTED.CORE)", 110 "MetricGroup": "Default;TopdownL1;tma_L1_group", 111 "MetricName": "tma_bad_speculation", 112 "MetricThreshold": "tma_bad_speculation > 0.15", 113 "MetricgroupNoGroup": "TopdownL1;Default", 114 "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.", 115 "ScaleUnit": "100%" 116 }, 117 { 118 "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", 119 "MetricExpr": "TOPDOWN_FE_BOUND.BRANCH_DETECT / (5 * CPU_CLK_UNHALTED.CORE)", 120 "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group", 121 "MetricName": "tma_branch_detect", 122 "MetricThreshold": "tma_branch_detect > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)", 123 "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.", 124 "ScaleUnit": "100%" 125 }, 126 { 127 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to branch mispredicts", 128 "MetricExpr": "TOPDOWN_BAD_SPECULATION.MISPREDICT / (5 * CPU_CLK_UNHALTED.CORE)", 129 "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group", 130 "MetricName": "tma_branch_mispredicts", 131 "MetricThreshold": "tma_branch_mispredicts > 0.05 & tma_bad_speculation > 0.15", 132 "MetricgroupNoGroup": "TopdownL2", 133 "ScaleUnit": "100%" 134 }, 135 { 136 "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.", 137 "MetricExpr": "TOPDOWN_FE_BOUND.BRANCH_RESTEER / (5 * CPU_CLK_UNHALTED.CORE)", 138 "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group", 139 "MetricName": "tma_branch_resteer", 140 "MetricThreshold": "tma_branch_resteer > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)", 141 "ScaleUnit": "100%" 142 }, 143 { 144 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to the microcode sequencer (MS).", 145 "MetricExpr": "TOPDOWN_FE_BOUND.CISC / (5 * CPU_CLK_UNHALTED.CORE)", 146 "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group", 147 "MetricName": "tma_cisc", 148 "MetricThreshold": "tma_cisc > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)", 149 "ScaleUnit": "100%" 150 }, 151 { 152 "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", 153 "MetricExpr": "TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS / (5 * CPU_CLK_UNHALTED.CORE)", 154 "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group", 155 "MetricName": "tma_core_bound", 156 "MetricThreshold": "tma_core_bound > 0.1 & tma_backend_bound > 0.1", 157 "MetricgroupNoGroup": "TopdownL2", 158 "ScaleUnit": "100%" 159 }, 160 { 161 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to decode stalls.", 162 "MetricExpr": "TOPDOWN_FE_BOUND.DECODE / (5 * CPU_CLK_UNHALTED.CORE)", 163 "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group", 164 "MetricName": "tma_decode", 165 "MetricThreshold": "tma_decode > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)", 166 "ScaleUnit": "100%" 167 }, 168 { 169 "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", 170 "MetricExpr": "TOPDOWN_BAD_SPECULATION.FASTNUKE / (5 * CPU_CLK_UNHALTED.CORE)", 171 "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group", 172 "MetricName": "tma_fast_nuke", 173 "MetricThreshold": "tma_fast_nuke > 0.05 & (tma_machine_clears > 0.05 & tma_bad_speculation > 0.15)", 174 "ScaleUnit": "100%" 175 }, 176 { 177 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to frontend stalls.", 178 "DefaultMetricgroupName": "TopdownL1", 179 "MetricExpr": "TOPDOWN_FE_BOUND.ALL / (5 * CPU_CLK_UNHALTED.CORE)", 180 "MetricGroup": "Default;TopdownL1;tma_L1_group", 181 "MetricName": "tma_frontend_bound", 182 "MetricThreshold": "tma_frontend_bound > 0.2", 183 "MetricgroupNoGroup": "TopdownL1;Default", 184 "ScaleUnit": "100%" 185 }, 186 { 187 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to instruction cache misses.", 188 "MetricExpr": "TOPDOWN_FE_BOUND.ICACHE / (5 * CPU_CLK_UNHALTED.CORE)", 189 "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group", 190 "MetricName": "tma_icache_misses", 191 "MetricThreshold": "tma_icache_misses > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)", 192 "ScaleUnit": "100%" 193 }, 194 { 195 "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.", 196 "MetricExpr": "TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH / (5 * CPU_CLK_UNHALTED.CORE)", 197 "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group", 198 "MetricName": "tma_ifetch_bandwidth", 199 "MetricThreshold": "tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2", 200 "MetricgroupNoGroup": "TopdownL2", 201 "ScaleUnit": "100%" 202 }, 203 { 204 "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.", 205 "MetricExpr": "TOPDOWN_FE_BOUND.FRONTEND_LATENCY / (5 * CPU_CLK_UNHALTED.CORE)", 206 "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group", 207 "MetricName": "tma_ifetch_latency", 208 "MetricThreshold": "tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2", 209 "MetricgroupNoGroup": "TopdownL2", 210 "ScaleUnit": "100%" 211 }, 212 { 213 "BriefDescription": "Percentage of time that retirement is stalled due to a first level data TLB miss", 214 "MetricExpr": "100 * (LD_HEAD.DTLB_MISS_AT_RET + LD_HEAD.PGWALK_AT_RET) / CPU_CLK_UNHALTED.CORE", 215 "MetricName": "tma_info_bottleneck_%_dtlb_miss_bound_cycles" 216 }, 217 { 218 "BriefDescription": "Percentage of time that allocation and retirement is stalled by the Frontend Cluster due to an Ifetch Miss, either Icache or ITLB Miss", 219 "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH / CPU_CLK_UNHALTED.CORE", 220 "MetricGroup": "Ifetch", 221 "MetricName": "tma_info_bottleneck_%_ifetch_miss_bound_cycles", 222 "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" 223 }, 224 { 225 "BriefDescription": "Percentage of time that retirement is stalled due to an L1 miss", 226 "MetricExpr": "100 * MEM_BOUND_STALLS.LOAD / CPU_CLK_UNHALTED.CORE", 227 "MetricGroup": "Load_Store_Miss", 228 "MetricName": "tma_info_bottleneck_%_load_miss_bound_cycles", 229 "PublicDescription": "Percentage of time that retirement is stalled due to an L1 miss. See Info.Load_Miss_Bound" 230 }, 231 { 232 "BriefDescription": "Percentage of time that retirement is stalled by the Memory Cluster due to a pipeline stall", 233 "MetricExpr": "100 * LD_HEAD.ANY_AT_RET / CPU_CLK_UNHALTED.CORE", 234 "MetricGroup": "Mem_Exec", 235 "MetricName": "tma_info_bottleneck_%_mem_exec_bound_cycles", 236 "PublicDescription": "Percentage of time that retirement is stalled by the Memory Cluster due to a pipeline stall. See Info.Mem_Exec_Bound" 237 }, 238 { 239 "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)", 240 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 241 "MetricName": "tma_info_br_inst_mix_ipbranch" 242 }, 243 { 244 "BriefDescription": "Instruction per (near) call (lower number means higher occurrence rate)", 245 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.CALL", 246 "MetricName": "tma_info_br_inst_mix_ipcall" 247 }, 248 { 249 "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]", 250 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u", 251 "MetricName": "tma_info_br_inst_mix_ipfarbranch" 252 }, 253 { 254 "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was not taken", 255 "MetricExpr": "INST_RETIRED.ANY / (BR_MISP_RETIRED.COND - BR_MISP_RETIRED.COND_TAKEN)", 256 "MetricName": "tma_info_br_inst_mix_ipmisp_cond_ntaken" 257 }, 258 { 259 "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was taken", 260 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.COND_TAKEN", 261 "MetricName": "tma_info_br_inst_mix_ipmisp_cond_taken" 262 }, 263 { 264 "BriefDescription": "Instructions per retired indirect call or jump Branch Misprediction", 265 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.INDIRECT", 266 "MetricName": "tma_info_br_inst_mix_ipmisp_indirect" 267 }, 268 { 269 "BriefDescription": "Instructions per retired return Branch Misprediction", 270 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.RETURN", 271 "MetricName": "tma_info_br_inst_mix_ipmisp_ret" 272 }, 273 { 274 "BriefDescription": "Instructions per retired Branch Misprediction", 275 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 276 "MetricName": "tma_info_br_inst_mix_ipmispredict" 277 }, 278 { 279 "BriefDescription": "Ratio of all branches which mispredict", 280 "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.ALL_BRANCHES", 281 "MetricName": "tma_info_br_mispredict_bound_branch_mispredict_ratio" 282 }, 283 { 284 "BriefDescription": "Ratio between Mispredicted branches and unknown branches", 285 "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / BACLEARS.ANY", 286 "MetricName": "tma_info_br_mispredict_bound_branch_mispredict_to_unknown_branch_ratio" 287 }, 288 { 289 "BriefDescription": "Percentage of time that allocation is stalled due to load buffer full", 290 "MetricExpr": "100 * MEM_SCHEDULER_BLOCK.LD_BUF / CPU_CLK_UNHALTED.CORE", 291 "MetricName": "tma_info_buffer_stalls_%_load_buffer_stall_cycles" 292 }, 293 { 294 "BriefDescription": "Percentage of time that allocation is stalled due to memory reservation stations full", 295 "MetricExpr": "100 * MEM_SCHEDULER_BLOCK.RSV / CPU_CLK_UNHALTED.CORE", 296 "MetricName": "tma_info_buffer_stalls_%_mem_rsv_stall_cycles" 297 }, 298 { 299 "BriefDescription": "Percentage of time that allocation is stalled due to store buffer full", 300 "MetricExpr": "100 * MEM_SCHEDULER_BLOCK.ST_BUF / CPU_CLK_UNHALTED.CORE", 301 "MetricName": "tma_info_buffer_stalls_%_store_buffer_stall_cycles" 302 }, 303 { 304 "BriefDescription": "Cycles Per Instruction", 305 "MetricExpr": "CPU_CLK_UNHALTED.CORE / INST_RETIRED.ANY", 306 "MetricName": "tma_info_core_cpi" 307 }, 308 { 309 "BriefDescription": "Instructions Per Cycle", 310 "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.CORE", 311 "MetricName": "tma_info_core_ipc" 312 }, 313 { 314 "BriefDescription": "Uops Per Instruction", 315 "MetricExpr": "UOPS_RETIRED.ALL / INST_RETIRED.ANY", 316 "MetricName": "tma_info_core_upi" 317 }, 318 { 319 "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss hits in the L2", 320 "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_L2_HIT / MEM_BOUND_STALLS.IFETCH", 321 "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l2hit" 322 }, 323 { 324 "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss hits in the L3", 325 "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_LLC_HIT / MEM_BOUND_STALLS.IFETCH", 326 "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l3hit" 327 }, 328 { 329 "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss subsequently misses in the L3", 330 "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_DRAM_HIT / MEM_BOUND_STALLS.IFETCH", 331 "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l3miss" 332 }, 333 { 334 "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that hit the L2", 335 "MetricExpr": "100 * MEM_BOUND_STALLS.LOAD_L2_HIT / MEM_BOUND_STALLS.LOAD", 336 "MetricGroup": "load_store_bound", 337 "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l2hit" 338 }, 339 { 340 "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that hit the L3", 341 "MetricExpr": "100 * MEM_BOUND_STALLS.LOAD_LLC_HIT / MEM_BOUND_STALLS.LOAD", 342 "MetricGroup": "load_store_bound", 343 "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l3hit" 344 }, 345 { 346 "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that subsequently misses the L3", 347 "MetricExpr": "100 * MEM_BOUND_STALLS.LOAD_DRAM_HIT / MEM_BOUND_STALLS.LOAD", 348 "MetricGroup": "load_store_bound", 349 "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l3miss" 350 }, 351 { 352 "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a pipeline block", 353 "MetricExpr": "100 * LD_HEAD.L1_BOUND_AT_RET / CPU_CLK_UNHALTED.CORE", 354 "MetricGroup": "load_store_bound", 355 "MetricName": "tma_info_load_store_bound_l1_bound" 356 }, 357 { 358 "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement", 359 "MetricExpr": "100 * (LD_HEAD.L1_BOUND_AT_RET + MEM_BOUND_STALLS.LOAD) / CPU_CLK_UNHALTED.CORE", 360 "MetricGroup": "load_store_bound", 361 "MetricName": "tma_info_load_store_bound_load_bound" 362 }, 363 { 364 "BriefDescription": "Counts the number of cycles the core is stalled due to store buffer full", 365 "MetricExpr": "100 * (MEM_SCHEDULER_BLOCK.ST_BUF / MEM_SCHEDULER_BLOCK.ALL) * tma_mem_scheduler", 366 "MetricGroup": "load_store_bound", 367 "MetricName": "tma_info_load_store_bound_store_bound" 368 }, 369 { 370 "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to memory disambiguation", 371 "MetricExpr": "1e3 * MACHINE_CLEARS.DISAMBIGUATION / INST_RETIRED.ANY", 372 "MetricName": "tma_info_machine_clear_bound_machine_clears_disamb_pki" 373 }, 374 { 375 "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to floating point assists", 376 "MetricExpr": "1e3 * MACHINE_CLEARS.FP_ASSIST / INST_RETIRED.ANY", 377 "MetricName": "tma_info_machine_clear_bound_machine_clears_fp_assist_pki" 378 }, 379 { 380 "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to memory ordering", 381 "MetricExpr": "1e3 * MACHINE_CLEARS.MEMORY_ORDERING / INST_RETIRED.ANY", 382 "MetricName": "tma_info_machine_clear_bound_machine_clears_monuke_pki" 383 }, 384 { 385 "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to memory renaming", 386 "MetricExpr": "1e3 * MACHINE_CLEARS.MRN_NUKE / INST_RETIRED.ANY", 387 "MetricName": "tma_info_machine_clear_bound_machine_clears_mrn_pki" 388 }, 389 { 390 "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to page faults", 391 "MetricExpr": "1e3 * MACHINE_CLEARS.PAGE_FAULT / INST_RETIRED.ANY", 392 "MetricName": "tma_info_machine_clear_bound_machine_clears_page_fault_pki" 393 }, 394 { 395 "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to self-modifying code", 396 "MetricExpr": "1e3 * MACHINE_CLEARS.SMC / INST_RETIRED.ANY", 397 "MetricName": "tma_info_machine_clear_bound_machine_clears_smc_pki" 398 }, 399 { 400 "BriefDescription": "Percentage of total non-speculative loads with an address aliasing block", 401 "MetricExpr": "100 * LD_BLOCKS.4K_ALIAS / MEM_UOPS_RETIRED.ALL_LOADS", 402 "MetricName": "tma_info_mem_exec_blocks_%_loads_with_adressaliasing" 403 }, 404 { 405 "BriefDescription": "Percentage of total non-speculative loads with a store forward or unknown store address block", 406 "MetricExpr": "100 * LD_BLOCKS.DATA_UNKNOWN / MEM_UOPS_RETIRED.ALL_LOADS", 407 "MetricName": "tma_info_mem_exec_blocks_%_loads_with_storefwdblk" 408 }, 409 { 410 "BriefDescription": "Percentage of Memory Execution Bound due to a first level data cache miss", 411 "MetricExpr": "100 * LD_HEAD.L1_MISS_AT_RET / LD_HEAD.ANY_AT_RET", 412 "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_l1miss" 413 }, 414 { 415 "BriefDescription": "Percentage of Memory Execution Bound due to other block cases, such as pipeline conflicts, fences, etc", 416 "MetricExpr": "100 * LD_HEAD.OTHER_AT_RET / LD_HEAD.ANY_AT_RET", 417 "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_otherpipelineblks" 418 }, 419 { 420 "BriefDescription": "Percentage of Memory Execution Bound due to a pagewalk", 421 "MetricExpr": "100 * LD_HEAD.PGWALK_AT_RET / LD_HEAD.ANY_AT_RET", 422 "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_pagewalk" 423 }, 424 { 425 "BriefDescription": "Percentage of Memory Execution Bound due to a second level TLB miss", 426 "MetricExpr": "100 * LD_HEAD.DTLB_MISS_AT_RET / LD_HEAD.ANY_AT_RET", 427 "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_stlbhit" 428 }, 429 { 430 "BriefDescription": "Percentage of Memory Execution Bound due to a store forward address match", 431 "MetricExpr": "100 * LD_HEAD.ST_ADDR_AT_RET / LD_HEAD.ANY_AT_RET", 432 "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_storefwding" 433 }, 434 { 435 "BriefDescription": "Instructions per Load", 436 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS", 437 "MetricName": "tma_info_mem_mix_ipload" 438 }, 439 { 440 "BriefDescription": "Instructions per Store", 441 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES", 442 "MetricName": "tma_info_mem_mix_ipstore" 443 }, 444 { 445 "BriefDescription": "Percentage of total non-speculative loads that perform one or more locks", 446 "MetricExpr": "100 * MEM_UOPS_RETIRED.LOCK_LOADS / MEM_UOPS_RETIRED.ALL_LOADS", 447 "MetricName": "tma_info_mem_mix_load_locks_ratio" 448 }, 449 { 450 "BriefDescription": "Percentage of total non-speculative loads that are splits", 451 "MetricExpr": "100 * MEM_UOPS_RETIRED.SPLIT_LOADS / MEM_UOPS_RETIRED.ALL_LOADS", 452 "MetricName": "tma_info_mem_mix_load_splits_ratio" 453 }, 454 { 455 "BriefDescription": "Ratio of mem load uops to all uops", 456 "MetricExpr": "1e3 * MEM_UOPS_RETIRED.ALL_LOADS / UOPS_RETIRED.ALL", 457 "MetricName": "tma_info_mem_mix_memload_ratio" 458 }, 459 { 460 "BriefDescription": "Percentage of time that the core is stalled due to a TPAUSE or UMWAIT instruction", 461 "MetricExpr": "100 * SERIALIZATION.C01_MS_SCB / (5 * CPU_CLK_UNHALTED.CORE)", 462 "MetricName": "tma_info_serialization _%_tpause_cycles" 463 }, 464 { 465 "BriefDescription": "Average CPU Utilization", 466 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC", 467 "MetricName": "tma_info_system_cpu_utilization" 468 }, 469 { 470 "BriefDescription": "Fraction of cycles spent in Kernel mode", 471 "MetricExpr": "cpu@CPU_CLK_UNHALTED.CORE_P@k / CPU_CLK_UNHALTED.CORE", 472 "MetricGroup": "Summary", 473 "MetricName": "tma_info_system_kernel_utilization" 474 }, 475 { 476 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 477 "MetricExpr": "CPU_CLK_UNHALTED.CORE / CPU_CLK_UNHALTED.REF_TSC", 478 "MetricGroup": "Power", 479 "MetricName": "tma_info_system_turbo_utilization" 480 }, 481 { 482 "BriefDescription": "Percentage of all uops which are FPDiv uops", 483 "MetricExpr": "100 * UOPS_RETIRED.FPDIV / UOPS_RETIRED.ALL", 484 "MetricName": "tma_info_uop_mix_fpdiv_uop_ratio" 485 }, 486 { 487 "BriefDescription": "Percentage of all uops which are IDiv uops", 488 "MetricExpr": "100 * UOPS_RETIRED.IDIV / UOPS_RETIRED.ALL", 489 "MetricName": "tma_info_uop_mix_idiv_uop_ratio" 490 }, 491 { 492 "BriefDescription": "Percentage of all uops which are microcode ops", 493 "MetricExpr": "100 * UOPS_RETIRED.MS / UOPS_RETIRED.ALL", 494 "MetricName": "tma_info_uop_mix_microcode_uop_ratio" 495 }, 496 { 497 "BriefDescription": "Percentage of all uops which are x87 uops", 498 "MetricExpr": "100 * UOPS_RETIRED.X87 / UOPS_RETIRED.ALL", 499 "MetricName": "tma_info_uop_mix_x87_uop_ratio" 500 }, 501 { 502 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.", 503 "MetricExpr": "TOPDOWN_FE_BOUND.ITLB / (5 * CPU_CLK_UNHALTED.CORE)", 504 "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group", 505 "MetricName": "tma_itlb_misses", 506 "MetricThreshold": "tma_itlb_misses > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)", 507 "ScaleUnit": "100%" 508 }, 509 { 510 "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", 511 "MetricExpr": "TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS / (5 * CPU_CLK_UNHALTED.CORE)", 512 "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group", 513 "MetricName": "tma_machine_clears", 514 "MetricThreshold": "tma_machine_clears > 0.05 & tma_bad_speculation > 0.15", 515 "MetricgroupNoGroup": "TopdownL2", 516 "ScaleUnit": "100%" 517 }, 518 { 519 "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", 520 "MetricExpr": "TOPDOWN_BE_BOUND.MEM_SCHEDULER / (5 * CPU_CLK_UNHALTED.CORE)", 521 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 522 "MetricName": "tma_mem_scheduler", 523 "MetricThreshold": "tma_mem_scheduler > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)", 524 "ScaleUnit": "100%" 525 }, 526 { 527 "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", 528 "MetricExpr": "TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER / (5 * CPU_CLK_UNHALTED.CORE)", 529 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 530 "MetricName": "tma_non_mem_scheduler", 531 "MetricThreshold": "tma_non_mem_scheduler > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)", 532 "ScaleUnit": "100%" 533 }, 534 { 535 "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)", 536 "MetricExpr": "TOPDOWN_BAD_SPECULATION.NUKE / (5 * CPU_CLK_UNHALTED.CORE)", 537 "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group", 538 "MetricName": "tma_nuke", 539 "MetricThreshold": "tma_nuke > 0.05 & (tma_machine_clears > 0.05 & tma_bad_speculation > 0.15)", 540 "ScaleUnit": "100%" 541 }, 542 { 543 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to other common frontend stalls not categorized.", 544 "MetricExpr": "TOPDOWN_FE_BOUND.OTHER / (5 * CPU_CLK_UNHALTED.CORE)", 545 "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group", 546 "MetricName": "tma_other_fb", 547 "MetricThreshold": "tma_other_fb > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)", 548 "ScaleUnit": "100%" 549 }, 550 { 551 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to wrong predecodes.", 552 "MetricExpr": "TOPDOWN_FE_BOUND.PREDECODE / (5 * CPU_CLK_UNHALTED.CORE)", 553 "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group", 554 "MetricName": "tma_predecode", 555 "MetricThreshold": "tma_predecode > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)", 556 "ScaleUnit": "100%" 557 }, 558 { 559 "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)", 560 "MetricExpr": "TOPDOWN_BE_BOUND.REGISTER / (5 * CPU_CLK_UNHALTED.CORE)", 561 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 562 "MetricName": "tma_register", 563 "MetricThreshold": "tma_register > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)", 564 "ScaleUnit": "100%" 565 }, 566 { 567 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to the reorder buffer being full (ROB stalls)", 568 "MetricExpr": "TOPDOWN_BE_BOUND.REORDER_BUFFER / (5 * CPU_CLK_UNHALTED.CORE)", 569 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 570 "MetricName": "tma_reorder_buffer", 571 "MetricThreshold": "tma_reorder_buffer > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)", 572 "ScaleUnit": "100%" 573 }, 574 { 575 "BriefDescription": "Counts the number of cycles the core is stalled due to a resource limitation", 576 "MetricExpr": "tma_backend_bound - tma_core_bound", 577 "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group", 578 "MetricName": "tma_resource_bound", 579 "MetricThreshold": "tma_resource_bound > 0.2 & tma_backend_bound > 0.1", 580 "MetricgroupNoGroup": "TopdownL2", 581 "ScaleUnit": "100%" 582 }, 583 { 584 "BriefDescription": "Counts the number of issue slots that result in retirement slots", 585 "DefaultMetricgroupName": "TopdownL1", 586 "MetricExpr": "TOPDOWN_RETIRING.ALL / (5 * CPU_CLK_UNHALTED.CORE)", 587 "MetricGroup": "Default;TopdownL1;tma_L1_group", 588 "MetricName": "tma_retiring", 589 "MetricThreshold": "tma_retiring > 0.75", 590 "MetricgroupNoGroup": "TopdownL1;Default", 591 "ScaleUnit": "100%" 592 }, 593 { 594 "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)", 595 "MetricExpr": "TOPDOWN_BE_BOUND.SERIALIZATION / (5 * CPU_CLK_UNHALTED.CORE)", 596 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 597 "MetricName": "tma_serialization", 598 "MetricThreshold": "tma_serialization > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)", 599 "ScaleUnit": "100%" 600 } 601] 602