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 * cycles)", 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-ops (uops). Ideally the Frontend can issue 4 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-ops (uops). Ideally the Frontend can issue 4 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 * cycles)", 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 "MetricExpr": "1 - ( (IDQ_UOPS_NOT_DELIVERED.CORE / (4 * cycles)) + (( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * INT_MISC.RECOVERY_CYCLES ) / (4 * cycles)) + (UOPS_RETIRED.RETIRE_SLOTS / (4 * cycles)) )", 33 "MetricGroup": "TopdownL1", 34 "MetricName": "Backend_Bound", 35 "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." 36 }, 37 { 38 "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.", 39 "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 ) )))) )", 40 "MetricGroup": "TopdownL1_SMT", 41 "MetricName": "Backend_Bound_SMT", 42 "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." 43 }, 44 { 45 "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired", 46 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / (4 * cycles)", 47 "MetricGroup": "TopdownL1", 48 "MetricName": "Retiring", 49 "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 4 uops retired per cycle has been achieved. Maximizing Retiring typically increases the Instruction-Per-Cycle metric. Note that a high Retiring value does not necessary mean there is no room for more performance. For example; Microcode assists are categorized under Retiring. They hurt performance and can often be avoided. " 50 }, 51 { 52 "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.", 53 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / (4 * (( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )))", 54 "MetricGroup": "TopdownL1_SMT", 55 "MetricName": "Retiring_SMT", 56 "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 4 uops retired per cycle has been achieved. Maximizing Retiring typically increases the Instruction-Per-Cycle metric. Note that a high Retiring value does not necessary mean there is no room for more performance. For example; Microcode assists are categorized under Retiring. They hurt performance and can often be avoided. SMT version; use when SMT is enabled and measuring per logical CPU." 57 }, 58 { 59 "BriefDescription": "Instructions Per Cycle (per Logical Processor)", 60 "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD", 61 "MetricGroup": "TopDownL1", 62 "MetricName": "IPC" 63 }, 64 { 65 "BriefDescription": "Uops Per Instruction", 66 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / INST_RETIRED.ANY", 67 "MetricGroup": "Pipeline;Retire", 68 "MetricName": "UPI" 69 }, 70 { 71 "BriefDescription": "Instruction per taken branch", 72 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN", 73 "MetricGroup": "Branches;Fetch_BW;PGO", 74 "MetricName": "IpTB" 75 }, 76 { 77 "BriefDescription": "Branch instructions per taken branch. ", 78 "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN", 79 "MetricGroup": "Branches;PGO", 80 "MetricName": "BpTB" 81 }, 82 { 83 "BriefDescription": "Rough Estimation of fraction of fetched lines bytes that were likely (includes speculatively fetches) consumed by program instructions", 84 "MetricExpr": "min( 1 , UOPS_ISSUED.ANY / ( (UOPS_RETIRED.RETIRE_SLOTS / INST_RETIRED.ANY) * 64 * ( ICACHE_64B.IFTAG_HIT + ICACHE_64B.IFTAG_MISS ) / 4.1 ) )", 85 "MetricGroup": "PGO;IcMiss", 86 "MetricName": "IFetch_Line_Utilization" 87 }, 88 { 89 "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)", 90 "MetricExpr": "IDQ.DSB_UOPS / (IDQ.DSB_UOPS + LSD.UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS)", 91 "MetricGroup": "DSB;Fetch_BW", 92 "MetricName": "DSB_Coverage" 93 }, 94 { 95 "BriefDescription": "Cycles Per Instruction (per Logical Processor)", 96 "MetricExpr": "1 / (INST_RETIRED.ANY / cycles)", 97 "MetricGroup": "Pipeline;Summary", 98 "MetricName": "CPI" 99 }, 100 { 101 "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.", 102 "MetricExpr": "CPU_CLK_UNHALTED.THREAD", 103 "MetricGroup": "Summary", 104 "MetricName": "CLKS" 105 }, 106 { 107 "BriefDescription": "Total issue-pipeline slots (per-Physical Core)", 108 "MetricExpr": "4 * cycles", 109 "MetricGroup": "TopDownL1", 110 "MetricName": "SLOTS" 111 }, 112 { 113 "BriefDescription": "Total issue-pipeline slots (per-Physical Core)", 114 "MetricExpr": "4 * (( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))", 115 "MetricGroup": "TopDownL1_SMT", 116 "MetricName": "SLOTS_SMT" 117 }, 118 { 119 "BriefDescription": "Instructions per Load (lower number means higher occurance rate)", 120 "MetricExpr": "INST_RETIRED.ANY / MEM_INST_RETIRED.ALL_LOADS", 121 "MetricGroup": "Instruction_Type", 122 "MetricName": "IpL" 123 }, 124 { 125 "BriefDescription": "Instructions per Store (lower number means higher occurance rate)", 126 "MetricExpr": "INST_RETIRED.ANY / MEM_INST_RETIRED.ALL_STORES", 127 "MetricGroup": "Instruction_Type", 128 "MetricName": "IpS" 129 }, 130 { 131 "BriefDescription": "Instructions per Branch (lower number means higher occurance rate)", 132 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 133 "MetricGroup": "Branches;Instruction_Type", 134 "MetricName": "IpB" 135 }, 136 { 137 "BriefDescription": "Instruction per (near) call (lower number means higher occurance rate)", 138 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL", 139 "MetricGroup": "Branches", 140 "MetricName": "IpCall" 141 }, 142 { 143 "BriefDescription": "Total number of retired Instructions", 144 "MetricExpr": "INST_RETIRED.ANY", 145 "MetricGroup": "Summary", 146 "MetricName": "Instructions" 147 }, 148 { 149 "BriefDescription": "Instructions Per Cycle (per physical core)", 150 "MetricExpr": "INST_RETIRED.ANY / cycles", 151 "MetricGroup": "SMT", 152 "MetricName": "CoreIPC" 153 }, 154 { 155 "BriefDescription": "Instructions Per Cycle (per physical core)", 156 "MetricExpr": "INST_RETIRED.ANY / (( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))", 157 "MetricGroup": "SMT", 158 "MetricName": "CoreIPC_SMT" 159 }, 160 { 161 "BriefDescription": "Floating Point Operations Per Cycle", 162 "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 + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE ) + 16 * FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE )) / cycles", 163 "MetricGroup": "FLOPS", 164 "MetricName": "FLOPc" 165 }, 166 { 167 "BriefDescription": "Floating Point Operations Per Cycle", 168 "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 + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE ) + 16 * FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE )) / (( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))", 169 "MetricGroup": "FLOPS_SMT", 170 "MetricName": "FLOPc_SMT" 171 }, 172 { 173 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is at least 1 uop executed)", 174 "MetricExpr": "UOPS_EXECUTED.THREAD / (( UOPS_EXECUTED.CORE_CYCLES_GE_1 / 2 ) if #SMT_on else UOPS_EXECUTED.CORE_CYCLES_GE_1)", 175 "MetricGroup": "Pipeline", 176 "MetricName": "ILP" 177 }, 178 { 179 "BriefDescription": "Branch Misprediction Cost: Fraction of TopDown slots wasted per non-speculative branch misprediction (jeclear)", 180 "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 * cycles))) + (4 * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / (4 * cycles)) * (( INT_MISC.CLEAR_RESTEER_CYCLES + 9 * BACLEARS.ANY ) / cycles) / (4 * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / (4 * cycles)) ) * (4 * cycles) / BR_MISP_RETIRED.ALL_BRANCHES", 181 "MetricGroup": "BrMispredicts", 182 "MetricName": "Branch_Misprediction_Cost" 183 }, 184 { 185 "BriefDescription": "Branch Misprediction Cost: Fraction of TopDown slots wasted per non-speculative branch misprediction (jeclear)", 186 "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 ) )))) * (( INT_MISC.CLEAR_RESTEER_CYCLES + 9 * BACLEARS.ANY ) / cycles) / (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", 187 "MetricGroup": "BrMispredicts_SMT", 188 "MetricName": "Branch_Misprediction_Cost_SMT" 189 }, 190 { 191 "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear)", 192 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 193 "MetricGroup": "BrMispredicts", 194 "MetricName": "IpMispredict" 195 }, 196 { 197 "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core", 198 "MetricExpr": "( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )", 199 "MetricGroup": "SMT", 200 "MetricName": "CORE_CLKS" 201 }, 202 { 203 "BriefDescription": "Actual Average Latency for L1 data-cache miss demand loads (in core cycles)", 204 "MetricExpr": "L1D_PEND_MISS.PENDING / ( MEM_LOAD_RETIRED.L1_MISS + MEM_LOAD_RETIRED.FB_HIT )", 205 "MetricGroup": "Memory_Bound;Memory_Lat", 206 "MetricName": "Load_Miss_Real_Latency" 207 }, 208 { 209 "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)", 210 "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES", 211 "MetricGroup": "Memory_Bound;Memory_BW", 212 "MetricName": "MLP" 213 }, 214 { 215 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 216 "MetricExpr": "( ITLB_MISSES.WALK_PENDING + DTLB_LOAD_MISSES.WALK_PENDING + DTLB_STORE_MISSES.WALK_PENDING + EPT.WALK_PENDING ) / ( 2 * cycles )", 217 "MetricGroup": "TLB", 218 "MetricName": "Page_Walks_Utilization", 219 "MetricConstraint": "NO_NMI_WATCHDOG" 220 }, 221 { 222 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 223 "MetricExpr": "( ITLB_MISSES.WALK_PENDING + DTLB_LOAD_MISSES.WALK_PENDING + DTLB_STORE_MISSES.WALK_PENDING + EPT.WALK_PENDING ) / ( 2 * (( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )) )", 224 "MetricGroup": "TLB_SMT", 225 "MetricName": "Page_Walks_Utilization_SMT" 226 }, 227 { 228 "BriefDescription": "Average data fill bandwidth to the L1 data cache [GB / sec]", 229 "MetricExpr": "64 * L1D.REPLACEMENT / 1000000000 / duration_time", 230 "MetricGroup": "Memory_BW", 231 "MetricName": "L1D_Cache_Fill_BW" 232 }, 233 { 234 "BriefDescription": "Average data fill bandwidth to the L2 cache [GB / sec]", 235 "MetricExpr": "64 * L2_LINES_IN.ALL / 1000000000 / duration_time", 236 "MetricGroup": "Memory_BW", 237 "MetricName": "L2_Cache_Fill_BW" 238 }, 239 { 240 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 241 "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1000000000 / duration_time", 242 "MetricGroup": "Memory_BW", 243 "MetricName": "L3_Cache_Fill_BW" 244 }, 245 { 246 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 247 "MetricExpr": "64 * OFFCORE_REQUESTS.ALL_REQUESTS / 1000000000 / duration_time", 248 "MetricGroup": "Memory_BW", 249 "MetricName": "L3_Cache_Access_BW" 250 }, 251 { 252 "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads", 253 "MetricExpr": "1000 * MEM_LOAD_RETIRED.L1_MISS / INST_RETIRED.ANY", 254 "MetricGroup": "Cache_Misses", 255 "MetricName": "L1MPKI" 256 }, 257 { 258 "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads", 259 "MetricExpr": "1000 * MEM_LOAD_RETIRED.L2_MISS / INST_RETIRED.ANY", 260 "MetricGroup": "Cache_Misses", 261 "MetricName": "L2MPKI" 262 }, 263 { 264 "BriefDescription": "L2 cache misses per kilo instruction for all request types (including speculative)", 265 "MetricExpr": "1000 * L2_RQSTS.MISS / INST_RETIRED.ANY", 266 "MetricGroup": "Cache_Misses", 267 "MetricName": "L2MPKI_All" 268 }, 269 { 270 "BriefDescription": "L2 cache hits per kilo instruction for all request types (including speculative)", 271 "MetricExpr": "1000 * ( L2_RQSTS.REFERENCES - L2_RQSTS.MISS ) / INST_RETIRED.ANY", 272 "MetricGroup": "Cache_Misses", 273 "MetricName": "L2HPKI_All" 274 }, 275 { 276 "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads", 277 "MetricExpr": "1000 * MEM_LOAD_RETIRED.L3_MISS / INST_RETIRED.ANY", 278 "MetricGroup": "Cache_Misses", 279 "MetricName": "L3MPKI" 280 }, 281 { 282 "BriefDescription": "Rate of silent evictions from the L2 cache per Kilo instruction where the evicted lines are dropped (no writeback to L3 or memory)", 283 "MetricExpr": "1000 * L2_LINES_OUT.SILENT / INST_RETIRED.ANY", 284 "MetricGroup": "", 285 "MetricName": "L2_Evictions_Silent_PKI" 286 }, 287 { 288 "BriefDescription": "Rate of non silent evictions from the L2 cache per Kilo instruction", 289 "MetricExpr": "1000 * L2_LINES_OUT.NON_SILENT / INST_RETIRED.ANY", 290 "MetricGroup": "", 291 "MetricName": "L2_Evictions_NonSilent_PKI" 292 }, 293 { 294 "BriefDescription": "Average CPU Utilization", 295 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / msr@tsc@", 296 "MetricGroup": "Summary", 297 "MetricName": "CPU_Utilization" 298 }, 299 { 300 "BriefDescription": "Giga Floating Point Operations Per Second", 301 "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 + FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE ) + 16 * FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE )) / 1000000000 ) / duration_time", 302 "MetricGroup": "FLOPS;Summary", 303 "MetricName": "GFLOPs" 304 }, 305 { 306 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 307 "MetricExpr": "CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC", 308 "MetricGroup": "Power", 309 "MetricName": "Turbo_Utilization" 310 }, 311 { 312 "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active", 313 "MetricExpr": "1 - CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE / ( CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY / 2 ) if #SMT_on else 0", 314 "MetricGroup": "SMT;Summary", 315 "MetricName": "SMT_2T_Utilization" 316 }, 317 { 318 "BriefDescription": "Fraction of cycles spent in Kernel mode", 319 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC:k / CPU_CLK_UNHALTED.REF_TSC", 320 "MetricGroup": "Summary", 321 "MetricName": "Kernel_Utilization" 322 }, 323 { 324 "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]", 325 "MetricExpr": "( 64 * ( uncore_imc@cas_count_read@ + uncore_imc@cas_count_write@ ) / 1000000000 ) / duration_time", 326 "MetricGroup": "Memory_BW", 327 "MetricName": "DRAM_BW_Use" 328 }, 329 { 330 "BriefDescription": "Average latency of data read request to external memory (in nanoseconds). Accounts for demand loads and L1/L2 prefetches", 331 "MetricExpr": "1000000000 * ( cha@event\\=0x36\\\\\\,umask\\=0x21@ / cha@event\\=0x35\\\\\\,umask\\=0x21@ ) / ( cha_0@event\\=0x0@ / duration_time )", 332 "MetricGroup": "Memory_Lat", 333 "MetricName": "DRAM_Read_Latency" 334 }, 335 { 336 "BriefDescription": "Average number of parallel data read requests to external memory. Accounts for demand loads and L1/L2 prefetches", 337 "MetricExpr": "cha@event\\=0x36\\\\\\,umask\\=0x21@ / cha@event\\=0x36\\\\\\,umask\\=0x21\\\\\\,thresh\\=1@", 338 "MetricGroup": "Memory_BW", 339 "MetricName": "DRAM_Parallel_Reads" 340 }, 341 { 342 "BriefDescription": "Average latency of data read request to external 3D X-Point memory [in nanoseconds]. Accounts for demand loads and L1/L2 data-read prefetches", 343 "MetricExpr": "( 1000000000 * ( imc@event\\=0xe0\\\\\\,umask\\=0x1@ / imc@event\\=0xe3@ ) / imc_0@event\\=0x0@ ) if 1 if 0 == 1 else 0 else 0", 344 "MetricGroup": "Memory_Lat", 345 "MetricName": "MEM_PMM_Read_Latency" 346 }, 347 { 348 "BriefDescription": "Average 3DXP Memory Bandwidth Use for reads [GB / sec]", 349 "MetricExpr": "( ( 64 * imc@event\\=0xe3@ / 1000000000 ) / duration_time ) if 1 if 0 == 1 else 0 else 0", 350 "MetricGroup": "Memory_BW", 351 "MetricName": "PMM_Read_BW" 352 }, 353 { 354 "BriefDescription": "Average 3DXP Memory Bandwidth Use for Writes [GB / sec]", 355 "MetricExpr": "( ( 64 * imc@event\\=0xe7@ / 1000000000 ) / duration_time ) if 1 if 0 == 1 else 0 else 0", 356 "MetricGroup": "Memory_BW", 357 "MetricName": "PMM_Write_BW" 358 }, 359 { 360 "BriefDescription": "Socket actual clocks when any core is active on that socket", 361 "MetricExpr": "cha_0@event\\=0x0@", 362 "MetricGroup": "", 363 "MetricName": "Socket_CLKS" 364 }, 365 { 366 "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions. )", 367 "MetricExpr": "INST_RETIRED.ANY / ( BR_INST_RETIRED.FAR_BRANCH / 2 )", 368 "MetricGroup": "", 369 "MetricName": "IpFarBranch" 370 }, 371 { 372 "BriefDescription": "C3 residency percent per core", 373 "MetricExpr": "(cstate_core@c3\\-residency@ / msr@tsc@) * 100", 374 "MetricGroup": "Power", 375 "MetricName": "C3_Core_Residency" 376 }, 377 { 378 "BriefDescription": "C6 residency percent per core", 379 "MetricExpr": "(cstate_core@c6\\-residency@ / msr@tsc@) * 100", 380 "MetricGroup": "Power", 381 "MetricName": "C6_Core_Residency" 382 }, 383 { 384 "BriefDescription": "C7 residency percent per core", 385 "MetricExpr": "(cstate_core@c7\\-residency@ / msr@tsc@) * 100", 386 "MetricGroup": "Power", 387 "MetricName": "C7_Core_Residency" 388 }, 389 { 390 "BriefDescription": "C2 residency percent per package", 391 "MetricExpr": "(cstate_pkg@c2\\-residency@ / msr@tsc@) * 100", 392 "MetricGroup": "Power", 393 "MetricName": "C2_Pkg_Residency" 394 }, 395 { 396 "BriefDescription": "C3 residency percent per package", 397 "MetricExpr": "(cstate_pkg@c3\\-residency@ / msr@tsc@) * 100", 398 "MetricGroup": "Power", 399 "MetricName": "C3_Pkg_Residency" 400 }, 401 { 402 "BriefDescription": "C6 residency percent per package", 403 "MetricExpr": "(cstate_pkg@c6\\-residency@ / msr@tsc@) * 100", 404 "MetricGroup": "Power", 405 "MetricName": "C6_Pkg_Residency" 406 }, 407 { 408 "BriefDescription": "C7 residency percent per package", 409 "MetricExpr": "(cstate_pkg@c7\\-residency@ / msr@tsc@) * 100", 410 "MetricGroup": "Power", 411 "MetricName": "C7_Pkg_Residency" 412 } 413] 414