1[ 2 { 3 "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend", 4 "MetricExpr": "IDQ_UOPS_NOT_DELIVERED.CORE / (4 * CPU_CLK_UNHALTED.THREAD)", 5 "MetricGroup": "TopdownL1", 6 "MetricName": "Frontend_Bound", 7 "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 Machine_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." 8 }, 9 { 10 "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend. SMT version; use when SMT is enabled and measuring per logical CPU.", 11 "MetricExpr": "IDQ_UOPS_NOT_DELIVERED.CORE / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))", 12 "MetricGroup": "TopdownL1_SMT", 13 "MetricName": "Frontend_Bound_SMT", 14 "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 Machine_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. SMT version; use when SMT is enabled and measuring per logical CPU." 15 }, 16 { 17 "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations", 18 "MetricExpr": "( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * INT_MISC.RECOVERY_CYCLES ) / (4 * CPU_CLK_UNHALTED.THREAD)", 19 "MetricGroup": "TopdownL1", 20 "MetricName": "Bad_Speculation", 21 "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." 22 }, 23 { 24 "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations. SMT version; use when SMT is enabled and measuring per logical CPU.", 25 "MetricExpr": "( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) ) / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))", 26 "MetricGroup": "TopdownL1_SMT", 27 "MetricName": "Bad_Speculation_SMT", 28 "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. SMT version; use when SMT is enabled and measuring per logical CPU." 29 }, 30 { 31 "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", 32 "MetricConstraint": "NO_NMI_WATCHDOG", 33 "MetricExpr": "1 - ( (IDQ_UOPS_NOT_DELIVERED.CORE / (4 * CPU_CLK_UNHALTED.THREAD)) + (( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * INT_MISC.RECOVERY_CYCLES ) / (4 * CPU_CLK_UNHALTED.THREAD)) + (UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD)) )", 34 "MetricGroup": "TopdownL1", 35 "MetricName": "Backend_Bound", 36 "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." 37 }, 38 { 39 "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. SMT version; use when SMT is enabled and measuring per logical CPU.", 40 "MetricExpr": "1 - ( (IDQ_UOPS_NOT_DELIVERED.CORE / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))) + (( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) ) / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))) + (UOPS_RETIRED.RETIRE_SLOTS / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))) )", 41 "MetricGroup": "TopdownL1_SMT", 42 "MetricName": "Backend_Bound_SMT", 43 "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. SMT version; use when SMT is enabled and measuring per logical CPU." 44 }, 45 { 46 "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired", 47 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD)", 48 "MetricGroup": "TopdownL1", 49 "MetricName": "Retiring", 50 "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. " 51 }, 52 { 53 "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired. SMT version; use when SMT is enabled and measuring per logical CPU.", 54 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))", 55 "MetricGroup": "TopdownL1_SMT", 56 "MetricName": "Retiring_SMT", 57 "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. SMT version; use when SMT is enabled and measuring per logical CPU." 58 }, 59 { 60 "BriefDescription": "Instructions Per Cycle (per Logical Processor)", 61 "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD", 62 "MetricGroup": "Ret;Summary", 63 "MetricName": "IPC" 64 }, 65 { 66 "BriefDescription": "Uops Per Instruction", 67 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / INST_RETIRED.ANY", 68 "MetricGroup": "Pipeline;Ret;Retire", 69 "MetricName": "UPI" 70 }, 71 { 72 "BriefDescription": "Instruction per taken branch", 73 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / BR_INST_RETIRED.NEAR_TAKEN", 74 "MetricGroup": "Branches;Fed;FetchBW", 75 "MetricName": "UpTB" 76 }, 77 { 78 "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.", 79 "MetricExpr": "CPU_CLK_UNHALTED.THREAD", 80 "MetricGroup": "Pipeline", 81 "MetricName": "CLKS" 82 }, 83 { 84 "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)", 85 "MetricExpr": "4 * CPU_CLK_UNHALTED.THREAD", 86 "MetricGroup": "TmaL1", 87 "MetricName": "SLOTS" 88 }, 89 { 90 "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)", 91 "MetricExpr": "4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 92 "MetricGroup": "TmaL1_SMT", 93 "MetricName": "SLOTS_SMT" 94 }, 95 { 96 "BriefDescription": "The ratio of Executed- by Issued-Uops", 97 "MetricExpr": "UOPS_EXECUTED.THREAD / UOPS_ISSUED.ANY", 98 "MetricGroup": "Cor;Pipeline", 99 "MetricName": "Execute_per_Issue", 100 "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." 101 }, 102 { 103 "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)", 104 "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD", 105 "MetricGroup": "Ret;SMT;TmaL1", 106 "MetricName": "CoreIPC" 107 }, 108 { 109 "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)", 110 "MetricExpr": "INST_RETIRED.ANY / ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 111 "MetricGroup": "Ret;SMT;TmaL1_SMT", 112 "MetricName": "CoreIPC_SMT" 113 }, 114 { 115 "BriefDescription": "Floating Point Operations Per Cycle", 116 "MetricExpr": "( 1 * ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE ) + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * ( FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE ) + 8 * FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE ) / CPU_CLK_UNHALTED.THREAD", 117 "MetricGroup": "Ret;Flops", 118 "MetricName": "FLOPc" 119 }, 120 { 121 "BriefDescription": "Floating Point Operations Per Cycle", 122 "MetricExpr": "( 1 * ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE ) + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * ( FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE ) + 8 * FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE ) / ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 123 "MetricGroup": "Ret;Flops_SMT", 124 "MetricName": "FLOPc_SMT" 125 }, 126 { 127 "BriefDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width)", 128 "MetricExpr": "( (FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE) + (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE) ) / ( 2 * CPU_CLK_UNHALTED.THREAD )", 129 "MetricGroup": "Cor;Flops;HPC", 130 "MetricName": "FP_Arith_Utilization", 131 "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)." 132 }, 133 { 134 "BriefDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width). SMT version; use when SMT is enabled and measuring per logical CPU.", 135 "MetricExpr": "( (FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE) + (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE) ) / ( 2 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ) )", 136 "MetricGroup": "Cor;Flops;HPC_SMT", 137 "MetricName": "FP_Arith_Utilization_SMT", 138 "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). SMT version; use when SMT is enabled and measuring per logical CPU." 139 }, 140 { 141 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per-core", 142 "MetricExpr": "UOPS_EXECUTED.THREAD / (( cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@ / 2 ) if #SMT_on else UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC)", 143 "MetricGroup": "Backend;Cor;Pipeline;PortsUtil", 144 "MetricName": "ILP" 145 }, 146 { 147 "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core", 148 "MetricExpr": "( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 149 "MetricGroup": "SMT", 150 "MetricName": "CORE_CLKS" 151 }, 152 { 153 "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)", 154 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS", 155 "MetricGroup": "InsType", 156 "MetricName": "IpLoad" 157 }, 158 { 159 "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)", 160 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES", 161 "MetricGroup": "InsType", 162 "MetricName": "IpStore" 163 }, 164 { 165 "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)", 166 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 167 "MetricGroup": "Branches;Fed;InsType", 168 "MetricName": "IpBranch" 169 }, 170 { 171 "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)", 172 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL", 173 "MetricGroup": "Branches;Fed;PGO", 174 "MetricName": "IpCall" 175 }, 176 { 177 "BriefDescription": "Instruction per taken branch", 178 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN", 179 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO", 180 "MetricName": "IpTB" 181 }, 182 { 183 "BriefDescription": "Branch instructions per taken branch. ", 184 "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN", 185 "MetricGroup": "Branches;Fed;PGO", 186 "MetricName": "BpTkBranch" 187 }, 188 { 189 "BriefDescription": "Instructions per Floating Point (FP) Operation (lower number means higher occurrence rate)", 190 "MetricExpr": "INST_RETIRED.ANY / ( 1 * ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE ) + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * ( FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE ) + 8 * FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE )", 191 "MetricGroup": "Flops;InsType", 192 "MetricName": "IpFLOP" 193 }, 194 { 195 "BriefDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate)", 196 "MetricExpr": "INST_RETIRED.ANY / ( (FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE) + (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE) )", 197 "MetricGroup": "Flops;InsType", 198 "MetricName": "IpArith", 199 "PublicDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate). May undercount due to FMA double counting. Approximated prior to BDW." 200 }, 201 { 202 "BriefDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate)", 203 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_SINGLE", 204 "MetricGroup": "Flops;FpScalar;InsType", 205 "MetricName": "IpArith_Scalar_SP", 206 "PublicDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate). May undercount due to FMA double counting." 207 }, 208 { 209 "BriefDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate)", 210 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_DOUBLE", 211 "MetricGroup": "Flops;FpScalar;InsType", 212 "MetricName": "IpArith_Scalar_DP", 213 "PublicDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate). May undercount due to FMA double counting." 214 }, 215 { 216 "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate)", 217 "MetricExpr": "INST_RETIRED.ANY / ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE )", 218 "MetricGroup": "Flops;FpVector;InsType", 219 "MetricName": "IpArith_AVX128", 220 "PublicDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate). May undercount due to FMA double counting." 221 }, 222 { 223 "BriefDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate)", 224 "MetricExpr": "INST_RETIRED.ANY / ( FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE )", 225 "MetricGroup": "Flops;FpVector;InsType", 226 "MetricName": "IpArith_AVX256", 227 "PublicDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate). May undercount due to FMA double counting." 228 }, 229 { 230 "BriefDescription": "Total number of retired Instructions, Sample with: INST_RETIRED.PREC_DIST", 231 "MetricExpr": "INST_RETIRED.ANY", 232 "MetricGroup": "Summary;TmaL1", 233 "MetricName": "Instructions" 234 }, 235 { 236 "BriefDescription": "Average number of Uops retired in cycles where at least one uop has retired.", 237 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / cpu@UOPS_RETIRED.RETIRE_SLOTS\\,cmask\\=1@", 238 "MetricGroup": "Pipeline;Ret", 239 "MetricName": "Retire" 240 }, 241 { 242 "BriefDescription": "", 243 "MetricExpr": "UOPS_EXECUTED.THREAD / cpu@UOPS_EXECUTED.THREAD\\,cmask\\=1@", 244 "MetricGroup": "Cor;Pipeline;PortsUtil;SMT", 245 "MetricName": "Execute" 246 }, 247 { 248 "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)", 249 "MetricExpr": "IDQ.DSB_UOPS / (( IDQ.DSB_UOPS + LSD.UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS ) )", 250 "MetricGroup": "DSB;Fed;FetchBW", 251 "MetricName": "DSB_Coverage" 252 }, 253 { 254 "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear) (lower number means higher occurrence rate)", 255 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 256 "MetricGroup": "Bad;BadSpec;BrMispredicts", 257 "MetricName": "IpMispredict" 258 }, 259 { 260 "BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear)", 261 "MetricExpr": " ( ((BR_MISP_RETIRED.ALL_BRANCHES / ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT )) * (( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * INT_MISC.RECOVERY_CYCLES ) / (4 * CPU_CLK_UNHALTED.THREAD))) + (4 * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / (4 * CPU_CLK_UNHALTED.THREAD)) * (BR_MISP_RETIRED.ALL_BRANCHES * (12 * ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT + BACLEARS.ANY ) / CPU_CLK_UNHALTED.THREAD) / ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT + BACLEARS.ANY )) / #(4 * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / (4 * CPU_CLK_UNHALTED.THREAD)) ) * (4 * CPU_CLK_UNHALTED.THREAD) / BR_MISP_RETIRED.ALL_BRANCHES", 262 "MetricGroup": "Bad;BrMispredicts", 263 "MetricName": "Branch_Misprediction_Cost" 264 }, 265 { 266 "BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear)", 267 "MetricExpr": " ( ((BR_MISP_RETIRED.ALL_BRANCHES / ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT )) * (( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) ) / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )))) + (4 * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))) * (BR_MISP_RETIRED.ALL_BRANCHES * (12 * ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT + BACLEARS.ANY ) / CPU_CLK_UNHALTED.THREAD) / ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT + BACLEARS.ANY )) / #(4 * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))) ) * (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )) / BR_MISP_RETIRED.ALL_BRANCHES", 268 "MetricGroup": "Bad;BrMispredicts_SMT", 269 "MetricName": "Branch_Misprediction_Cost_SMT" 270 }, 271 { 272 "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load operations (in core cycles)", 273 "MetricExpr": "L1D_PEND_MISS.PENDING / ( MEM_LOAD_UOPS_RETIRED.L1_MISS + mem_load_uops_retired.hit_lfb )", 274 "MetricGroup": "Mem;MemoryBound;MemoryLat", 275 "MetricName": "Load_Miss_Real_Latency" 276 }, 277 { 278 "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)", 279 "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES", 280 "MetricGroup": "Mem;MemoryBound;MemoryBW", 281 "MetricName": "MLP" 282 }, 283 { 284 "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads", 285 "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L1_MISS / INST_RETIRED.ANY", 286 "MetricGroup": "Mem;CacheMisses", 287 "MetricName": "L1MPKI" 288 }, 289 { 290 "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads", 291 "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L2_MISS / INST_RETIRED.ANY", 292 "MetricGroup": "Mem;Backend;CacheMisses", 293 "MetricName": "L2MPKI" 294 }, 295 { 296 "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all request types (including speculative)", 297 "MetricExpr": "1000 * L2_RQSTS.MISS / INST_RETIRED.ANY", 298 "MetricGroup": "Mem;CacheMisses;Offcore", 299 "MetricName": "L2MPKI_All" 300 }, 301 { 302 "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all demand loads (including speculative)", 303 "MetricExpr": "1000 * L2_RQSTS.DEMAND_DATA_RD_MISS / INST_RETIRED.ANY", 304 "MetricGroup": "Mem;CacheMisses", 305 "MetricName": "L2MPKI_Load" 306 }, 307 { 308 "BriefDescription": "L2 cache hits per kilo instruction for all request types (including speculative)", 309 "MetricExpr": "1000 * ( L2_RQSTS.REFERENCES - L2_RQSTS.MISS ) / INST_RETIRED.ANY", 310 "MetricGroup": "Mem;CacheMisses", 311 "MetricName": "L2HPKI_All" 312 }, 313 { 314 "BriefDescription": "L2 cache hits per kilo instruction for all demand loads (including speculative)", 315 "MetricExpr": "1000 * L2_RQSTS.DEMAND_DATA_RD_HIT / INST_RETIRED.ANY", 316 "MetricGroup": "Mem;CacheMisses", 317 "MetricName": "L2HPKI_Load" 318 }, 319 { 320 "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads", 321 "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L3_MISS / INST_RETIRED.ANY", 322 "MetricGroup": "Mem;CacheMisses", 323 "MetricName": "L3MPKI" 324 }, 325 { 326 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 327 "MetricConstraint": "NO_NMI_WATCHDOG", 328 "MetricExpr": "( ITLB_MISSES.WALK_DURATION + DTLB_LOAD_MISSES.WALK_DURATION + DTLB_STORE_MISSES.WALK_DURATION + 7 * ( DTLB_STORE_MISSES.WALK_COMPLETED + DTLB_LOAD_MISSES.WALK_COMPLETED + ITLB_MISSES.WALK_COMPLETED ) ) / ( 2 * CPU_CLK_UNHALTED.THREAD )", 329 "MetricGroup": "Mem;MemoryTLB", 330 "MetricName": "Page_Walks_Utilization" 331 }, 332 { 333 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 334 "MetricExpr": "( ITLB_MISSES.WALK_DURATION + DTLB_LOAD_MISSES.WALK_DURATION + DTLB_STORE_MISSES.WALK_DURATION + 7 * ( DTLB_STORE_MISSES.WALK_COMPLETED + DTLB_LOAD_MISSES.WALK_COMPLETED + ITLB_MISSES.WALK_COMPLETED ) ) / ( 2 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ) )", 335 "MetricGroup": "Mem;MemoryTLB_SMT", 336 "MetricName": "Page_Walks_Utilization_SMT" 337 }, 338 { 339 "BriefDescription": "Average per-core data fill bandwidth to the L1 data cache [GB / sec]", 340 "MetricExpr": "64 * L1D.REPLACEMENT / 1000000000 / duration_time", 341 "MetricGroup": "Mem;MemoryBW", 342 "MetricName": "L1D_Cache_Fill_BW" 343 }, 344 { 345 "BriefDescription": "Average per-core data fill bandwidth to the L2 cache [GB / sec]", 346 "MetricExpr": "64 * L2_LINES_IN.ALL / 1000000000 / duration_time", 347 "MetricGroup": "Mem;MemoryBW", 348 "MetricName": "L2_Cache_Fill_BW" 349 }, 350 { 351 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 352 "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1000000000 / duration_time", 353 "MetricGroup": "Mem;MemoryBW", 354 "MetricName": "L3_Cache_Fill_BW" 355 }, 356 { 357 "BriefDescription": "Average per-thread data fill bandwidth to the L1 data cache [GB / sec]", 358 "MetricExpr": "(64 * L1D.REPLACEMENT / 1000000000 / duration_time)", 359 "MetricGroup": "Mem;MemoryBW", 360 "MetricName": "L1D_Cache_Fill_BW_1T" 361 }, 362 { 363 "BriefDescription": "Average per-thread data fill bandwidth to the L2 cache [GB / sec]", 364 "MetricExpr": "(64 * L2_LINES_IN.ALL / 1000000000 / duration_time)", 365 "MetricGroup": "Mem;MemoryBW", 366 "MetricName": "L2_Cache_Fill_BW_1T" 367 }, 368 { 369 "BriefDescription": "Average per-thread data fill bandwidth to the L3 cache [GB / sec]", 370 "MetricExpr": "(64 * LONGEST_LAT_CACHE.MISS / 1000000000 / duration_time)", 371 "MetricGroup": "Mem;MemoryBW", 372 "MetricName": "L3_Cache_Fill_BW_1T" 373 }, 374 { 375 "BriefDescription": "Average per-thread data access bandwidth to the L3 cache [GB / sec]", 376 "MetricExpr": "0", 377 "MetricGroup": "Mem;MemoryBW;Offcore", 378 "MetricName": "L3_Cache_Access_BW_1T" 379 }, 380 { 381 "BriefDescription": "Average CPU Utilization", 382 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / msr@tsc@", 383 "MetricGroup": "HPC;Summary", 384 "MetricName": "CPU_Utilization" 385 }, 386 { 387 "BriefDescription": "Measured Average Frequency for unhalted processors [GHz]", 388 "MetricExpr": "(CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC) * msr@tsc@ / 1000000000 / duration_time", 389 "MetricGroup": "Summary;Power", 390 "MetricName": "Average_Frequency" 391 }, 392 { 393 "BriefDescription": "Giga Floating Point Operations Per Second", 394 "MetricExpr": "( ( 1 * ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE ) + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * ( FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE ) + 8 * FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE ) / 1000000000 ) / duration_time", 395 "MetricGroup": "Cor;Flops;HPC", 396 "MetricName": "GFLOPs", 397 "PublicDescription": "Giga Floating Point Operations Per Second. Aggregate across all supported options of: FP precisions, scalar and vector instructions, vector-width and AMX engine." 398 }, 399 { 400 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 401 "MetricExpr": "CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC", 402 "MetricGroup": "Power", 403 "MetricName": "Turbo_Utilization" 404 }, 405 { 406 "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active", 407 "MetricExpr": "1 - CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / ( CPU_CLK_UNHALTED.REF_XCLK_ANY / 2 ) if #SMT_on else 0", 408 "MetricGroup": "SMT", 409 "MetricName": "SMT_2T_Utilization" 410 }, 411 { 412 "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode", 413 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / CPU_CLK_UNHALTED.THREAD", 414 "MetricGroup": "OS", 415 "MetricName": "Kernel_Utilization" 416 }, 417 { 418 "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode", 419 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / INST_RETIRED.ANY_P:k", 420 "MetricGroup": "OS", 421 "MetricName": "Kernel_CPI" 422 }, 423 { 424 "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]", 425 "MetricExpr": "( 64 * ( uncore_imc@cas_count_read@ + uncore_imc@cas_count_write@ ) / 1000000000 ) / duration_time", 426 "MetricGroup": "HPC;Mem;MemoryBW;SoC", 427 "MetricName": "DRAM_BW_Use" 428 }, 429 { 430 "BriefDescription": "Average latency of data read request to external memory (in nanoseconds). Accounts for demand loads and L1/L2 prefetches", 431 "MetricExpr": "1000000000 * ( cbox@event\\=0x36\\,umask\\=0x3\\,filter_opc\\=0x182@ / cbox@event\\=0x35\\,umask\\=0x3\\,filter_opc\\=0x182@ ) / ( cbox_0@event\\=0x0@ / duration_time )", 432 "MetricGroup": "Mem;MemoryLat;SoC", 433 "MetricName": "MEM_Read_Latency" 434 }, 435 { 436 "BriefDescription": "Average number of parallel data read requests to external memory. Accounts for demand loads and L1/L2 prefetches", 437 "MetricExpr": "cbox@event\\=0x36\\,umask\\=0x3\\,filter_opc\\=0x182@ / cbox@event\\=0x36\\,umask\\=0x3\\,filter_opc\\=0x182\\,thresh\\=1@", 438 "MetricGroup": "Mem;MemoryBW;SoC", 439 "MetricName": "MEM_Parallel_Reads" 440 }, 441 { 442 "BriefDescription": "Socket actual clocks when any core is active on that socket", 443 "MetricExpr": "cbox_0@event\\=0x0@", 444 "MetricGroup": "SoC", 445 "MetricName": "Socket_CLKS" 446 }, 447 { 448 "BriefDescription": "Uncore frequency per die [GHZ]", 449 "MetricExpr": "cbox_0@event\\=0x0@ / #num_dies / duration_time / 1000000000", 450 "MetricGroup": "SoC", 451 "MetricName": "UNCORE_FREQ" 452 }, 453 { 454 "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]", 455 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u", 456 "MetricGroup": "Branches;OS", 457 "MetricName": "IpFarBranch" 458 }, 459 { 460 "BriefDescription": "C3 residency percent per core", 461 "MetricExpr": "(cstate_core@c3\\-residency@ / msr@tsc@) * 100", 462 "MetricGroup": "Power", 463 "MetricName": "C3_Core_Residency" 464 }, 465 { 466 "BriefDescription": "C6 residency percent per core", 467 "MetricExpr": "(cstate_core@c6\\-residency@ / msr@tsc@) * 100", 468 "MetricGroup": "Power", 469 "MetricName": "C6_Core_Residency" 470 }, 471 { 472 "BriefDescription": "C7 residency percent per core", 473 "MetricExpr": "(cstate_core@c7\\-residency@ / msr@tsc@) * 100", 474 "MetricGroup": "Power", 475 "MetricName": "C7_Core_Residency" 476 }, 477 { 478 "BriefDescription": "C2 residency percent per package", 479 "MetricExpr": "(cstate_pkg@c2\\-residency@ / msr@tsc@) * 100", 480 "MetricGroup": "Power", 481 "MetricName": "C2_Pkg_Residency" 482 }, 483 { 484 "BriefDescription": "C3 residency percent per package", 485 "MetricExpr": "(cstate_pkg@c3\\-residency@ / msr@tsc@) * 100", 486 "MetricGroup": "Power", 487 "MetricName": "C3_Pkg_Residency" 488 }, 489 { 490 "BriefDescription": "C6 residency percent per package", 491 "MetricExpr": "(cstate_pkg@c6\\-residency@ / msr@tsc@) * 100", 492 "MetricGroup": "Power", 493 "MetricName": "C6_Pkg_Residency" 494 }, 495 { 496 "BriefDescription": "C7 residency percent per package", 497 "MetricExpr": "(cstate_pkg@c7\\-residency@ / msr@tsc@) * 100", 498 "MetricGroup": "Power", 499 "MetricName": "C7_Pkg_Residency" 500 }, 501 { 502 "BriefDescription": "CPU operating frequency (in GHz)", 503 "MetricExpr": "( CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC * #SYSTEM_TSC_FREQ ) / 1000000000", 504 "MetricGroup": "", 505 "MetricName": "cpu_operating_frequency", 506 "ScaleUnit": "1GHz" 507 }, 508 { 509 "BriefDescription": "Cycles per instruction retired; indicating how much time each executed instruction took; in units of cycles.", 510 "MetricExpr": "CPU_CLK_UNHALTED.THREAD / INST_RETIRED.ANY", 511 "MetricGroup": "", 512 "MetricName": "cpi", 513 "ScaleUnit": "1per_instr" 514 }, 515 { 516 "BriefDescription": "The ratio of number of completed memory load instructions to the total number completed instructions", 517 "MetricExpr": "MEM_UOPS_RETIRED.ALL_LOADS / INST_RETIRED.ANY", 518 "MetricGroup": "", 519 "MetricName": "loads_per_instr", 520 "ScaleUnit": "1per_instr" 521 }, 522 { 523 "BriefDescription": "The ratio of number of completed memory store instructions to the total number completed instructions", 524 "MetricExpr": "MEM_UOPS_RETIRED.ALL_STORES / INST_RETIRED.ANY", 525 "MetricGroup": "", 526 "MetricName": "stores_per_instr", 527 "ScaleUnit": "1per_instr" 528 }, 529 { 530 "BriefDescription": "Ratio of number of requests missing L1 data cache (includes data+rfo w/ prefetches) to the total number of completed instructions", 531 "MetricExpr": "L1D.REPLACEMENT / INST_RETIRED.ANY", 532 "MetricGroup": "", 533 "MetricName": "l1d_mpi_includes_data_plus_rfo_with_prefetches", 534 "ScaleUnit": "1per_instr" 535 }, 536 { 537 "BriefDescription": "Ratio of number of demand load requests hitting in L1 data cache to the total number of completed instructions", 538 "MetricExpr": "MEM_LOAD_UOPS_RETIRED.L1_HIT / INST_RETIRED.ANY", 539 "MetricGroup": "", 540 "MetricName": "l1d_demand_data_read_hits_per_instr", 541 "ScaleUnit": "1per_instr" 542 }, 543 { 544 "BriefDescription": "Ratio of number of code read requests missing in L1 instruction cache (includes prefetches) to the total number of completed instructions", 545 "MetricExpr": "L2_RQSTS.ALL_CODE_RD / INST_RETIRED.ANY", 546 "MetricGroup": "", 547 "MetricName": "l1_i_code_read_misses_with_prefetches_per_instr", 548 "ScaleUnit": "1per_instr" 549 }, 550 { 551 "BriefDescription": "Ratio of number of completed demand load requests hitting in L2 cache to the total number of completed instructions", 552 "MetricExpr": "MEM_LOAD_UOPS_RETIRED.L2_HIT / INST_RETIRED.ANY", 553 "MetricGroup": "", 554 "MetricName": "l2_demand_data_read_hits_per_instr", 555 "ScaleUnit": "1per_instr" 556 }, 557 { 558 "BriefDescription": "Ratio of number of requests missing L2 cache (includes code+data+rfo w/ prefetches) to the total number of completed instructions", 559 "MetricExpr": "L2_LINES_IN.ALL / INST_RETIRED.ANY", 560 "MetricGroup": "", 561 "MetricName": "l2_mpi_includes_code_plus_data_plus_rfo_with_prefetches", 562 "ScaleUnit": "1per_instr" 563 }, 564 { 565 "BriefDescription": "Ratio of number of completed data read request missing L2 cache to the total number of completed instructions", 566 "MetricExpr": "MEM_LOAD_UOPS_RETIRED.L2_MISS / INST_RETIRED.ANY", 567 "MetricGroup": "", 568 "MetricName": "l2_demand_data_read_mpi", 569 "ScaleUnit": "1per_instr" 570 }, 571 { 572 "BriefDescription": "Ratio of number of code read request missing L2 cache to the total number of completed instructions", 573 "MetricExpr": "L2_RQSTS.CODE_RD_MISS / INST_RETIRED.ANY", 574 "MetricGroup": "", 575 "MetricName": "l2_demand_code_mpi", 576 "ScaleUnit": "1per_instr" 577 }, 578 { 579 "BriefDescription": "Ratio of number of data read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions", 580 "MetricExpr": "( cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ + cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x192@ ) / INST_RETIRED.ANY", 581 "MetricGroup": "", 582 "MetricName": "llc_data_read_mpi_demand_plus_prefetch", 583 "ScaleUnit": "1per_instr" 584 }, 585 { 586 "BriefDescription": "Ratio of number of code read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions", 587 "MetricExpr": "( cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x181@ + cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x191@ ) / INST_RETIRED.ANY", 588 "MetricGroup": "", 589 "MetricName": "llc_code_read_mpi_demand_plus_prefetch", 590 "ScaleUnit": "1per_instr" 591 }, 592 { 593 "BriefDescription": "Average latency of a last level cache (LLC) demand and prefetch data read miss (read memory access) in nano seconds", 594 "MetricExpr": "( 1000000000 * ( cbox@UNC_C_TOR_OCCUPANCY.MISS_OPCODE\\,filter_opc\\=0x182@ / cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ ) / ( UNC_C_CLOCKTICKS / ( source_count(UNC_C_CLOCKTICKS) * #num_packages ) ) ) * duration_time", 595 "MetricGroup": "", 596 "MetricName": "llc_data_read_demand_plus_prefetch_miss_latency", 597 "ScaleUnit": "1ns" 598 }, 599 { 600 "BriefDescription": "Average latency of a last level cache (LLC) demand and prefetch data read miss (read memory access) addressed to local memory in nano seconds", 601 "MetricExpr": "( 1000000000 * ( cbox@UNC_C_TOR_OCCUPANCY.MISS_LOCAL_OPCODE\\,filter_opc\\=0x182@ / cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ ) / ( UNC_C_CLOCKTICKS / ( source_count(UNC_C_CLOCKTICKS) * #num_packages ) ) ) * duration_time", 602 "MetricGroup": "", 603 "MetricName": "llc_data_read_demand_plus_prefetch_miss_latency_for_local_requests", 604 "ScaleUnit": "1ns" 605 }, 606 { 607 "BriefDescription": "Average latency of a last level cache (LLC) demand and prefetch data read miss (read memory access) addressed to remote memory in nano seconds", 608 "MetricExpr": "( 1000000000 * ( cbox@UNC_C_TOR_OCCUPANCY.MISS_REMOTE_OPCODE\\,filter_opc\\=0x182@ / cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ ) / ( UNC_C_CLOCKTICKS / ( source_count(UNC_C_CLOCKTICKS) * #num_packages ) ) ) * duration_time", 609 "MetricGroup": "", 610 "MetricName": "llc_data_read_demand_plus_prefetch_miss_latency_for_remote_requests", 611 "ScaleUnit": "1ns" 612 }, 613 { 614 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by a code fetch to the total number of completed instructions. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB.", 615 "MetricExpr": "ITLB_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 616 "MetricGroup": "", 617 "MetricName": "itlb_mpi", 618 "ScaleUnit": "1per_instr" 619 }, 620 { 621 "BriefDescription": "Ratio of number of completed page walks (for 2 megabyte and 4 megabyte page sizes) caused by a code fetch to the total number of completed instructions. This implies it missed in the Instruction Translation Lookaside Buffer (ITLB) and further levels of TLB.", 622 "MetricExpr": "ITLB_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY", 623 "MetricGroup": "", 624 "MetricName": "itlb_large_page_mpi", 625 "ScaleUnit": "1per_instr" 626 }, 627 { 628 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data loads to the total number of completed instructions. This implies it missed in the DTLB and further levels of TLB.", 629 "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 630 "MetricGroup": "", 631 "MetricName": "dtlb_load_mpi", 632 "ScaleUnit": "1per_instr" 633 }, 634 { 635 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data stores to the total number of completed instructions. This implies it missed in the DTLB and further levels of TLB.", 636 "MetricExpr": "DTLB_STORE_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 637 "MetricGroup": "", 638 "MetricName": "dtlb_store_mpi", 639 "ScaleUnit": "1per_instr" 640 }, 641 { 642 "BriefDescription": "Memory read that miss the last level cache (LLC) addressed to local DRAM as a percentage of total memory read accesses, does not include LLC prefetches.", 643 "MetricExpr": "100 * cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ / ( cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ + cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ )", 644 "MetricGroup": "", 645 "MetricName": "numa_percent_reads_addressed_to_local_dram", 646 "ScaleUnit": "1%" 647 }, 648 { 649 "BriefDescription": "Memory reads that miss the last level cache (LLC) addressed to remote DRAM as a percentage of total memory read accesses, does not include LLC prefetches.", 650 "MetricExpr": "100 * cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ / ( cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ + cbox@UNC_C_TOR_INSERTS.MISS_OPCODE\\,filter_opc\\=0x182@ )", 651 "MetricGroup": "", 652 "MetricName": "numa_percent_reads_addressed_to_remote_dram", 653 "ScaleUnit": "1%" 654 }, 655 { 656 "BriefDescription": "Uncore operating frequency in GHz", 657 "MetricExpr": "UNC_C_CLOCKTICKS / ( source_count(UNC_C_CLOCKTICKS) * #num_packages ) / 1000000000", 658 "MetricGroup": "", 659 "MetricName": "uncore_frequency", 660 "ScaleUnit": "1GHz" 661 }, 662 { 663 "BriefDescription": "Intel(R) Quick Path Interconnect (QPI) data transmit bandwidth (MB/sec)", 664 "MetricExpr": "( UNC_Q_TxL_FLITS_G0.DATA * 8 / 1000000) / duration_time", 665 "MetricGroup": "", 666 "MetricName": "qpi_data_transmit_bw_only_data", 667 "ScaleUnit": "1MB/s" 668 }, 669 { 670 "BriefDescription": "DDR memory read bandwidth (MB/sec)", 671 "MetricExpr": "( UNC_M_CAS_COUNT.RD * 64 / 1000000) / duration_time", 672 "MetricGroup": "", 673 "MetricName": "memory_bandwidth_read", 674 "ScaleUnit": "1MB/s" 675 }, 676 { 677 "BriefDescription": "DDR memory write bandwidth (MB/sec)", 678 "MetricExpr": "( UNC_M_CAS_COUNT.WR * 64 / 1000000) / duration_time", 679 "MetricGroup": "", 680 "MetricName": "memory_bandwidth_write", 681 "ScaleUnit": "1MB/s" 682 }, 683 { 684 "BriefDescription": "DDR memory bandwidth (MB/sec)", 685 "MetricExpr": "(( UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR ) * 64 / 1000000) / duration_time", 686 "MetricGroup": "", 687 "MetricName": "memory_bandwidth_total", 688 "ScaleUnit": "1MB/s" 689 }, 690 { 691 "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from the CPU.", 692 "MetricExpr": "( cbox@UNC_C_TOR_INSERTS.OPCODE\\,filter_opc\\=0x19e@ * 64 / 1000000) / duration_time", 693 "MetricGroup": "", 694 "MetricName": "io_bandwidth_read", 695 "ScaleUnit": "1MB/s" 696 }, 697 { 698 "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to the CPU.", 699 "MetricExpr": "(( cbox@UNC_C_TOR_INSERTS.OPCODE\\,filter_opc\\=0x1c8\\,filter_tid\\=0x3e@ + cbox@UNC_C_TOR_INSERTS.OPCODE\\,filter_opc\\=0x180\\,filter_tid\\=0x3e@ ) * 64 / 1000000) / duration_time", 700 "MetricGroup": "", 701 "MetricName": "io_bandwidth_write", 702 "ScaleUnit": "1MB/s" 703 }, 704 { 705 "BriefDescription": "Uops delivered from decoded instruction cache (decoded stream buffer or DSB) as a percent of total uops delivered to Instruction Decode Queue", 706 "MetricExpr": "100 * ( IDQ.DSB_UOPS / UOPS_ISSUED.ANY )", 707 "MetricGroup": "", 708 "MetricName": "percent_uops_delivered_from_decoded_icache_dsb", 709 "ScaleUnit": "1%" 710 }, 711 { 712 "BriefDescription": "Uops delivered from legacy decode pipeline (Micro-instruction Translation Engine or MITE) as a percent of total uops delivered to Instruction Decode Queue", 713 "MetricExpr": "100 * ( IDQ.MITE_UOPS / UOPS_ISSUED.ANY )", 714 "MetricGroup": "", 715 "MetricName": "percent_uops_delivered_from_legacy_decode_pipeline_mite", 716 "ScaleUnit": "1%" 717 }, 718 { 719 "BriefDescription": "Uops delivered from microcode sequencer (MS) as a percent of total uops delivered to Instruction Decode Queue", 720 "MetricExpr": "100 * ( IDQ.MS_UOPS / UOPS_ISSUED.ANY )", 721 "MetricGroup": "", 722 "MetricName": "percent_uops_delivered_from_microcode_sequencer_ms", 723 "ScaleUnit": "1%" 724 }, 725 { 726 "BriefDescription": "Uops delivered from loop stream detector(LSD) as a percent of total uops delivered to Instruction Decode Queue", 727 "MetricExpr": "100 * ( LSD.UOPS / UOPS_ISSUED.ANY )", 728 "MetricGroup": "", 729 "MetricName": "percent_uops_delivered_from_loop_stream_detector_lsd", 730 "ScaleUnit": "1%" 731 }, 732 { 733 "BriefDescription": "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 Machine_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.", 734 "MetricExpr": "100 * ( IDQ_UOPS_NOT_DELIVERED.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) )", 735 "MetricGroup": "TmaL1;PGO", 736 "MetricName": "tma_frontend_bound_percent", 737 "ScaleUnit": "1%" 738 }, 739 { 740 "BriefDescription": "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.", 741 "MetricExpr": "100 * ( ( 4 ) * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) )", 742 "MetricGroup": "Frontend;TmaL2;m_tma_frontend_bound_percent", 743 "MetricName": "tma_fetch_latency_percent", 744 "ScaleUnit": "1%" 745 }, 746 { 747 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to instruction cache misses.", 748 "MetricExpr": "100 * ( ICACHE.IFDATA_STALL / ( CPU_CLK_UNHALTED.THREAD ) )", 749 "MetricGroup": "BigFoot;FetchLat;IcMiss;TmaL3;m_tma_fetch_latency_percent", 750 "MetricName": "tma_icache_misses_percent", 751 "ScaleUnit": "1%" 752 }, 753 { 754 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses.", 755 "MetricExpr": "100 * ( ( 14 * ITLB_MISSES.STLB_HIT + cpu@ITLB_MISSES.WALK_DURATION\\,cmask\\=0x1@ + 7 * ITLB_MISSES.WALK_COMPLETED ) / ( CPU_CLK_UNHALTED.THREAD ) )", 756 "MetricGroup": "BigFoot;FetchLat;MemoryTLB;TmaL3;m_tma_fetch_latency_percent", 757 "MetricName": "tma_itlb_misses_percent", 758 "ScaleUnit": "1%" 759 }, 760 { 761 "BriefDescription": "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.", 762 "MetricExpr": "100 * ( ( 12 ) * ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT + BACLEARS.ANY ) / ( CPU_CLK_UNHALTED.THREAD ) )", 763 "MetricGroup": "FetchLat;TmaL3;m_tma_fetch_latency_percent", 764 "MetricName": "tma_branch_resteers_percent", 765 "ScaleUnit": "1%" 766 }, 767 { 768 "BriefDescription": "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.", 769 "MetricExpr": "100 * ( DSB2MITE_SWITCHES.PENALTY_CYCLES / ( CPU_CLK_UNHALTED.THREAD ) )", 770 "MetricGroup": "DSBmiss;FetchLat;TmaL3;m_tma_fetch_latency_percent", 771 "MetricName": "tma_dsb_switches_percent", 772 "ScaleUnit": "1%" 773 }, 774 { 775 "BriefDescription": "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.", 776 "MetricExpr": "100 * ( ILD_STALL.LCP / ( CPU_CLK_UNHALTED.THREAD ) )", 777 "MetricGroup": "FetchLat;TmaL3;m_tma_fetch_latency_percent", 778 "MetricName": "tma_lcp_percent", 779 "ScaleUnit": "1%" 780 }, 781 { 782 "BriefDescription": "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.", 783 "MetricExpr": "100 * ( ( 2 ) * IDQ.MS_SWITCHES / ( CPU_CLK_UNHALTED.THREAD ) )", 784 "MetricGroup": "FetchLat;MicroSeq;TmaL3;m_tma_fetch_latency_percent", 785 "MetricName": "tma_ms_switches_percent", 786 "ScaleUnit": "1%" 787 }, 788 { 789 "BriefDescription": "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.", 790 "MetricExpr": "100 * ( ( IDQ_UOPS_NOT_DELIVERED.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) - ( ( 4 ) * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) )", 791 "MetricGroup": "FetchBW;Frontend;TmaL2;m_tma_frontend_bound_percent", 792 "MetricName": "tma_fetch_bandwidth_percent", 793 "ScaleUnit": "1%" 794 }, 795 { 796 "BriefDescription": "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.", 797 "MetricExpr": "100 * ( ( IDQ.ALL_MITE_CYCLES_ANY_UOPS - IDQ.ALL_MITE_CYCLES_4_UOPS ) / ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) / 2 )", 798 "MetricGroup": "DSBmiss;FetchBW;TmaL3;m_tma_fetch_bandwidth_percent", 799 "MetricName": "tma_mite_percent", 800 "ScaleUnit": "1%" 801 }, 802 { 803 "BriefDescription": "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.", 804 "MetricExpr": "100 * ( ( IDQ.ALL_DSB_CYCLES_ANY_UOPS - IDQ.ALL_DSB_CYCLES_4_UOPS ) / ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) / 2 )", 805 "MetricGroup": "DSB;FetchBW;TmaL3;m_tma_fetch_bandwidth_percent", 806 "MetricName": "tma_dsb_percent", 807 "ScaleUnit": "1%" 808 }, 809 { 810 "BriefDescription": "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.", 811 "MetricExpr": "100 * ( ( UOPS_ISSUED.ANY - ( UOPS_RETIRED.RETIRE_SLOTS ) + ( 4 ) * ( ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) if #SMT_on else INT_MISC.RECOVERY_CYCLES ) ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) )", 812 "MetricGroup": "TmaL1", 813 "MetricName": "tma_bad_speculation_percent", 814 "ScaleUnit": "1%" 815 }, 816 { 817 "BriefDescription": "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.", 818 "MetricExpr": "100 * ( ( BR_MISP_RETIRED.ALL_BRANCHES / ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT ) ) * ( ( UOPS_ISSUED.ANY - ( UOPS_RETIRED.RETIRE_SLOTS ) + ( 4 ) * ( ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) if #SMT_on else INT_MISC.RECOVERY_CYCLES ) ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) )", 819 "MetricGroup": "BadSpec;BrMispredicts;TmaL2;m_tma_bad_speculation_percent", 820 "MetricName": "tma_branch_mispredicts_percent", 821 "ScaleUnit": "1%" 822 }, 823 { 824 "BriefDescription": "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.", 825 "MetricExpr": "100 * ( ( ( UOPS_ISSUED.ANY - ( UOPS_RETIRED.RETIRE_SLOTS ) + ( 4 ) * ( ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) if #SMT_on else INT_MISC.RECOVERY_CYCLES ) ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) - ( ( BR_MISP_RETIRED.ALL_BRANCHES / ( BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT ) ) * ( ( UOPS_ISSUED.ANY - ( UOPS_RETIRED.RETIRE_SLOTS ) + ( 4 ) * ( ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) if #SMT_on else INT_MISC.RECOVERY_CYCLES ) ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) ) )", 826 "MetricGroup": "BadSpec;MachineClears;TmaL2;m_tma_bad_speculation_percent", 827 "MetricName": "tma_machine_clears_percent", 828 "ScaleUnit": "1%" 829 }, 830 { 831 "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. 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.", 832 "MetricExpr": "100 * ( 1 - ( ( IDQ_UOPS_NOT_DELIVERED.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) + ( ( UOPS_ISSUED.ANY - ( UOPS_RETIRED.RETIRE_SLOTS ) + ( 4 ) * ( ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) if #SMT_on else INT_MISC.RECOVERY_CYCLES ) ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) + ( ( UOPS_RETIRED.RETIRE_SLOTS ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) ) )", 833 "MetricGroup": "TmaL1", 834 "MetricName": "tma_backend_bound_percent", 835 "ScaleUnit": "1%" 836 }, 837 { 838 "BriefDescription": "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).", 839 "MetricExpr": "100 * ( ( ( CYCLE_ACTIVITY.STALLS_MEM_ANY + RESOURCE_STALLS.SB ) / ( ( CYCLE_ACTIVITY.STALLS_TOTAL + UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC - ( UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC if ( ( INST_RETIRED.ANY / ( CPU_CLK_UNHALTED.THREAD ) ) > 1.8 ) else UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC ) - ( RS_EVENTS.EMPTY_CYCLES if ( ( ( 4 ) * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) > 0.1 ) else 0 ) + RESOURCE_STALLS.SB ) ) ) * ( 1 - ( ( IDQ_UOPS_NOT_DELIVERED.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) + ( ( UOPS_ISSUED.ANY - ( UOPS_RETIRED.RETIRE_SLOTS ) + ( 4 ) * ( ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) if #SMT_on else INT_MISC.RECOVERY_CYCLES ) ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) + ( ( UOPS_RETIRED.RETIRE_SLOTS ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) ) ) )", 840 "MetricGroup": "Backend;TmaL2;m_tma_backend_bound_percent", 841 "MetricName": "tma_memory_bound_percent", 842 "ScaleUnit": "1%" 843 }, 844 { 845 "BriefDescription": "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.", 846 "MetricExpr": "100 * ( max( ( CYCLE_ACTIVITY.STALLS_MEM_ANY - CYCLE_ACTIVITY.STALLS_L1D_MISS ) / ( CPU_CLK_UNHALTED.THREAD ) , 0 ) )", 847 "MetricGroup": "CacheMisses;MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent", 848 "MetricName": "tma_l1_bound_percent", 849 "ScaleUnit": "1%" 850 }, 851 { 852 "BriefDescription": "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.", 853 "MetricExpr": "100 * ( ( CYCLE_ACTIVITY.STALLS_L1D_MISS - CYCLE_ACTIVITY.STALLS_L2_MISS ) / ( CPU_CLK_UNHALTED.THREAD ) )", 854 "MetricGroup": "CacheMisses;MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent", 855 "MetricName": "tma_l2_bound_percent", 856 "ScaleUnit": "1%" 857 }, 858 { 859 "BriefDescription": "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.", 860 "MetricExpr": "100 * ( ( MEM_LOAD_UOPS_RETIRED.L3_HIT / ( MEM_LOAD_UOPS_RETIRED.L3_HIT + ( 7 ) * MEM_LOAD_UOPS_RETIRED.L3_MISS ) ) * CYCLE_ACTIVITY.STALLS_L2_MISS / ( CPU_CLK_UNHALTED.THREAD ) )", 861 "MetricGroup": "CacheMisses;MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent", 862 "MetricName": "tma_l3_bound_percent", 863 "ScaleUnit": "1%" 864 }, 865 { 866 "BriefDescription": "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.", 867 "MetricExpr": "100 * ( min( ( ( 1 - ( MEM_LOAD_UOPS_RETIRED.L3_HIT / ( MEM_LOAD_UOPS_RETIRED.L3_HIT + ( 7 ) * MEM_LOAD_UOPS_RETIRED.L3_MISS ) ) ) * CYCLE_ACTIVITY.STALLS_L2_MISS / ( CPU_CLK_UNHALTED.THREAD ) ) , ( 1 ) ) )", 868 "MetricGroup": "MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent", 869 "MetricName": "tma_dram_bound_percent", 870 "ScaleUnit": "1%" 871 }, 872 { 873 "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. 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.", 874 "MetricExpr": "100 * ( RESOURCE_STALLS.SB / ( CPU_CLK_UNHALTED.THREAD ) )", 875 "MetricGroup": "MemoryBound;TmaL3mem;TmaL3;m_tma_memory_bound_percent", 876 "MetricName": "tma_store_bound_percent", 877 "ScaleUnit": "1%" 878 }, 879 { 880 "BriefDescription": "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).", 881 "MetricExpr": "100 * ( ( 1 - ( ( IDQ_UOPS_NOT_DELIVERED.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) + ( ( UOPS_ISSUED.ANY - ( UOPS_RETIRED.RETIRE_SLOTS ) + ( 4 ) * ( ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) if #SMT_on else INT_MISC.RECOVERY_CYCLES ) ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) + ( ( UOPS_RETIRED.RETIRE_SLOTS ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) ) ) - ( ( ( CYCLE_ACTIVITY.STALLS_MEM_ANY + RESOURCE_STALLS.SB ) / ( ( CYCLE_ACTIVITY.STALLS_TOTAL + UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC - ( UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC if ( ( INST_RETIRED.ANY / ( CPU_CLK_UNHALTED.THREAD ) ) > 1.8 ) else UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC ) - ( RS_EVENTS.EMPTY_CYCLES if ( ( ( 4 ) * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) > 0.1 ) else 0 ) + RESOURCE_STALLS.SB ) ) ) * ( 1 - ( ( IDQ_UOPS_NOT_DELIVERED.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) + ( ( UOPS_ISSUED.ANY - ( UOPS_RETIRED.RETIRE_SLOTS ) + ( 4 ) * ( ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) if #SMT_on else INT_MISC.RECOVERY_CYCLES ) ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) + ( ( UOPS_RETIRED.RETIRE_SLOTS ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) ) ) ) )", 882 "MetricGroup": "Backend;TmaL2;Compute;m_tma_backend_bound_percent", 883 "MetricName": "tma_core_bound_percent", 884 "ScaleUnit": "1%" 885 }, 886 { 887 "BriefDescription": "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.", 888 "MetricExpr": "100 * ( ARITH.FPU_DIV_ACTIVE / ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) )", 889 "MetricGroup": "TmaL3;m_tma_core_bound_percent", 890 "MetricName": "tma_divider_percent", 891 "ScaleUnit": "1%" 892 }, 893 { 894 "BriefDescription": "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.", 895 "MetricExpr": "100 * ( ( ( ( CYCLE_ACTIVITY.STALLS_TOTAL + UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC - ( UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC if ( ( INST_RETIRED.ANY / ( CPU_CLK_UNHALTED.THREAD ) ) > 1.8 ) else UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC ) - ( RS_EVENTS.EMPTY_CYCLES if ( ( ( 4 ) * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) > 0.1 ) else 0 ) + RESOURCE_STALLS.SB ) ) - RESOURCE_STALLS.SB - CYCLE_ACTIVITY.STALLS_MEM_ANY ) / ( CPU_CLK_UNHALTED.THREAD ) )", 896 "MetricGroup": "PortsUtil;TmaL3;m_tma_core_bound_percent", 897 "MetricName": "tma_ports_utilization_percent", 898 "ScaleUnit": "1%" 899 }, 900 { 901 "BriefDescription": "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. ", 902 "MetricExpr": "100 * ( ( UOPS_RETIRED.RETIRE_SLOTS ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) )", 903 "MetricGroup": "TmaL1", 904 "MetricName": "tma_retiring_percent", 905 "ScaleUnit": "1%" 906 }, 907 { 908 "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). This correlates with total number of instructions used by the program. A uops-per-instruction (see UPI metric) ratio of 1 or less should be expected for decently optimized software 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.", 909 "MetricExpr": "100 * ( ( ( UOPS_RETIRED.RETIRE_SLOTS ) / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) - ( ( ( ( UOPS_RETIRED.RETIRE_SLOTS ) / UOPS_ISSUED.ANY ) * IDQ.MS_UOPS / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) ) )", 910 "MetricGroup": "Retire;TmaL2;m_tma_retiring_percent", 911 "MetricName": "tma_light_operations_percent", 912 "ScaleUnit": "1%" 913 }, 914 { 915 "BriefDescription": "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.", 916 "MetricExpr": "100 * ( ( INST_RETIRED.X87 * ( ( UOPS_RETIRED.RETIRE_SLOTS ) / INST_RETIRED.ANY ) / ( UOPS_RETIRED.RETIRE_SLOTS ) ) + ( ( FP_ARITH_INST_RETIRED.SCALAR_SINGLE + FP_ARITH_INST_RETIRED.SCALAR_DOUBLE ) / ( UOPS_RETIRED.RETIRE_SLOTS ) ) + ( min( ( ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE ) / ( UOPS_RETIRED.RETIRE_SLOTS ) ) , ( 1 ) ) ) )", 917 "MetricGroup": "HPC;TmaL3;m_tma_light_operations_percent", 918 "MetricName": "tma_fp_arith_percent", 919 "ScaleUnit": "1%" 920 }, 921 { 922 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring heavy-weight operations -- instructions that require two or more uops or microcoded sequences. This highly-correlates with the uop length of these instructions/sequences.", 923 "MetricExpr": "100 * ( ( ( ( UOPS_RETIRED.RETIRE_SLOTS ) / UOPS_ISSUED.ANY ) * IDQ.MS_UOPS / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) ) )", 924 "MetricGroup": "Retire;TmaL2;m_tma_retiring_percent", 925 "MetricName": "tma_heavy_operations_percent", 926 "ScaleUnit": "1%" 927 }, 928 { 929 "BriefDescription": "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.", 930 "MetricExpr": "100 * ( ( ( UOPS_RETIRED.RETIRE_SLOTS ) / UOPS_ISSUED.ANY ) * IDQ.MS_UOPS / ( ( 4 ) * ( ( CPU_CLK_UNHALTED.THREAD_ANY / 2 ) if #SMT_on else ( CPU_CLK_UNHALTED.THREAD ) ) ) )", 931 "MetricGroup": "MicroSeq;TmaL3;m_tma_heavy_operations_percent", 932 "MetricName": "tma_microcode_sequencer_percent", 933 "ScaleUnit": "1%" 934 } 935] 936