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