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": "Cycles Per Instruction (per Logical Processor)", 79 "MetricExpr": "1 / (INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD)", 80 "MetricGroup": "Pipeline;Mem", 81 "MetricName": "CPI" 82 }, 83 { 84 "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.", 85 "MetricExpr": "CPU_CLK_UNHALTED.THREAD", 86 "MetricGroup": "Pipeline", 87 "MetricName": "CLKS" 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", 92 "MetricGroup": "TmaL1", 93 "MetricName": "SLOTS" 94 }, 95 { 96 "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)", 97 "MetricExpr": "4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 98 "MetricGroup": "TmaL1_SMT", 99 "MetricName": "SLOTS_SMT" 100 }, 101 { 102 "BriefDescription": "The ratio of Executed- by Issued-Uops", 103 "MetricExpr": "UOPS_EXECUTED.THREAD / UOPS_ISSUED.ANY", 104 "MetricGroup": "Cor;Pipeline", 105 "MetricName": "Execute_per_Issue", 106 "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." 107 }, 108 { 109 "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)", 110 "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD", 111 "MetricGroup": "Ret;SMT;TmaL1", 112 "MetricName": "CoreIPC" 113 }, 114 { 115 "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)", 116 "MetricExpr": "INST_RETIRED.ANY / ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 117 "MetricGroup": "Ret;SMT;TmaL1_SMT", 118 "MetricName": "CoreIPC_SMT" 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", 123 "MetricGroup": "Ret;Flops", 124 "MetricName": "FLOPc" 125 }, 126 { 127 "BriefDescription": "Floating Point Operations Per Cycle", 128 "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 ) )", 129 "MetricGroup": "Ret;Flops_SMT", 130 "MetricName": "FLOPc_SMT" 131 }, 132 { 133 "BriefDescription": "Actual per-core usage of the Floating Point execution units (regardless of the vector width)", 134 "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 )", 135 "MetricGroup": "Cor;Flops;HPC", 136 "MetricName": "FP_Arith_Utilization", 137 "PublicDescription": "Actual per-core usage of the Floating Point execution units (regardless of the vector width). Values > 1 are possible due to Fused-Multiply Add (FMA) counting." 138 }, 139 { 140 "BriefDescription": "Actual per-core usage of the Floating Point execution units (regardless of the vector width). SMT version; use when SMT is enabled and measuring per logical CPU.", 141 "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 ) ) )", 142 "MetricGroup": "Cor;Flops;HPC_SMT", 143 "MetricName": "FP_Arith_Utilization_SMT", 144 "PublicDescription": "Actual per-core usage of the Floating Point execution units (regardless of the vector width). Values > 1 are possible due to Fused-Multiply Add (FMA) counting. SMT version; use when SMT is enabled and measuring per logical CPU." 145 }, 146 { 147 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is at least 1 uop executed)", 148 "MetricExpr": "UOPS_EXECUTED.THREAD / (( cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@ / 2 ) if #SMT_on else UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC)", 149 "MetricGroup": "Backend;Cor;Pipeline;PortsUtil", 150 "MetricName": "ILP" 151 }, 152 { 153 "BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear)", 154 "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", 155 "MetricGroup": "Bad;BrMispredicts", 156 "MetricName": "Branch_Misprediction_Cost" 157 }, 158 { 159 "BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear)", 160 "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", 161 "MetricGroup": "Bad;BrMispredicts_SMT", 162 "MetricName": "Branch_Misprediction_Cost_SMT" 163 }, 164 { 165 "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear)", 166 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 167 "MetricGroup": "Bad;BadSpec;BrMispredicts", 168 "MetricName": "IpMispredict" 169 }, 170 { 171 "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core", 172 "MetricExpr": "( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 173 "MetricGroup": "SMT", 174 "MetricName": "CORE_CLKS" 175 }, 176 { 177 "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)", 178 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS", 179 "MetricGroup": "InsType", 180 "MetricName": "IpLoad" 181 }, 182 { 183 "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)", 184 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES", 185 "MetricGroup": "InsType", 186 "MetricName": "IpStore" 187 }, 188 { 189 "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)", 190 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 191 "MetricGroup": "Branches;Fed;InsType", 192 "MetricName": "IpBranch" 193 }, 194 { 195 "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)", 196 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL", 197 "MetricGroup": "Branches;Fed;PGO", 198 "MetricName": "IpCall" 199 }, 200 { 201 "BriefDescription": "Instruction per taken branch", 202 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN", 203 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO", 204 "MetricName": "IpTB" 205 }, 206 { 207 "BriefDescription": "Branch instructions per taken branch. ", 208 "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN", 209 "MetricGroup": "Branches;Fed;PGO", 210 "MetricName": "BpTkBranch" 211 }, 212 { 213 "BriefDescription": "Instructions per Floating Point (FP) Operation (lower number means higher occurrence rate)", 214 "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 )", 215 "MetricGroup": "Flops;InsType", 216 "MetricName": "IpFLOP" 217 }, 218 { 219 "BriefDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate)", 220 "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) )", 221 "MetricGroup": "Flops;InsType", 222 "MetricName": "IpArith", 223 "PublicDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate). May undercount due to FMA double counting. Approximated prior to BDW." 224 }, 225 { 226 "BriefDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate)", 227 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_SINGLE", 228 "MetricGroup": "Flops;FpScalar;InsType", 229 "MetricName": "IpArith_Scalar_SP", 230 "PublicDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate). May undercount due to FMA double counting." 231 }, 232 { 233 "BriefDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate)", 234 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_DOUBLE", 235 "MetricGroup": "Flops;FpScalar;InsType", 236 "MetricName": "IpArith_Scalar_DP", 237 "PublicDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate). May undercount due to FMA double counting." 238 }, 239 { 240 "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate)", 241 "MetricExpr": "INST_RETIRED.ANY / ( FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE )", 242 "MetricGroup": "Flops;FpVector;InsType", 243 "MetricName": "IpArith_AVX128", 244 "PublicDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate). May undercount due to FMA double counting." 245 }, 246 { 247 "BriefDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate)", 248 "MetricExpr": "INST_RETIRED.ANY / ( FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE )", 249 "MetricGroup": "Flops;FpVector;InsType", 250 "MetricName": "IpArith_AVX256", 251 "PublicDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate). May undercount due to FMA double counting." 252 }, 253 { 254 "BriefDescription": "Total number of retired Instructions, Sample with: INST_RETIRED.PREC_DIST", 255 "MetricExpr": "INST_RETIRED.ANY", 256 "MetricGroup": "Summary;TmaL1", 257 "MetricName": "Instructions" 258 }, 259 { 260 "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)", 261 "MetricExpr": "IDQ.DSB_UOPS / (( IDQ.DSB_UOPS + LSD.UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS ) )", 262 "MetricGroup": "DSB;Fed;FetchBW", 263 "MetricName": "DSB_Coverage" 264 }, 265 { 266 "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load instructions (in core cycles)", 267 "MetricExpr": "L1D_PEND_MISS.PENDING / ( MEM_LOAD_UOPS_RETIRED.L1_MISS + mem_load_uops_retired.hit_lfb )", 268 "MetricGroup": "Mem;MemoryBound;MemoryLat", 269 "MetricName": "Load_Miss_Real_Latency", 270 "PublicDescription": "Actual Average Latency for L1 data-cache miss demand load instructions (in core cycles). Latency may be overestimated for multi-load instructions - e.g. repeat strings." 271 }, 272 { 273 "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)", 274 "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES", 275 "MetricGroup": "Mem;MemoryBound;MemoryBW", 276 "MetricName": "MLP" 277 }, 278 { 279 "BriefDescription": "Average data fill bandwidth to the L1 data cache [GB / sec]", 280 "MetricExpr": "64 * L1D.REPLACEMENT / 1000000000 / duration_time", 281 "MetricGroup": "Mem;MemoryBW", 282 "MetricName": "L1D_Cache_Fill_BW" 283 }, 284 { 285 "BriefDescription": "Average data fill bandwidth to the L2 cache [GB / sec]", 286 "MetricExpr": "64 * L2_LINES_IN.ALL / 1000000000 / duration_time", 287 "MetricGroup": "Mem;MemoryBW", 288 "MetricName": "L2_Cache_Fill_BW" 289 }, 290 { 291 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 292 "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1000000000 / duration_time", 293 "MetricGroup": "Mem;MemoryBW", 294 "MetricName": "L3_Cache_Fill_BW" 295 }, 296 { 297 "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads", 298 "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L1_MISS / INST_RETIRED.ANY", 299 "MetricGroup": "Mem;CacheMisses", 300 "MetricName": "L1MPKI" 301 }, 302 { 303 "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads", 304 "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L2_MISS / INST_RETIRED.ANY", 305 "MetricGroup": "Mem;Backend;CacheMisses", 306 "MetricName": "L2MPKI" 307 }, 308 { 309 "BriefDescription": "L2 cache misses per kilo instruction for all request types (including speculative)", 310 "MetricExpr": "1000 * L2_RQSTS.MISS / INST_RETIRED.ANY", 311 "MetricGroup": "Mem;CacheMisses;Offcore", 312 "MetricName": "L2MPKI_All" 313 }, 314 { 315 "BriefDescription": "L2 cache misses per kilo instruction for all demand loads (including speculative)", 316 "MetricExpr": "1000 * L2_RQSTS.DEMAND_DATA_RD_MISS / INST_RETIRED.ANY", 317 "MetricGroup": "Mem;CacheMisses", 318 "MetricName": "L2MPKI_Load" 319 }, 320 { 321 "BriefDescription": "L2 cache hits per kilo instruction for all request types (including speculative)", 322 "MetricExpr": "1000 * ( L2_RQSTS.REFERENCES - L2_RQSTS.MISS ) / INST_RETIRED.ANY", 323 "MetricGroup": "Mem;CacheMisses", 324 "MetricName": "L2HPKI_All" 325 }, 326 { 327 "BriefDescription": "L2 cache hits per kilo instruction for all demand loads (including speculative)", 328 "MetricExpr": "1000 * L2_RQSTS.DEMAND_DATA_RD_HIT / INST_RETIRED.ANY", 329 "MetricGroup": "Mem;CacheMisses", 330 "MetricName": "L2HPKI_Load" 331 }, 332 { 333 "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads", 334 "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L3_MISS / INST_RETIRED.ANY", 335 "MetricGroup": "Mem;CacheMisses", 336 "MetricName": "L3MPKI" 337 }, 338 { 339 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 340 "MetricConstraint": "NO_NMI_WATCHDOG", 341 "MetricExpr": "( cpu@ITLB_MISSES.WALK_DURATION\\,cmask\\=1@ + cpu@DTLB_LOAD_MISSES.WALK_DURATION\\,cmask\\=1@ + cpu@DTLB_STORE_MISSES.WALK_DURATION\\,cmask\\=1@ + 7 * ( DTLB_STORE_MISSES.WALK_COMPLETED + DTLB_LOAD_MISSES.WALK_COMPLETED + ITLB_MISSES.WALK_COMPLETED ) ) / CPU_CLK_UNHALTED.THREAD", 342 "MetricGroup": "Mem;MemoryTLB", 343 "MetricName": "Page_Walks_Utilization" 344 }, 345 { 346 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 347 "MetricExpr": "( cpu@ITLB_MISSES.WALK_DURATION\\,cmask\\=1@ + cpu@DTLB_LOAD_MISSES.WALK_DURATION\\,cmask\\=1@ + cpu@DTLB_STORE_MISSES.WALK_DURATION\\,cmask\\=1@ + 7 * ( DTLB_STORE_MISSES.WALK_COMPLETED + DTLB_LOAD_MISSES.WALK_COMPLETED + ITLB_MISSES.WALK_COMPLETED ) ) / ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 348 "MetricGroup": "Mem;MemoryTLB_SMT", 349 "MetricName": "Page_Walks_Utilization_SMT" 350 }, 351 { 352 "BriefDescription": "Average CPU Utilization", 353 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / msr@tsc@", 354 "MetricGroup": "HPC;Summary", 355 "MetricName": "CPU_Utilization" 356 }, 357 { 358 "BriefDescription": "Measured Average Frequency for unhalted processors [GHz]", 359 "MetricExpr": "(CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC) * msr@tsc@ / 1000000000 / duration_time", 360 "MetricGroup": "Summary;Power", 361 "MetricName": "Average_Frequency" 362 }, 363 { 364 "BriefDescription": "Giga Floating Point Operations Per Second", 365 "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", 366 "MetricGroup": "Cor;Flops;HPC", 367 "MetricName": "GFLOPs" 368 }, 369 { 370 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 371 "MetricExpr": "CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC", 372 "MetricGroup": "Power", 373 "MetricName": "Turbo_Utilization" 374 }, 375 { 376 "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active", 377 "MetricExpr": "1 - CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / ( CPU_CLK_UNHALTED.REF_XCLK_ANY / 2 ) if #SMT_on else 0", 378 "MetricGroup": "SMT", 379 "MetricName": "SMT_2T_Utilization" 380 }, 381 { 382 "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode", 383 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / CPU_CLK_UNHALTED.THREAD", 384 "MetricGroup": "OS", 385 "MetricName": "Kernel_Utilization" 386 }, 387 { 388 "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode", 389 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / INST_RETIRED.ANY_P:k", 390 "MetricGroup": "OS", 391 "MetricName": "Kernel_CPI" 392 }, 393 { 394 "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]", 395 "MetricExpr": "64 * ( arb@event\\=0x81\\,umask\\=0x1@ + arb@event\\=0x84\\,umask\\=0x1@ ) / 1000000 / duration_time / 1000", 396 "MetricGroup": "HPC;Mem;MemoryBW;SoC", 397 "MetricName": "DRAM_BW_Use" 398 }, 399 { 400 "BriefDescription": "Average latency of all requests to external memory (in Uncore cycles)", 401 "MetricExpr": "UNC_ARB_TRK_OCCUPANCY.ALL / arb@event\\=0x81\\,umask\\=0x1@", 402 "MetricGroup": "Mem;SoC", 403 "MetricName": "MEM_Request_Latency" 404 }, 405 { 406 "BriefDescription": "Average number of parallel requests to external memory. Accounts for all requests", 407 "MetricExpr": "UNC_ARB_TRK_OCCUPANCY.ALL / arb@event\\=0x81\\,umask\\=0x1@", 408 "MetricGroup": "Mem;SoC", 409 "MetricName": "MEM_Parallel_Requests" 410 }, 411 { 412 "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]", 413 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u", 414 "MetricGroup": "Branches;OS", 415 "MetricName": "IpFarBranch" 416 }, 417 { 418 "BriefDescription": "C3 residency percent per core", 419 "MetricExpr": "(cstate_core@c3\\-residency@ / msr@tsc@) * 100", 420 "MetricGroup": "Power", 421 "MetricName": "C3_Core_Residency" 422 }, 423 { 424 "BriefDescription": "C6 residency percent per core", 425 "MetricExpr": "(cstate_core@c6\\-residency@ / msr@tsc@) * 100", 426 "MetricGroup": "Power", 427 "MetricName": "C6_Core_Residency" 428 }, 429 { 430 "BriefDescription": "C7 residency percent per core", 431 "MetricExpr": "(cstate_core@c7\\-residency@ / msr@tsc@) * 100", 432 "MetricGroup": "Power", 433 "MetricName": "C7_Core_Residency" 434 }, 435 { 436 "BriefDescription": "C2 residency percent per package", 437 "MetricExpr": "(cstate_pkg@c2\\-residency@ / msr@tsc@) * 100", 438 "MetricGroup": "Power", 439 "MetricName": "C2_Pkg_Residency" 440 }, 441 { 442 "BriefDescription": "C3 residency percent per package", 443 "MetricExpr": "(cstate_pkg@c3\\-residency@ / msr@tsc@) * 100", 444 "MetricGroup": "Power", 445 "MetricName": "C3_Pkg_Residency" 446 }, 447 { 448 "BriefDescription": "C6 residency percent per package", 449 "MetricExpr": "(cstate_pkg@c6\\-residency@ / msr@tsc@) * 100", 450 "MetricGroup": "Power", 451 "MetricName": "C6_Pkg_Residency" 452 }, 453 { 454 "BriefDescription": "C7 residency percent per package", 455 "MetricExpr": "(cstate_pkg@c7\\-residency@ / msr@tsc@) * 100", 456 "MetricGroup": "Power", 457 "MetricName": "C7_Pkg_Residency" 458 } 459] 460