1[ 2 { 3 "BriefDescription": "AMX retired arithmetic BF16 operations.", 4 "EventCode": "0xce", 5 "EventName": "AMX_OPS_RETIRED.BF16", 6 "PublicDescription": "Number of AMX-based retired arithmetic bfloat16 (BF16) floating-point operations. Counts TDPBF16PS FP instructions. SW to use operation multiplier of 4", 7 "SampleAfterValue": "1000003", 8 "UMask": "0x2" 9 }, 10 { 11 "BriefDescription": "AMX retired arithmetic integer 8-bit operations.", 12 "EventCode": "0xce", 13 "EventName": "AMX_OPS_RETIRED.INT8", 14 "PublicDescription": "Number of AMX-based retired arithmetic integer operations of 8-bit width source operands. Counts TDPB[SS,UU,US,SU]D instructions. SW should use operation multiplier of 8.", 15 "SampleAfterValue": "1000003", 16 "UMask": "0x1" 17 }, 18 { 19 "BriefDescription": "This event is deprecated. Refer to new event ARITH.DIV_ACTIVE", 20 "CounterMask": "1", 21 "Deprecated": "1", 22 "EventCode": "0xb0", 23 "EventName": "ARITH.DIVIDER_ACTIVE", 24 "SampleAfterValue": "1000003", 25 "UMask": "0x9" 26 }, 27 { 28 "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.", 29 "CounterMask": "1", 30 "EventCode": "0xb0", 31 "EventName": "ARITH.DIV_ACTIVE", 32 "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.", 33 "SampleAfterValue": "1000003", 34 "UMask": "0x9" 35 }, 36 { 37 "BriefDescription": "This event is deprecated. Refer to new event ARITH.FPDIV_ACTIVE", 38 "CounterMask": "1", 39 "Deprecated": "1", 40 "EventCode": "0xb0", 41 "EventName": "ARITH.FP_DIVIDER_ACTIVE", 42 "SampleAfterValue": "1000003", 43 "UMask": "0x1" 44 }, 45 { 46 "BriefDescription": "This event counts the cycles the integer divider is busy.", 47 "CounterMask": "1", 48 "EventCode": "0xb0", 49 "EventName": "ARITH.IDIV_ACTIVE", 50 "SampleAfterValue": "1000003", 51 "UMask": "0x8" 52 }, 53 { 54 "BriefDescription": "This event is deprecated. Refer to new event ARITH.IDIV_ACTIVE", 55 "CounterMask": "1", 56 "Deprecated": "1", 57 "EventCode": "0xb0", 58 "EventName": "ARITH.INT_DIVIDER_ACTIVE", 59 "SampleAfterValue": "1000003", 60 "UMask": "0x8" 61 }, 62 { 63 "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.", 64 "EventCode": "0xc1", 65 "EventName": "ASSISTS.ANY", 66 "PublicDescription": "Counts the number of occurrences where a microcode assist is invoked by hardware. Examples include AD (page Access Dirty), FP and AVX related assists.", 67 "SampleAfterValue": "100003", 68 "UMask": "0x1b" 69 }, 70 { 71 "BriefDescription": "All branch instructions retired.", 72 "EventCode": "0xc4", 73 "EventName": "BR_INST_RETIRED.ALL_BRANCHES", 74 "PEBS": "1", 75 "PublicDescription": "Counts all branch instructions retired.", 76 "SampleAfterValue": "400009" 77 }, 78 { 79 "BriefDescription": "Conditional branch instructions retired.", 80 "EventCode": "0xc4", 81 "EventName": "BR_INST_RETIRED.COND", 82 "PEBS": "1", 83 "PublicDescription": "Counts conditional branch instructions retired.", 84 "SampleAfterValue": "400009", 85 "UMask": "0x11" 86 }, 87 { 88 "BriefDescription": "Not taken branch instructions retired.", 89 "EventCode": "0xc4", 90 "EventName": "BR_INST_RETIRED.COND_NTAKEN", 91 "PEBS": "1", 92 "PublicDescription": "Counts not taken branch instructions retired.", 93 "SampleAfterValue": "400009", 94 "UMask": "0x10" 95 }, 96 { 97 "BriefDescription": "Taken conditional branch instructions retired.", 98 "EventCode": "0xc4", 99 "EventName": "BR_INST_RETIRED.COND_TAKEN", 100 "PEBS": "1", 101 "PublicDescription": "Counts taken conditional branch instructions retired.", 102 "SampleAfterValue": "400009", 103 "UMask": "0x1" 104 }, 105 { 106 "BriefDescription": "Far branch instructions retired.", 107 "EventCode": "0xc4", 108 "EventName": "BR_INST_RETIRED.FAR_BRANCH", 109 "PEBS": "1", 110 "PublicDescription": "Counts far branch instructions retired.", 111 "SampleAfterValue": "100007", 112 "UMask": "0x40" 113 }, 114 { 115 "BriefDescription": "Indirect near branch instructions retired (excluding returns)", 116 "EventCode": "0xc4", 117 "EventName": "BR_INST_RETIRED.INDIRECT", 118 "PEBS": "1", 119 "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.", 120 "SampleAfterValue": "100003", 121 "UMask": "0x80" 122 }, 123 { 124 "BriefDescription": "Direct and indirect near call instructions retired.", 125 "EventCode": "0xc4", 126 "EventName": "BR_INST_RETIRED.NEAR_CALL", 127 "PEBS": "1", 128 "PublicDescription": "Counts both direct and indirect near call instructions retired.", 129 "SampleAfterValue": "100007", 130 "UMask": "0x2" 131 }, 132 { 133 "BriefDescription": "Return instructions retired.", 134 "EventCode": "0xc4", 135 "EventName": "BR_INST_RETIRED.NEAR_RETURN", 136 "PEBS": "1", 137 "PublicDescription": "Counts return instructions retired.", 138 "SampleAfterValue": "100007", 139 "UMask": "0x8" 140 }, 141 { 142 "BriefDescription": "Taken branch instructions retired.", 143 "EventCode": "0xc4", 144 "EventName": "BR_INST_RETIRED.NEAR_TAKEN", 145 "PEBS": "1", 146 "PublicDescription": "Counts taken branch instructions retired.", 147 "SampleAfterValue": "400009", 148 "UMask": "0x20" 149 }, 150 { 151 "BriefDescription": "All mispredicted branch instructions retired.", 152 "EventCode": "0xc5", 153 "EventName": "BR_MISP_RETIRED.ALL_BRANCHES", 154 "PEBS": "1", 155 "PublicDescription": "Counts all the retired branch instructions that were mispredicted by the processor. A branch misprediction occurs when the processor incorrectly predicts the destination of the branch. When the misprediction is discovered at execution, all the instructions executed in the wrong (speculative) path must be discarded, and the processor must start fetching from the correct path.", 156 "SampleAfterValue": "400009" 157 }, 158 { 159 "BriefDescription": "Mispredicted conditional branch instructions retired.", 160 "EventCode": "0xc5", 161 "EventName": "BR_MISP_RETIRED.COND", 162 "PEBS": "1", 163 "PublicDescription": "Counts mispredicted conditional branch instructions retired.", 164 "SampleAfterValue": "400009", 165 "UMask": "0x11" 166 }, 167 { 168 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 169 "EventCode": "0xc5", 170 "EventName": "BR_MISP_RETIRED.COND_NTAKEN", 171 "PEBS": "1", 172 "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.", 173 "SampleAfterValue": "400009", 174 "UMask": "0x10" 175 }, 176 { 177 "BriefDescription": "number of branch instructions retired that were mispredicted and taken.", 178 "EventCode": "0xc5", 179 "EventName": "BR_MISP_RETIRED.COND_TAKEN", 180 "PEBS": "1", 181 "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.", 182 "SampleAfterValue": "400009", 183 "UMask": "0x1" 184 }, 185 { 186 "BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 187 "EventCode": "0xc5", 188 "EventName": "BR_MISP_RETIRED.INDIRECT", 189 "PEBS": "1", 190 "PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.", 191 "SampleAfterValue": "100003", 192 "UMask": "0x80" 193 }, 194 { 195 "BriefDescription": "Mispredicted indirect CALL retired.", 196 "EventCode": "0xc5", 197 "EventName": "BR_MISP_RETIRED.INDIRECT_CALL", 198 "PEBS": "1", 199 "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.", 200 "SampleAfterValue": "400009", 201 "UMask": "0x2" 202 }, 203 { 204 "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.", 205 "EventCode": "0xc5", 206 "EventName": "BR_MISP_RETIRED.NEAR_TAKEN", 207 "PEBS": "1", 208 "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.", 209 "SampleAfterValue": "400009", 210 "UMask": "0x20" 211 }, 212 { 213 "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS", 214 "EventCode": "0xc5", 215 "EventName": "BR_MISP_RETIRED.RET", 216 "PEBS": "1", 217 "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.", 218 "SampleAfterValue": "100007", 219 "UMask": "0x8" 220 }, 221 { 222 "BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time but more power saving optimized state.", 223 "EventCode": "0xec", 224 "EventName": "CPU_CLK_UNHALTED.C01", 225 "PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup time but more power saving optimized state. This state can be entered via the TPAUSE or UMWAIT instructions.", 226 "SampleAfterValue": "2000003", 227 "UMask": "0x10" 228 }, 229 { 230 "BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time but less power saving optimized state.", 231 "EventCode": "0xec", 232 "EventName": "CPU_CLK_UNHALTED.C02", 233 "PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup time but less power saving optimized state. This state can be entered via the TPAUSE or UMWAIT instructions.", 234 "SampleAfterValue": "2000003", 235 "UMask": "0x20" 236 }, 237 { 238 "BriefDescription": "Core clocks when the thread is in the C0.1 or C0.2 or running a PAUSE in C0 ACPI state.", 239 "EventCode": "0xec", 240 "EventName": "CPU_CLK_UNHALTED.C0_WAIT", 241 "PublicDescription": "Counts core clocks when the thread is in the C0.1 or C0.2 power saving optimized states (TPAUSE or UMWAIT instructions) or running the PAUSE instruction.", 242 "SampleAfterValue": "2000003", 243 "UMask": "0x70" 244 }, 245 { 246 "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.", 247 "EventCode": "0xec", 248 "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED", 249 "PublicDescription": "This event distributes cycle counts between active hyperthreads, i.e., those in C0. A hyperthread becomes inactive when it executes the HLT or MWAIT instructions. If all other hyperthreads are inactive (or disabled or do not exist), all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.", 250 "SampleAfterValue": "2000003", 251 "UMask": "0x2" 252 }, 253 { 254 "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.", 255 "EventCode": "0x3c", 256 "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE", 257 "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.", 258 "SampleAfterValue": "25003", 259 "UMask": "0x2" 260 }, 261 { 262 "BriefDescription": "CPU_CLK_UNHALTED.PAUSE", 263 "EventCode": "0xec", 264 "EventName": "CPU_CLK_UNHALTED.PAUSE", 265 "SampleAfterValue": "2000003", 266 "UMask": "0x40" 267 }, 268 { 269 "BriefDescription": "CPU_CLK_UNHALTED.PAUSE_INST", 270 "CounterMask": "1", 271 "EdgeDetect": "1", 272 "EventCode": "0xec", 273 "EventName": "CPU_CLK_UNHALTED.PAUSE_INST", 274 "SampleAfterValue": "2000003", 275 "UMask": "0x40" 276 }, 277 { 278 "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.", 279 "EventCode": "0x3c", 280 "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED", 281 "PublicDescription": "This event distributes Core crystal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread becomes inactive when it executes the HLT or MWAIT instructions. If one thread is active in a core, all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.", 282 "SampleAfterValue": "2000003", 283 "UMask": "0x8" 284 }, 285 { 286 "BriefDescription": "Reference cycles when the core is not in halt state.", 287 "EventName": "CPU_CLK_UNHALTED.REF_TSC", 288 "PublicDescription": "Counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events. Note: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'. The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'. After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.", 289 "SampleAfterValue": "2000003", 290 "UMask": "0x3" 291 }, 292 { 293 "BriefDescription": "Reference cycles when the core is not in halt state.", 294 "EventCode": "0x3c", 295 "EventName": "CPU_CLK_UNHALTED.REF_TSC_P", 296 "PublicDescription": "Counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. Note: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'. The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'. After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.", 297 "SampleAfterValue": "2000003", 298 "UMask": "0x1" 299 }, 300 { 301 "BriefDescription": "Core cycles when the thread is not in halt state", 302 "EventName": "CPU_CLK_UNHALTED.THREAD", 303 "PublicDescription": "Counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events.", 304 "SampleAfterValue": "2000003", 305 "UMask": "0x2" 306 }, 307 { 308 "BriefDescription": "Thread cycles when thread is not in halt state", 309 "EventCode": "0x3c", 310 "EventName": "CPU_CLK_UNHALTED.THREAD_P", 311 "PublicDescription": "This is an architectural event that counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling. For this reason, this event may have a changing ratio with regards to wall clock time.", 312 "SampleAfterValue": "2000003" 313 }, 314 { 315 "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.", 316 "CounterMask": "8", 317 "EventCode": "0xa3", 318 "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS", 319 "SampleAfterValue": "1000003", 320 "UMask": "0x8" 321 }, 322 { 323 "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.", 324 "CounterMask": "1", 325 "EventCode": "0xa3", 326 "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS", 327 "SampleAfterValue": "1000003", 328 "UMask": "0x1" 329 }, 330 { 331 "BriefDescription": "Cycles while memory subsystem has an outstanding load.", 332 "CounterMask": "16", 333 "EventCode": "0xa3", 334 "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY", 335 "SampleAfterValue": "1000003", 336 "UMask": "0x10" 337 }, 338 { 339 "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.", 340 "CounterMask": "12", 341 "EventCode": "0xa3", 342 "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS", 343 "SampleAfterValue": "1000003", 344 "UMask": "0xc" 345 }, 346 { 347 "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.", 348 "CounterMask": "5", 349 "EventCode": "0xa3", 350 "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS", 351 "SampleAfterValue": "1000003", 352 "UMask": "0x5" 353 }, 354 { 355 "BriefDescription": "Total execution stalls.", 356 "CounterMask": "4", 357 "EventCode": "0xa3", 358 "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL", 359 "SampleAfterValue": "1000003", 360 "UMask": "0x4" 361 }, 362 { 363 "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.", 364 "EventCode": "0xa6", 365 "EventName": "EXE_ACTIVITY.1_PORTS_UTIL", 366 "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.", 367 "SampleAfterValue": "2000003", 368 "UMask": "0x2" 369 }, 370 { 371 "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.", 372 "EventCode": "0xa6", 373 "EventName": "EXE_ACTIVITY.2_PORTS_UTIL", 374 "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.", 375 "SampleAfterValue": "2000003", 376 "UMask": "0x4" 377 }, 378 { 379 "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.", 380 "EventCode": "0xa6", 381 "EventName": "EXE_ACTIVITY.3_PORTS_UTIL", 382 "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.", 383 "SampleAfterValue": "2000003", 384 "UMask": "0x8" 385 }, 386 { 387 "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.", 388 "EventCode": "0xa6", 389 "EventName": "EXE_ACTIVITY.4_PORTS_UTIL", 390 "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.", 391 "SampleAfterValue": "2000003", 392 "UMask": "0x10" 393 }, 394 { 395 "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.", 396 "CounterMask": "5", 397 "EventCode": "0xa6", 398 "EventName": "EXE_ACTIVITY.BOUND_ON_LOADS", 399 "SampleAfterValue": "2000003", 400 "UMask": "0x21" 401 }, 402 { 403 "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.", 404 "CounterMask": "2", 405 "EventCode": "0xa6", 406 "EventName": "EXE_ACTIVITY.BOUND_ON_STORES", 407 "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.", 408 "SampleAfterValue": "1000003", 409 "UMask": "0x40" 410 }, 411 { 412 "BriefDescription": "Cycles no uop executed while RS was not empty, the SB was not full and there was no outstanding load.", 413 "EventCode": "0xa6", 414 "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS", 415 "PublicDescription": "Number of cycles total of 0 uops executed on all ports, Reservation Station (RS) was not empty, the Store Buffer (SB) was not full and there was no outstanding load.", 416 "SampleAfterValue": "1000003", 417 "UMask": "0x80" 418 }, 419 { 420 "BriefDescription": "Instruction decoders utilized in a cycle", 421 "EventCode": "0x75", 422 "EventName": "INST_DECODED.DECODERS", 423 "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.", 424 "SampleAfterValue": "2000003", 425 "UMask": "0x1" 426 }, 427 { 428 "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event", 429 "EventName": "INST_RETIRED.ANY", 430 "PEBS": "1", 431 "PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.", 432 "SampleAfterValue": "2000003", 433 "UMask": "0x1" 434 }, 435 { 436 "BriefDescription": "Number of instructions retired. General Counter - architectural event", 437 "EventCode": "0xc0", 438 "EventName": "INST_RETIRED.ANY_P", 439 "PEBS": "1", 440 "PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.", 441 "SampleAfterValue": "2000003" 442 }, 443 { 444 "BriefDescription": "INST_RETIRED.MACRO_FUSED", 445 "EventCode": "0xc0", 446 "EventName": "INST_RETIRED.MACRO_FUSED", 447 "SampleAfterValue": "2000003", 448 "UMask": "0x10" 449 }, 450 { 451 "BriefDescription": "Retired NOP instructions.", 452 "EventCode": "0xc0", 453 "EventName": "INST_RETIRED.NOP", 454 "PublicDescription": "Counts all retired NOP or ENDBR32/64 instructions", 455 "SampleAfterValue": "2000003", 456 "UMask": "0x2" 457 }, 458 { 459 "BriefDescription": "Precise instruction retired with PEBS precise-distribution", 460 "EventName": "INST_RETIRED.PREC_DIST", 461 "PEBS": "1", 462 "PublicDescription": "A version of INST_RETIRED that allows for a precise distribution of samples across instructions retired. It utilizes the Precise Distribution of Instructions Retired (PDIR++) feature to fix bias in how retired instructions get sampled. Use on Fixed Counter 0.", 463 "SampleAfterValue": "2000003", 464 "UMask": "0x1" 465 }, 466 { 467 "BriefDescription": "Iterations of Repeat string retired instructions.", 468 "EventCode": "0xc0", 469 "EventName": "INST_RETIRED.REP_ITERATION", 470 "PublicDescription": "Number of iterations of Repeat (REP) string retired instructions such as MOVS, CMPS, and SCAS. Each has a byte, word, and doubleword version and string instructions can be repeated using a repetition prefix, REP, that allows their architectural execution to be repeated a number of times as specified by the RCX register. Note the number of iterations is implementation-dependent.", 471 "SampleAfterValue": "2000003", 472 "UMask": "0x8" 473 }, 474 { 475 "BriefDescription": "Clears speculative count", 476 "CounterMask": "1", 477 "EdgeDetect": "1", 478 "EventCode": "0xad", 479 "EventName": "INT_MISC.CLEARS_COUNT", 480 "PublicDescription": "Counts the number of speculative clears due to any type of branch misprediction or machine clears", 481 "SampleAfterValue": "500009", 482 "UMask": "0x1" 483 }, 484 { 485 "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.", 486 "EventCode": "0xad", 487 "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES", 488 "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.", 489 "SampleAfterValue": "500009", 490 "UMask": "0x80" 491 }, 492 { 493 "BriefDescription": "INT_MISC.MBA_STALLS", 494 "EventCode": "0xad", 495 "EventName": "INT_MISC.MBA_STALLS", 496 "SampleAfterValue": "1000003", 497 "UMask": "0x20" 498 }, 499 { 500 "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread", 501 "EventCode": "0xad", 502 "EventName": "INT_MISC.RECOVERY_CYCLES", 503 "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.", 504 "SampleAfterValue": "500009", 505 "UMask": "0x1" 506 }, 507 { 508 "BriefDescription": "INT_MISC.UNKNOWN_BRANCH_CYCLES", 509 "EventCode": "0xad", 510 "EventName": "INT_MISC.UNKNOWN_BRANCH_CYCLES", 511 "MSRIndex": "0x3F7", 512 "MSRValue": "0x7", 513 "SampleAfterValue": "1000003", 514 "UMask": "0x40" 515 }, 516 { 517 "BriefDescription": "TMA slots where uops got dropped", 518 "EventCode": "0xad", 519 "EventName": "INT_MISC.UOP_DROPPING", 520 "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons", 521 "SampleAfterValue": "1000003", 522 "UMask": "0x10" 523 }, 524 { 525 "BriefDescription": "INT_VEC_RETIRED.128BIT", 526 "EventCode": "0xe7", 527 "EventName": "INT_VEC_RETIRED.128BIT", 528 "SampleAfterValue": "1000003", 529 "UMask": "0x13" 530 }, 531 { 532 "BriefDescription": "INT_VEC_RETIRED.256BIT", 533 "EventCode": "0xe7", 534 "EventName": "INT_VEC_RETIRED.256BIT", 535 "SampleAfterValue": "1000003", 536 "UMask": "0xac" 537 }, 538 { 539 "BriefDescription": "integer ADD, SUB, SAD 128-bit vector instructions.", 540 "EventCode": "0xe7", 541 "EventName": "INT_VEC_RETIRED.ADD_128", 542 "PublicDescription": "Number of retired integer ADD/SUB (regular or horizontal), SAD 128-bit vector instructions.", 543 "SampleAfterValue": "1000003", 544 "UMask": "0x3" 545 }, 546 { 547 "BriefDescription": "integer ADD, SUB, SAD 256-bit vector instructions.", 548 "EventCode": "0xe7", 549 "EventName": "INT_VEC_RETIRED.ADD_256", 550 "PublicDescription": "Number of retired integer ADD/SUB (regular or horizontal), SAD 256-bit vector instructions.", 551 "SampleAfterValue": "1000003", 552 "UMask": "0xc" 553 }, 554 { 555 "BriefDescription": "INT_VEC_RETIRED.MUL_256", 556 "EventCode": "0xe7", 557 "EventName": "INT_VEC_RETIRED.MUL_256", 558 "SampleAfterValue": "1000003", 559 "UMask": "0x80" 560 }, 561 { 562 "BriefDescription": "INT_VEC_RETIRED.SHUFFLES", 563 "EventCode": "0xe7", 564 "EventName": "INT_VEC_RETIRED.SHUFFLES", 565 "SampleAfterValue": "1000003", 566 "UMask": "0x40" 567 }, 568 { 569 "BriefDescription": "INT_VEC_RETIRED.VNNI_128", 570 "EventCode": "0xe7", 571 "EventName": "INT_VEC_RETIRED.VNNI_128", 572 "SampleAfterValue": "1000003", 573 "UMask": "0x10" 574 }, 575 { 576 "BriefDescription": "INT_VEC_RETIRED.VNNI_256", 577 "EventCode": "0xe7", 578 "EventName": "INT_VEC_RETIRED.VNNI_256", 579 "SampleAfterValue": "1000003", 580 "UMask": "0x20" 581 }, 582 { 583 "BriefDescription": "False dependencies in MOB due to partial compare on address.", 584 "EventCode": "0x03", 585 "EventName": "LD_BLOCKS.ADDRESS_ALIAS", 586 "PublicDescription": "Counts the number of times a load got blocked due to false dependencies in MOB due to partial compare on address.", 587 "SampleAfterValue": "100003", 588 "UMask": "0x4" 589 }, 590 { 591 "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.", 592 "EventCode": "0x03", 593 "EventName": "LD_BLOCKS.NO_SR", 594 "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.", 595 "SampleAfterValue": "100003", 596 "UMask": "0x88" 597 }, 598 { 599 "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.", 600 "EventCode": "0x03", 601 "EventName": "LD_BLOCKS.STORE_FORWARD", 602 "PublicDescription": "Counts the number of times where store forwarding was prevented for a load operation. The most common case is a load blocked due to the address of memory access (partially) overlapping with a preceding uncompleted store. Note: See the table of not supported store forwards in the Optimization Guide.", 603 "SampleAfterValue": "100003", 604 "UMask": "0x82" 605 }, 606 { 607 "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.", 608 "EventCode": "0x4c", 609 "EventName": "LOAD_HIT_PREFETCH.SWPF", 610 "PublicDescription": "Counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by ASM (Assembly File) inspection of the nearby instructions.", 611 "SampleAfterValue": "100003", 612 "UMask": "0x1" 613 }, 614 { 615 "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.", 616 "CounterMask": "1", 617 "EventCode": "0xa8", 618 "EventName": "LSD.CYCLES_ACTIVE", 619 "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).", 620 "SampleAfterValue": "2000003", 621 "UMask": "0x1" 622 }, 623 { 624 "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.", 625 "CounterMask": "6", 626 "EventCode": "0xa8", 627 "EventName": "LSD.CYCLES_OK", 628 "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).", 629 "SampleAfterValue": "2000003", 630 "UMask": "0x1" 631 }, 632 { 633 "BriefDescription": "Number of Uops delivered by the LSD.", 634 "EventCode": "0xa8", 635 "EventName": "LSD.UOPS", 636 "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).", 637 "SampleAfterValue": "2000003", 638 "UMask": "0x1" 639 }, 640 { 641 "BriefDescription": "Number of machine clears (nukes) of any type.", 642 "CounterMask": "1", 643 "EdgeDetect": "1", 644 "EventCode": "0xc3", 645 "EventName": "MACHINE_CLEARS.COUNT", 646 "PublicDescription": "Counts the number of machine clears (nukes) of any type.", 647 "SampleAfterValue": "100003", 648 "UMask": "0x1" 649 }, 650 { 651 "BriefDescription": "Self-modifying code (SMC) detected.", 652 "EventCode": "0xc3", 653 "EventName": "MACHINE_CLEARS.SMC", 654 "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.", 655 "SampleAfterValue": "100003", 656 "UMask": "0x4" 657 }, 658 { 659 "BriefDescription": "LFENCE instructions retired", 660 "EventCode": "0xe0", 661 "EventName": "MISC2_RETIRED.LFENCE", 662 "PublicDescription": "number of LFENCE retired instructions", 663 "SampleAfterValue": "400009", 664 "UMask": "0x20" 665 }, 666 { 667 "BriefDescription": "Increments whenever there is an update to the LBR array.", 668 "EventCode": "0xcc", 669 "EventName": "MISC_RETIRED.LBR_INSERTS", 670 "PublicDescription": "Increments when an entry is added to the Last Branch Record (LBR) array (or removed from the array in case of RETURNs in call stack mode). The event requires LBR enable via IA32_DEBUGCTL MSR and branch type selection via MSR_LBR_SELECT.", 671 "SampleAfterValue": "100003", 672 "UMask": "0x20" 673 }, 674 { 675 "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).", 676 "EventCode": "0xa2", 677 "EventName": "RESOURCE_STALLS.SB", 678 "PublicDescription": "Counts allocation stall cycles caused by the store buffer (SB) being full. This counts cycles that the pipeline back-end blocked uop delivery from the front-end.", 679 "SampleAfterValue": "100003", 680 "UMask": "0x8" 681 }, 682 { 683 "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.", 684 "EventCode": "0xa2", 685 "EventName": "RESOURCE_STALLS.SCOREBOARD", 686 "SampleAfterValue": "100003", 687 "UMask": "0x2" 688 }, 689 { 690 "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.", 691 "EventCode": "0xa4", 692 "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS", 693 "PublicDescription": "Number of slots in TMA method where no micro-operations were being issued from front-end to back-end of the machine due to lack of back-end resources.", 694 "SampleAfterValue": "10000003", 695 "UMask": "0x2" 696 }, 697 { 698 "BriefDescription": "TMA slots wasted due to incorrect speculations.", 699 "EventCode": "0xa4", 700 "EventName": "TOPDOWN.BAD_SPEC_SLOTS", 701 "PublicDescription": "Number of slots of TMA method that were wasted due to incorrect speculation. It covers all types of control-flow or data-related mis-speculations.", 702 "SampleAfterValue": "10000003", 703 "UMask": "0x4" 704 }, 705 { 706 "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions", 707 "EventCode": "0xa4", 708 "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS", 709 "PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by (any type of) branch mispredictions. This event estimates number of speculative operations that were issued but not retired as well as the out-of-order engine recovery past a branch misprediction.", 710 "SampleAfterValue": "10000003", 711 "UMask": "0x8" 712 }, 713 { 714 "BriefDescription": "TOPDOWN.MEMORY_BOUND_SLOTS", 715 "EventCode": "0xa4", 716 "EventName": "TOPDOWN.MEMORY_BOUND_SLOTS", 717 "SampleAfterValue": "10000003", 718 "UMask": "0x10" 719 }, 720 { 721 "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event", 722 "EventName": "TOPDOWN.SLOTS", 723 "PublicDescription": "Number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method (TMA). The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core. Software can use this event as the denominator for the top-level metrics of the TMA method. This architectural event is counted on a designated fixed counter (Fixed Counter 3).", 724 "SampleAfterValue": "10000003", 725 "UMask": "0x4" 726 }, 727 { 728 "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event", 729 "EventCode": "0xa4", 730 "EventName": "TOPDOWN.SLOTS_P", 731 "PublicDescription": "Counts the number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method. The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core.", 732 "SampleAfterValue": "10000003", 733 "UMask": "0x1" 734 }, 735 { 736 "BriefDescription": "UOPS_DECODED.DEC0_UOPS", 737 "EventCode": "0x76", 738 "EventName": "UOPS_DECODED.DEC0_UOPS", 739 "SampleAfterValue": "1000003", 740 "UMask": "0x1" 741 }, 742 { 743 "BriefDescription": "Uops executed on port 0", 744 "EventCode": "0xb2", 745 "EventName": "UOPS_DISPATCHED.PORT_0", 746 "PublicDescription": "Number of uops dispatch to execution port 0.", 747 "SampleAfterValue": "2000003", 748 "UMask": "0x1" 749 }, 750 { 751 "BriefDescription": "Uops executed on port 1", 752 "EventCode": "0xb2", 753 "EventName": "UOPS_DISPATCHED.PORT_1", 754 "PublicDescription": "Number of uops dispatch to execution port 1.", 755 "SampleAfterValue": "2000003", 756 "UMask": "0x2" 757 }, 758 { 759 "BriefDescription": "Uops executed on ports 2, 3 and 10", 760 "EventCode": "0xb2", 761 "EventName": "UOPS_DISPATCHED.PORT_2_3_10", 762 "PublicDescription": "Number of uops dispatch to execution ports 2, 3 and 10", 763 "SampleAfterValue": "2000003", 764 "UMask": "0x4" 765 }, 766 { 767 "BriefDescription": "Uops executed on ports 4 and 9", 768 "EventCode": "0xb2", 769 "EventName": "UOPS_DISPATCHED.PORT_4_9", 770 "PublicDescription": "Number of uops dispatch to execution ports 4 and 9", 771 "SampleAfterValue": "2000003", 772 "UMask": "0x10" 773 }, 774 { 775 "BriefDescription": "Uops executed on ports 5 and 11", 776 "EventCode": "0xb2", 777 "EventName": "UOPS_DISPATCHED.PORT_5_11", 778 "PublicDescription": "Number of uops dispatch to execution ports 5 and 11", 779 "SampleAfterValue": "2000003", 780 "UMask": "0x20" 781 }, 782 { 783 "BriefDescription": "Uops executed on port 6", 784 "EventCode": "0xb2", 785 "EventName": "UOPS_DISPATCHED.PORT_6", 786 "PublicDescription": "Number of uops dispatch to execution port 6.", 787 "SampleAfterValue": "2000003", 788 "UMask": "0x40" 789 }, 790 { 791 "BriefDescription": "Uops executed on ports 7 and 8", 792 "EventCode": "0xb2", 793 "EventName": "UOPS_DISPATCHED.PORT_7_8", 794 "PublicDescription": "Number of uops dispatch to execution ports 7 and 8.", 795 "SampleAfterValue": "2000003", 796 "UMask": "0x80" 797 }, 798 { 799 "BriefDescription": "Number of uops executed on the core.", 800 "EventCode": "0xb1", 801 "EventName": "UOPS_EXECUTED.CORE", 802 "PublicDescription": "Counts the number of uops executed from any thread.", 803 "SampleAfterValue": "2000003", 804 "UMask": "0x2" 805 }, 806 { 807 "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.", 808 "CounterMask": "1", 809 "EventCode": "0xb1", 810 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1", 811 "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.", 812 "SampleAfterValue": "2000003", 813 "UMask": "0x2" 814 }, 815 { 816 "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.", 817 "CounterMask": "2", 818 "EventCode": "0xb1", 819 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2", 820 "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.", 821 "SampleAfterValue": "2000003", 822 "UMask": "0x2" 823 }, 824 { 825 "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.", 826 "CounterMask": "3", 827 "EventCode": "0xb1", 828 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3", 829 "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.", 830 "SampleAfterValue": "2000003", 831 "UMask": "0x2" 832 }, 833 { 834 "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.", 835 "CounterMask": "4", 836 "EventCode": "0xb1", 837 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4", 838 "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.", 839 "SampleAfterValue": "2000003", 840 "UMask": "0x2" 841 }, 842 { 843 "BriefDescription": "Cycles where at least 1 uop was executed per-thread", 844 "CounterMask": "1", 845 "EventCode": "0xb1", 846 "EventName": "UOPS_EXECUTED.CYCLES_GE_1", 847 "PublicDescription": "Cycles where at least 1 uop was executed per-thread.", 848 "SampleAfterValue": "2000003", 849 "UMask": "0x1" 850 }, 851 { 852 "BriefDescription": "Cycles where at least 2 uops were executed per-thread", 853 "CounterMask": "2", 854 "EventCode": "0xb1", 855 "EventName": "UOPS_EXECUTED.CYCLES_GE_2", 856 "PublicDescription": "Cycles where at least 2 uops were executed per-thread.", 857 "SampleAfterValue": "2000003", 858 "UMask": "0x1" 859 }, 860 { 861 "BriefDescription": "Cycles where at least 3 uops were executed per-thread", 862 "CounterMask": "3", 863 "EventCode": "0xb1", 864 "EventName": "UOPS_EXECUTED.CYCLES_GE_3", 865 "PublicDescription": "Cycles where at least 3 uops were executed per-thread.", 866 "SampleAfterValue": "2000003", 867 "UMask": "0x1" 868 }, 869 { 870 "BriefDescription": "Cycles where at least 4 uops were executed per-thread", 871 "CounterMask": "4", 872 "EventCode": "0xb1", 873 "EventName": "UOPS_EXECUTED.CYCLES_GE_4", 874 "PublicDescription": "Cycles where at least 4 uops were executed per-thread.", 875 "SampleAfterValue": "2000003", 876 "UMask": "0x1" 877 }, 878 { 879 "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.", 880 "CounterMask": "1", 881 "EventCode": "0xb1", 882 "EventName": "UOPS_EXECUTED.STALLS", 883 "Invert": "1", 884 "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.", 885 "SampleAfterValue": "2000003", 886 "UMask": "0x1" 887 }, 888 { 889 "BriefDescription": "This event is deprecated. Refer to new event UOPS_EXECUTED.STALLS", 890 "CounterMask": "1", 891 "Deprecated": "1", 892 "EventCode": "0xb1", 893 "EventName": "UOPS_EXECUTED.STALL_CYCLES", 894 "Invert": "1", 895 "SampleAfterValue": "2000003", 896 "UMask": "0x1" 897 }, 898 { 899 "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.", 900 "EventCode": "0xb1", 901 "EventName": "UOPS_EXECUTED.THREAD", 902 "SampleAfterValue": "2000003", 903 "UMask": "0x1" 904 }, 905 { 906 "BriefDescription": "Counts the number of x87 uops dispatched.", 907 "EventCode": "0xb1", 908 "EventName": "UOPS_EXECUTED.X87", 909 "PublicDescription": "Counts the number of x87 uops executed.", 910 "SampleAfterValue": "2000003", 911 "UMask": "0x10" 912 }, 913 { 914 "BriefDescription": "Uops that RAT issues to RS", 915 "EventCode": "0xae", 916 "EventName": "UOPS_ISSUED.ANY", 917 "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).", 918 "SampleAfterValue": "2000003", 919 "UMask": "0x1" 920 }, 921 { 922 "BriefDescription": "Cycles with retired uop(s).", 923 "CounterMask": "1", 924 "EventCode": "0xc2", 925 "EventName": "UOPS_RETIRED.CYCLES", 926 "PublicDescription": "Counts cycles where at least one uop has retired.", 927 "SampleAfterValue": "1000003", 928 "UMask": "0x2" 929 }, 930 { 931 "BriefDescription": "Retired uops except the last uop of each instruction.", 932 "EventCode": "0xc2", 933 "EventName": "UOPS_RETIRED.HEAVY", 934 "PublicDescription": "Counts the number of retired micro-operations (uops) except the last uop of each instruction. An instruction that is decoded into less than two uops does not contribute to the count.", 935 "SampleAfterValue": "2000003", 936 "UMask": "0x1" 937 }, 938 { 939 "BriefDescription": "UOPS_RETIRED.MS", 940 "EventCode": "0xc2", 941 "EventName": "UOPS_RETIRED.MS", 942 "MSRIndex": "0x3F7", 943 "MSRValue": "0x8", 944 "SampleAfterValue": "2000003", 945 "UMask": "0x4" 946 }, 947 { 948 "BriefDescription": "Retirement slots used.", 949 "EventCode": "0xc2", 950 "EventName": "UOPS_RETIRED.SLOTS", 951 "PublicDescription": "Counts the retirement slots used each cycle.", 952 "SampleAfterValue": "2000003", 953 "UMask": "0x2" 954 }, 955 { 956 "BriefDescription": "Cycles without actually retired uops.", 957 "CounterMask": "1", 958 "EventCode": "0xc2", 959 "EventName": "UOPS_RETIRED.STALLS", 960 "Invert": "1", 961 "PublicDescription": "This event counts cycles without actually retired uops.", 962 "SampleAfterValue": "1000003", 963 "UMask": "0x2" 964 }, 965 { 966 "BriefDescription": "This event is deprecated. Refer to new event UOPS_RETIRED.STALLS", 967 "CounterMask": "1", 968 "Deprecated": "1", 969 "EventCode": "0xc2", 970 "EventName": "UOPS_RETIRED.STALL_CYCLES", 971 "Invert": "1", 972 "SampleAfterValue": "1000003", 973 "UMask": "0x2" 974 } 975] 976