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": "TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS / tma_info_core_slots", 90 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 91 "MetricName": "tma_alloc_restriction", 92 "MetricThreshold": "tma_alloc_restriction > 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 / tma_info_core_slots", 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. The rest of these subevents count backend stalls, in cycles, due to an outstanding request which is memory bound vs core bound. The subevents are not slot based events and therefore can not be precisely added or subtracted from the Backend_Bound_Aux subevents which are slot based.", 104 "ScaleUnit": "100%" 105 }, 106 { 107 "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls", 108 "DefaultMetricgroupName": "TopdownL1", 109 "MetricExpr": "tma_backend_bound", 110 "MetricGroup": "Default;TopdownL1;tma_L1_group", 111 "MetricName": "tma_backend_bound_aux", 112 "MetricThreshold": "tma_backend_bound_aux > 0.2", 113 "MetricgroupNoGroup": "TopdownL1;Default", 114 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls. Note that UOPS must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count. All of these subevents count backend stalls, in slots, due to a resource limitation. These are not cycle based events and therefore can not be precisely added or subtracted from the Backend_Bound subevents which are cycle based. These subevents are supplementary to Backend_Bound and can be used to analyze results from a resource perspective at allocation.", 115 "ScaleUnit": "100%" 116 }, 117 { 118 "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", 119 "DefaultMetricgroupName": "TopdownL1", 120 "MetricExpr": "(tma_info_core_slots - (TOPDOWN_FE_BOUND.ALL + TOPDOWN_BE_BOUND.ALL + TOPDOWN_RETIRING.ALL)) / tma_info_core_slots", 121 "MetricGroup": "Default;TopdownL1;tma_L1_group", 122 "MetricName": "tma_bad_speculation", 123 "MetricThreshold": "tma_bad_speculation > 0.15", 124 "MetricgroupNoGroup": "TopdownL1;Default", 125 "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.", 126 "ScaleUnit": "100%" 127 }, 128 { 129 "BriefDescription": "Counts the number of uops that are not from the microsequencer.", 130 "MetricExpr": "(TOPDOWN_RETIRING.ALL - UOPS_RETIRED.MS) / tma_info_core_slots", 131 "MetricGroup": "TopdownL2;tma_L2_group;tma_retiring_group", 132 "MetricName": "tma_base", 133 "MetricThreshold": "tma_base > 0.6", 134 "MetricgroupNoGroup": "TopdownL2", 135 "ScaleUnit": "100%" 136 }, 137 { 138 "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", 139 "MetricExpr": "TOPDOWN_FE_BOUND.BRANCH_DETECT / tma_info_core_slots", 140 "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_latency_group", 141 "MetricName": "tma_branch_detect", 142 "MetricThreshold": "tma_branch_detect > 0.05", 143 "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.", 144 "ScaleUnit": "100%" 145 }, 146 { 147 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to branch mispredicts.", 148 "MetricExpr": "TOPDOWN_BAD_SPECULATION.MISPREDICT / tma_info_core_slots", 149 "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group", 150 "MetricName": "tma_branch_mispredicts", 151 "MetricThreshold": "tma_branch_mispredicts > 0.05", 152 "MetricgroupNoGroup": "TopdownL2", 153 "ScaleUnit": "100%" 154 }, 155 { 156 "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.", 157 "MetricExpr": "TOPDOWN_FE_BOUND.BRANCH_RESTEER / tma_info_core_slots", 158 "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_latency_group", 159 "MetricName": "tma_branch_resteer", 160 "MetricThreshold": "tma_branch_resteer > 0.05", 161 "ScaleUnit": "100%" 162 }, 163 { 164 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to the microcode sequencer (MS).", 165 "MetricExpr": "TOPDOWN_FE_BOUND.CISC / tma_info_core_slots", 166 "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 167 "MetricName": "tma_cisc", 168 "MetricThreshold": "tma_cisc > 0.05", 169 "ScaleUnit": "100%" 170 }, 171 { 172 "BriefDescription": "Counts the number of cycles due to backend bound stalls that are core execution bound and not attributed to outstanding demand load or store stalls.", 173 "MetricExpr": "max(0, tma_backend_bound - tma_memory_bound)", 174 "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group", 175 "MetricName": "tma_core_bound", 176 "MetricThreshold": "tma_core_bound > 0.1", 177 "MetricgroupNoGroup": "TopdownL2", 178 "ScaleUnit": "100%" 179 }, 180 { 181 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to decode stalls.", 182 "MetricExpr": "TOPDOWN_FE_BOUND.DECODE / tma_info_core_slots", 183 "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 184 "MetricName": "tma_decode", 185 "MetricThreshold": "tma_decode > 0.05", 186 "ScaleUnit": "100%" 187 }, 188 { 189 "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to memory disambiguation.", 190 "MetricExpr": "tma_nuke * (MACHINE_CLEARS.DISAMBIGUATION / MACHINE_CLEARS.SLOW)", 191 "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", 192 "MetricName": "tma_disambiguation", 193 "MetricThreshold": "tma_disambiguation > 0.02", 194 "ScaleUnit": "100%" 195 }, 196 { 197 "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hit in DRAM or MMIO (Non-DRAM).", 198 "MetricConstraint": "NO_GROUP_EVENTS", 199 "MetricExpr": "MEM_BOUND_STALLS.LOAD_DRAM_HIT / tma_info_core_clks - max((MEM_BOUND_STALLS.LOAD - LD_HEAD.L1_MISS_AT_RET) / tma_info_core_clks, 0) * MEM_BOUND_STALLS.LOAD_DRAM_HIT / MEM_BOUND_STALLS.LOAD", 200 "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", 201 "MetricName": "tma_dram_bound", 202 "MetricThreshold": "tma_dram_bound > 0.1", 203 "ScaleUnit": "100%" 204 }, 205 { 206 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to a machine clear classified as a fast nuke due to memory ordering, memory disambiguation and memory renaming.", 207 "MetricExpr": "TOPDOWN_BAD_SPECULATION.FASTNUKE / tma_info_core_slots", 208 "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group", 209 "MetricName": "tma_fast_nuke", 210 "MetricThreshold": "tma_fast_nuke > 0.05", 211 "ScaleUnit": "100%" 212 }, 213 { 214 "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.", 215 "MetricExpr": "TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH / tma_info_core_slots", 216 "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group", 217 "MetricName": "tma_fetch_bandwidth", 218 "MetricThreshold": "tma_fetch_bandwidth > 0.1", 219 "MetricgroupNoGroup": "TopdownL2", 220 "ScaleUnit": "100%" 221 }, 222 { 223 "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.", 224 "MetricExpr": "TOPDOWN_FE_BOUND.FRONTEND_LATENCY / tma_info_core_slots", 225 "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group", 226 "MetricName": "tma_fetch_latency", 227 "MetricThreshold": "tma_fetch_latency > 0.15", 228 "MetricgroupNoGroup": "TopdownL2", 229 "ScaleUnit": "100%" 230 }, 231 { 232 "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to FP assists.", 233 "MetricExpr": "tma_nuke * (MACHINE_CLEARS.FP_ASSIST / MACHINE_CLEARS.SLOW)", 234 "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", 235 "MetricName": "tma_fp_assist", 236 "MetricThreshold": "tma_fp_assist > 0.02", 237 "ScaleUnit": "100%" 238 }, 239 { 240 "BriefDescription": "Counts the number of floating point divide operations per uop.", 241 "MetricExpr": "UOPS_RETIRED.FPDIV / tma_info_core_slots", 242 "MetricGroup": "TopdownL3;tma_L3_group;tma_base_group", 243 "MetricName": "tma_fpdiv_uops", 244 "MetricThreshold": "tma_fpdiv_uops > 0.2", 245 "ScaleUnit": "100%" 246 }, 247 { 248 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to frontend stalls.", 249 "DefaultMetricgroupName": "TopdownL1", 250 "MetricExpr": "TOPDOWN_FE_BOUND.ALL / tma_info_core_slots", 251 "MetricGroup": "Default;TopdownL1;tma_L1_group", 252 "MetricName": "tma_frontend_bound", 253 "MetricThreshold": "tma_frontend_bound > 0.2", 254 "MetricgroupNoGroup": "TopdownL1;Default", 255 "ScaleUnit": "100%" 256 }, 257 { 258 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to instruction cache misses.", 259 "MetricExpr": "TOPDOWN_FE_BOUND.ICACHE / tma_info_core_slots", 260 "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_latency_group", 261 "MetricName": "tma_icache_misses", 262 "MetricThreshold": "tma_icache_misses > 0.05", 263 "ScaleUnit": "100%" 264 }, 265 { 266 "BriefDescription": "", 267 "MetricExpr": "CPU_CLK_UNHALTED.CORE", 268 "MetricName": "tma_info_core_clks" 269 }, 270 { 271 "BriefDescription": "", 272 "MetricExpr": "CPU_CLK_UNHALTED.CORE_P", 273 "MetricName": "tma_info_core_clks_p" 274 }, 275 { 276 "BriefDescription": "Cycles Per Instruction", 277 "MetricExpr": "tma_info_core_clks / INST_RETIRED.ANY", 278 "MetricName": "tma_info_core_cpi" 279 }, 280 { 281 "BriefDescription": "Instructions Per Cycle", 282 "MetricExpr": "INST_RETIRED.ANY / tma_info_core_clks", 283 "MetricName": "tma_info_core_ipc" 284 }, 285 { 286 "BriefDescription": "", 287 "MetricExpr": "5 * tma_info_core_clks", 288 "MetricName": "tma_info_core_slots" 289 }, 290 { 291 "BriefDescription": "Uops Per Instruction", 292 "MetricExpr": "UOPS_RETIRED.ALL / INST_RETIRED.ANY", 293 "MetricName": "tma_info_core_upi" 294 }, 295 { 296 "BriefDescription": "Percent of instruction miss cost that hit in DRAM", 297 "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_DRAM_HIT / MEM_BOUND_STALLS.IFETCH", 298 "MetricName": "tma_info_frontend_inst_miss_cost_dramhit_percent" 299 }, 300 { 301 "BriefDescription": "Percent of instruction miss cost that hit in the L2", 302 "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_L2_HIT / MEM_BOUND_STALLS.IFETCH", 303 "MetricName": "tma_info_frontend_inst_miss_cost_l2hit_percent" 304 }, 305 { 306 "BriefDescription": "Percent of instruction miss cost that hit in the L3", 307 "MetricExpr": "100 * MEM_BOUND_STALLS.IFETCH_LLC_HIT / MEM_BOUND_STALLS.IFETCH", 308 "MetricName": "tma_info_frontend_inst_miss_cost_l3hit_percent" 309 }, 310 { 311 "BriefDescription": "Ratio of all branches which mispredict", 312 "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.ALL_BRANCHES", 313 "MetricName": "tma_info_inst_mix_branch_mispredict_ratio" 314 }, 315 { 316 "BriefDescription": "Ratio between Mispredicted branches and unknown branches", 317 "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / BACLEARS.ANY", 318 "MetricName": "tma_info_inst_mix_branch_mispredict_to_unknown_branch_ratio" 319 }, 320 { 321 "BriefDescription": "Percentage of all uops which are FPDiv uops", 322 "MetricExpr": "100 * UOPS_RETIRED.FPDIV / UOPS_RETIRED.ALL", 323 "MetricName": "tma_info_inst_mix_fpdiv_uop_ratio" 324 }, 325 { 326 "BriefDescription": "Percentage of all uops which are IDiv uops", 327 "MetricExpr": "100 * UOPS_RETIRED.IDIV / UOPS_RETIRED.ALL", 328 "MetricName": "tma_info_inst_mix_idiv_uop_ratio" 329 }, 330 { 331 "BriefDescription": "Instructions per Branch (lower number means higher occurance rate)", 332 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 333 "MetricName": "tma_info_inst_mix_ipbranch" 334 }, 335 { 336 "BriefDescription": "Instruction per (near) call (lower number means higher occurance rate)", 337 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.CALL", 338 "MetricName": "tma_info_inst_mix_ipcall" 339 }, 340 { 341 "BriefDescription": "Instructions per Far Branch", 342 "MetricExpr": "INST_RETIRED.ANY / (BR_INST_RETIRED.FAR_BRANCH / 2)", 343 "MetricName": "tma_info_inst_mix_ipfarbranch" 344 }, 345 { 346 "BriefDescription": "Instructions per Load", 347 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS", 348 "MetricName": "tma_info_inst_mix_ipload" 349 }, 350 { 351 "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was not taken", 352 "MetricExpr": "INST_RETIRED.ANY / (BR_MISP_RETIRED.COND - BR_MISP_RETIRED.COND_TAKEN)", 353 "MetricName": "tma_info_inst_mix_ipmisp_cond_ntaken" 354 }, 355 { 356 "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was taken", 357 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.COND_TAKEN", 358 "MetricName": "tma_info_inst_mix_ipmisp_cond_taken" 359 }, 360 { 361 "BriefDescription": "Instructions per retired indirect call or jump Branch Misprediction", 362 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.INDIRECT", 363 "MetricName": "tma_info_inst_mix_ipmisp_indirect" 364 }, 365 { 366 "BriefDescription": "Instructions per retired return Branch Misprediction", 367 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.RETURN", 368 "MetricName": "tma_info_inst_mix_ipmisp_ret" 369 }, 370 { 371 "BriefDescription": "Instructions per retired Branch Misprediction", 372 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 373 "MetricName": "tma_info_inst_mix_ipmispredict" 374 }, 375 { 376 "BriefDescription": "Instructions per Store", 377 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES", 378 "MetricName": "tma_info_inst_mix_ipstore" 379 }, 380 { 381 "BriefDescription": "Percentage of all uops which are ucode ops", 382 "MetricExpr": "100 * UOPS_RETIRED.MS / UOPS_RETIRED.ALL", 383 "MetricName": "tma_info_inst_mix_microcode_uop_ratio" 384 }, 385 { 386 "BriefDescription": "Percentage of all uops which are x87 uops", 387 "MetricExpr": "100 * UOPS_RETIRED.X87 / UOPS_RETIRED.ALL", 388 "MetricName": "tma_info_inst_mix_x87_uop_ratio" 389 }, 390 { 391 "BriefDescription": "Percentage of total non-speculative loads with a address aliasing block", 392 "MetricExpr": "100 * LD_BLOCKS.4K_ALIAS / MEM_UOPS_RETIRED.ALL_LOADS", 393 "MetricName": "tma_info_l1_bound_address_alias_blocks" 394 }, 395 { 396 "BriefDescription": "Percentage of total non-speculative loads that are splits", 397 "MetricExpr": "100 * MEM_UOPS_RETIRED.SPLIT_LOADS / MEM_UOPS_RETIRED.ALL_LOADS", 398 "MetricName": "tma_info_l1_bound_load_splits" 399 }, 400 { 401 "BriefDescription": "Percentage of total non-speculative loads with a store forward or unknown store address block", 402 "MetricExpr": "100 * LD_BLOCKS.DATA_UNKNOWN / MEM_UOPS_RETIRED.ALL_LOADS", 403 "MetricName": "tma_info_l1_bound_store_fwd_blocks" 404 }, 405 { 406 "BriefDescription": "Cycle cost per DRAM hit", 407 "MetricExpr": "MEM_BOUND_STALLS.LOAD_DRAM_HIT / MEM_LOAD_UOPS_RETIRED.DRAM_HIT", 408 "MetricName": "tma_info_memory_cycles_per_demand_load_dram_hit" 409 }, 410 { 411 "BriefDescription": "Cycle cost per L2 hit", 412 "MetricExpr": "MEM_BOUND_STALLS.LOAD_L2_HIT / MEM_LOAD_UOPS_RETIRED.L2_HIT", 413 "MetricName": "tma_info_memory_cycles_per_demand_load_l2_hit" 414 }, 415 { 416 "BriefDescription": "Cycle cost per LLC hit", 417 "MetricExpr": "MEM_BOUND_STALLS.LOAD_LLC_HIT / MEM_LOAD_UOPS_RETIRED.L3_HIT", 418 "MetricName": "tma_info_memory_cycles_per_demand_load_l3_hit" 419 }, 420 { 421 "BriefDescription": "load ops retired per 1000 instruction", 422 "MetricExpr": "1e3 * MEM_UOPS_RETIRED.ALL_LOADS / INST_RETIRED.ANY", 423 "MetricName": "tma_info_memory_memloadpki" 424 }, 425 { 426 "BriefDescription": "Average CPU Utilization", 427 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC", 428 "MetricName": "tma_info_system_cpu_utilization" 429 }, 430 { 431 "BriefDescription": "Fraction of cycles spent in Kernel mode", 432 "MetricExpr": "cpu@CPU_CLK_UNHALTED.CORE@k / CPU_CLK_UNHALTED.CORE", 433 "MetricGroup": "Summary", 434 "MetricName": "tma_info_system_kernel_utilization" 435 }, 436 { 437 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 438 "MetricExpr": "tma_info_core_clks / CPU_CLK_UNHALTED.REF_TSC", 439 "MetricGroup": "Power", 440 "MetricName": "tma_info_system_turbo_utilization" 441 }, 442 { 443 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.", 444 "MetricExpr": "TOPDOWN_FE_BOUND.ITLB / tma_info_core_slots", 445 "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_latency_group", 446 "MetricName": "tma_itlb_misses", 447 "MetricThreshold": "tma_itlb_misses > 0.05", 448 "ScaleUnit": "100%" 449 }, 450 { 451 "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a load block.", 452 "MetricExpr": "LD_HEAD.L1_BOUND_AT_RET / tma_info_core_clks", 453 "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", 454 "MetricName": "tma_l1_bound", 455 "MetricThreshold": "tma_l1_bound > 0.1", 456 "ScaleUnit": "100%" 457 }, 458 { 459 "BriefDescription": "Counts the number of cycles a core is stalled due to a demand load which hit in the L2 Cache.", 460 "MetricConstraint": "NO_GROUP_EVENTS", 461 "MetricExpr": "MEM_BOUND_STALLS.LOAD_L2_HIT / tma_info_core_clks - max((MEM_BOUND_STALLS.LOAD - LD_HEAD.L1_MISS_AT_RET) / tma_info_core_clks, 0) * MEM_BOUND_STALLS.LOAD_L2_HIT / MEM_BOUND_STALLS.LOAD", 462 "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", 463 "MetricName": "tma_l2_bound", 464 "MetricThreshold": "tma_l2_bound > 0.1", 465 "ScaleUnit": "100%" 466 }, 467 { 468 "BriefDescription": "Counts the number of cycles a core is stalled due to a demand load which hit in the Last Level Cache (LLC) or other core with HITE/F/M.", 469 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 470 "MetricExpr": "MEM_BOUND_STALLS.LOAD_LLC_HIT / tma_info_core_clks - max((MEM_BOUND_STALLS.LOAD - LD_HEAD.L1_MISS_AT_RET) / tma_info_core_clks, 0) * MEM_BOUND_STALLS.LOAD_LLC_HIT / MEM_BOUND_STALLS.LOAD", 471 "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", 472 "MetricName": "tma_l3_bound", 473 "MetricThreshold": "tma_l3_bound > 0.1", 474 "ScaleUnit": "100%" 475 }, 476 { 477 "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to load buffer full", 478 "MetricExpr": "tma_mem_scheduler * MEM_SCHEDULER_BLOCK.LD_BUF / MEM_SCHEDULER_BLOCK.ALL", 479 "MetricGroup": "TopdownL4;tma_L4_group;tma_mem_scheduler_group", 480 "MetricName": "tma_ld_buffer", 481 "MetricThreshold": "tma_ld_buffer > 0.05", 482 "ScaleUnit": "100%" 483 }, 484 { 485 "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.", 486 "MetricExpr": "TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS / tma_info_core_slots", 487 "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group", 488 "MetricName": "tma_machine_clears", 489 "MetricThreshold": "tma_machine_clears > 0.05", 490 "MetricgroupNoGroup": "TopdownL2", 491 "ScaleUnit": "100%" 492 }, 493 { 494 "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.", 495 "MetricExpr": "TOPDOWN_BE_BOUND.MEM_SCHEDULER / tma_info_core_slots", 496 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 497 "MetricName": "tma_mem_scheduler", 498 "MetricThreshold": "tma_mem_scheduler > 0.1", 499 "ScaleUnit": "100%" 500 }, 501 { 502 "BriefDescription": "Counts the number of cycles the core is stalled due to stores or loads.", 503 "MetricExpr": "min(tma_backend_bound, LD_HEAD.ANY_AT_RET / tma_info_core_clks + tma_store_bound)", 504 "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group", 505 "MetricName": "tma_memory_bound", 506 "MetricThreshold": "tma_memory_bound > 0.2", 507 "MetricgroupNoGroup": "TopdownL2", 508 "ScaleUnit": "100%" 509 }, 510 { 511 "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to memory ordering.", 512 "MetricExpr": "tma_nuke * (MACHINE_CLEARS.MEMORY_ORDERING / MACHINE_CLEARS.SLOW)", 513 "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", 514 "MetricName": "tma_memory_ordering", 515 "MetricThreshold": "tma_memory_ordering > 0.02", 516 "ScaleUnit": "100%" 517 }, 518 { 519 "BriefDescription": "Counts the number of uops that are from the complex flows issued by the micro-sequencer (MS)", 520 "MetricExpr": "UOPS_RETIRED.MS / tma_info_core_slots", 521 "MetricGroup": "TopdownL2;tma_L2_group;tma_retiring_group", 522 "MetricName": "tma_ms_uops", 523 "MetricThreshold": "tma_ms_uops > 0.05", 524 "MetricgroupNoGroup": "TopdownL2", 525 "PublicDescription": "Counts the number of uops that are from the complex flows issued by the micro-sequencer (MS). This includes uops from flows due to complex instructions, faults, assists, and inserted flows.", 526 "ScaleUnit": "100%" 527 }, 528 { 529 "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.", 530 "MetricExpr": "TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER / tma_info_core_slots", 531 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 532 "MetricName": "tma_non_mem_scheduler", 533 "MetricThreshold": "tma_non_mem_scheduler > 0.1", 534 "ScaleUnit": "100%" 535 }, 536 { 537 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to a machine clear (slow nuke).", 538 "MetricExpr": "TOPDOWN_BAD_SPECULATION.NUKE / tma_info_core_slots", 539 "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group", 540 "MetricName": "tma_nuke", 541 "MetricThreshold": "tma_nuke > 0.05", 542 "ScaleUnit": "100%" 543 }, 544 { 545 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to other common frontend stalls not categorized.", 546 "MetricExpr": "TOPDOWN_FE_BOUND.OTHER / tma_info_core_slots", 547 "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 548 "MetricName": "tma_other_fb", 549 "MetricThreshold": "tma_other_fb > 0.05", 550 "ScaleUnit": "100%" 551 }, 552 { 553 "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a number of other load blocks.", 554 "MetricExpr": "LD_HEAD.OTHER_AT_RET / tma_info_core_clks", 555 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 556 "MetricName": "tma_other_l1", 557 "MetricThreshold": "tma_other_l1 > 0.05", 558 "ScaleUnit": "100%" 559 }, 560 { 561 "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hits in the L2, LLC, DRAM or MMIO (Non-DRAM) but could not be correctly attributed or cycles in which the load miss is waiting on a request buffer.", 562 "MetricExpr": "max(0, tma_memory_bound - (tma_store_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound))", 563 "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", 564 "MetricName": "tma_other_load_store", 565 "MetricThreshold": "tma_other_load_store > 0.1", 566 "ScaleUnit": "100%" 567 }, 568 { 569 "BriefDescription": "Counts the number of uops retired excluding ms and fp div uops.", 570 "MetricExpr": "(TOPDOWN_RETIRING.ALL - UOPS_RETIRED.MS - UOPS_RETIRED.FPDIV) / tma_info_core_slots", 571 "MetricGroup": "TopdownL3;tma_L3_group;tma_base_group", 572 "MetricName": "tma_other_ret", 573 "MetricThreshold": "tma_other_ret > 0.3", 574 "ScaleUnit": "100%" 575 }, 576 { 577 "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to page faults.", 578 "MetricExpr": "tma_nuke * (MACHINE_CLEARS.PAGE_FAULT / MACHINE_CLEARS.SLOW)", 579 "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", 580 "MetricName": "tma_page_fault", 581 "MetricThreshold": "tma_page_fault > 0.02", 582 "ScaleUnit": "100%" 583 }, 584 { 585 "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to wrong predecodes.", 586 "MetricExpr": "TOPDOWN_FE_BOUND.PREDECODE / tma_info_core_slots", 587 "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 588 "MetricName": "tma_predecode", 589 "MetricThreshold": "tma_predecode > 0.05", 590 "ScaleUnit": "100%" 591 }, 592 { 593 "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).", 594 "MetricExpr": "TOPDOWN_BE_BOUND.REGISTER / tma_info_core_slots", 595 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 596 "MetricName": "tma_register", 597 "MetricThreshold": "tma_register > 0.1", 598 "ScaleUnit": "100%" 599 }, 600 { 601 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to the reorder buffer being full (ROB stalls).", 602 "MetricExpr": "TOPDOWN_BE_BOUND.REORDER_BUFFER / tma_info_core_slots", 603 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 604 "MetricName": "tma_reorder_buffer", 605 "MetricThreshold": "tma_reorder_buffer > 0.1", 606 "ScaleUnit": "100%" 607 }, 608 { 609 "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls", 610 "MetricExpr": "tma_backend_bound", 611 "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_aux_group", 612 "MetricName": "tma_resource_bound", 613 "MetricThreshold": "tma_resource_bound > 0.2", 614 "MetricgroupNoGroup": "TopdownL2", 615 "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.", 616 "ScaleUnit": "100%" 617 }, 618 { 619 "BriefDescription": "Counts the numer of issue slots that result in retirement slots.", 620 "DefaultMetricgroupName": "TopdownL1", 621 "MetricExpr": "TOPDOWN_RETIRING.ALL / tma_info_core_slots", 622 "MetricGroup": "Default;TopdownL1;tma_L1_group", 623 "MetricName": "tma_retiring", 624 "MetricThreshold": "tma_retiring > 0.75", 625 "MetricgroupNoGroup": "TopdownL1;Default", 626 "ScaleUnit": "100%" 627 }, 628 { 629 "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to RSV full relative", 630 "MetricExpr": "tma_mem_scheduler * MEM_SCHEDULER_BLOCK.RSV / MEM_SCHEDULER_BLOCK.ALL", 631 "MetricGroup": "TopdownL4;tma_L4_group;tma_mem_scheduler_group", 632 "MetricName": "tma_rsv", 633 "MetricThreshold": "tma_rsv > 0.05", 634 "ScaleUnit": "100%" 635 }, 636 { 637 "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).", 638 "MetricExpr": "TOPDOWN_BE_BOUND.SERIALIZATION / tma_info_core_slots", 639 "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", 640 "MetricName": "tma_serialization", 641 "MetricThreshold": "tma_serialization > 0.1", 642 "ScaleUnit": "100%" 643 }, 644 { 645 "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to SMC.", 646 "MetricExpr": "tma_nuke * (MACHINE_CLEARS.SMC / MACHINE_CLEARS.SLOW)", 647 "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", 648 "MetricName": "tma_smc", 649 "MetricThreshold": "tma_smc > 0.02", 650 "ScaleUnit": "100%" 651 }, 652 { 653 "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to store buffer full", 654 "MetricExpr": "tma_store_bound", 655 "MetricGroup": "TopdownL4;tma_L4_group;tma_mem_scheduler_group", 656 "MetricName": "tma_st_buffer", 657 "MetricThreshold": "tma_st_buffer > 0.05", 658 "ScaleUnit": "100%" 659 }, 660 { 661 "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a first level TLB miss.", 662 "MetricExpr": "LD_HEAD.DTLB_MISS_AT_RET / tma_info_core_clks", 663 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 664 "MetricName": "tma_stlb_hit", 665 "MetricThreshold": "tma_stlb_hit > 0.05", 666 "ScaleUnit": "100%" 667 }, 668 { 669 "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a second level TLB miss requiring a page walk.", 670 "MetricExpr": "LD_HEAD.PGWALK_AT_RET / tma_info_core_clks", 671 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 672 "MetricName": "tma_stlb_miss", 673 "MetricThreshold": "tma_stlb_miss > 0.05", 674 "ScaleUnit": "100%" 675 }, 676 { 677 "BriefDescription": "Counts the number of cycles the core is stalled due to store buffer full.", 678 "MetricExpr": "tma_mem_scheduler * (MEM_SCHEDULER_BLOCK.ST_BUF / MEM_SCHEDULER_BLOCK.ALL)", 679 "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", 680 "MetricName": "tma_store_bound", 681 "MetricThreshold": "tma_store_bound > 0.1", 682 "ScaleUnit": "100%" 683 }, 684 { 685 "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a store forward block.", 686 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 687 "MetricExpr": "LD_HEAD.ST_ADDR_AT_RET / tma_info_core_clks", 688 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 689 "MetricName": "tma_store_fwd_blk", 690 "MetricThreshold": "tma_store_fwd_blk > 0.05", 691 "ScaleUnit": "100%" 692 } 693] 694