1[ 2 { 3 "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.", 4 "CounterMask": "1", 5 "EventCode": "0x14", 6 "EventName": "ARITH.DIVIDER_ACTIVE", 7 "SampleAfterValue": "2000003", 8 "UMask": "0x1" 9 }, 10 { 11 "BriefDescription": "All (macro) branch instructions retired.", 12 "Errata": "SKL091", 13 "EventCode": "0xC4", 14 "EventName": "BR_INST_RETIRED.ALL_BRANCHES", 15 "PublicDescription": "Counts all (macro) branch instructions retired.", 16 "SampleAfterValue": "400009" 17 }, 18 { 19 "BriefDescription": "All (macro) branch instructions retired.", 20 "Errata": "SKL091", 21 "EventCode": "0xC4", 22 "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS", 23 "PEBS": "2", 24 "PublicDescription": "This is a precise version of BR_INST_RETIRED.ALL_BRANCHES that counts all (macro) branch instructions retired.", 25 "SampleAfterValue": "400009", 26 "UMask": "0x4" 27 }, 28 { 29 "BriefDescription": "Conditional branch instructions retired. [This event is alias to BR_INST_RETIRED.CONDITIONAL]", 30 "Errata": "SKL091", 31 "EventCode": "0xC4", 32 "EventName": "BR_INST_RETIRED.COND", 33 "PublicDescription": "This event counts conditional branch instructions retired. [This event is alias to BR_INST_RETIRED.CONDITIONAL]", 34 "SampleAfterValue": "400009", 35 "UMask": "0x1" 36 }, 37 { 38 "BriefDescription": "Conditional branch instructions retired. [This event is alias to BR_INST_RETIRED.COND]", 39 "Errata": "SKL091", 40 "EventCode": "0xC4", 41 "EventName": "BR_INST_RETIRED.CONDITIONAL", 42 "PEBS": "1", 43 "PublicDescription": "This event counts conditional branch instructions retired. [This event is alias to BR_INST_RETIRED.COND]", 44 "SampleAfterValue": "400009", 45 "UMask": "0x1" 46 }, 47 { 48 "BriefDescription": "Not taken branch instructions retired.", 49 "Errata": "SKL091", 50 "EventCode": "0xc4", 51 "EventName": "BR_INST_RETIRED.COND_NTAKEN", 52 "PublicDescription": "This event counts not taken branch instructions retired.", 53 "SampleAfterValue": "400009", 54 "UMask": "0x10" 55 }, 56 { 57 "BriefDescription": "Far branch instructions retired.", 58 "Errata": "SKL091", 59 "EventCode": "0xC4", 60 "EventName": "BR_INST_RETIRED.FAR_BRANCH", 61 "PEBS": "1", 62 "PublicDescription": "This event counts far branch instructions retired.", 63 "SampleAfterValue": "100007", 64 "UMask": "0x40" 65 }, 66 { 67 "BriefDescription": "Direct and indirect near call instructions retired.", 68 "Errata": "SKL091", 69 "EventCode": "0xC4", 70 "EventName": "BR_INST_RETIRED.NEAR_CALL", 71 "PEBS": "1", 72 "PublicDescription": "This event counts both direct and indirect near call instructions retired.", 73 "SampleAfterValue": "100007", 74 "UMask": "0x2" 75 }, 76 { 77 "BriefDescription": "Return instructions retired.", 78 "Errata": "SKL091", 79 "EventCode": "0xC4", 80 "EventName": "BR_INST_RETIRED.NEAR_RETURN", 81 "PEBS": "1", 82 "PublicDescription": "This event counts return instructions retired.", 83 "SampleAfterValue": "100007", 84 "UMask": "0x8" 85 }, 86 { 87 "BriefDescription": "Taken branch instructions retired.", 88 "Errata": "SKL091", 89 "EventCode": "0xC4", 90 "EventName": "BR_INST_RETIRED.NEAR_TAKEN", 91 "PEBS": "1", 92 "PublicDescription": "This event counts taken branch instructions retired.", 93 "SampleAfterValue": "400009", 94 "UMask": "0x20" 95 }, 96 { 97 "BriefDescription": "Not taken branch instructions retired.", 98 "Errata": "SKL091", 99 "EventCode": "0xC4", 100 "EventName": "BR_INST_RETIRED.NOT_TAKEN", 101 "PublicDescription": "This event counts not taken branch instructions retired.", 102 "SampleAfterValue": "400009", 103 "UMask": "0x10" 104 }, 105 { 106 "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 107 "EventCode": "0x89", 108 "EventName": "BR_MISP_EXEC.ALL_BRANCHES", 109 "PublicDescription": "This event counts both taken and not taken speculative and retired mispredicted branch instructions.", 110 "SampleAfterValue": "200003", 111 "UMask": "0xff" 112 }, 113 { 114 "BriefDescription": "Speculative mispredicted indirect branches", 115 "EventCode": "0x89", 116 "EventName": "BR_MISP_EXEC.INDIRECT", 117 "PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Counts for indirect near CALL or JMP instructions (RET excluded).", 118 "SampleAfterValue": "200003", 119 "UMask": "0xe4" 120 }, 121 { 122 "BriefDescription": "All mispredicted macro branch instructions retired.", 123 "EventCode": "0xC5", 124 "EventName": "BR_MISP_RETIRED.ALL_BRANCHES", 125 "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.", 126 "SampleAfterValue": "400009" 127 }, 128 { 129 "BriefDescription": "Mispredicted macro branch instructions retired.", 130 "EventCode": "0xC5", 131 "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS", 132 "PEBS": "2", 133 "PublicDescription": "This is a precise version of BR_MISP_RETIRED.ALL_BRANCHES that counts all mispredicted macro branch instructions retired.", 134 "SampleAfterValue": "400009", 135 "UMask": "0x4" 136 }, 137 { 138 "BriefDescription": "Mispredicted conditional branch instructions retired.", 139 "EventCode": "0xC5", 140 "EventName": "BR_MISP_RETIRED.CONDITIONAL", 141 "PEBS": "1", 142 "PublicDescription": "This event counts mispredicted conditional branch instructions retired.", 143 "SampleAfterValue": "400009", 144 "UMask": "0x1" 145 }, 146 { 147 "BriefDescription": "Mispredicted direct and indirect near call instructions retired.", 148 "EventCode": "0xC5", 149 "EventName": "BR_MISP_RETIRED.NEAR_CALL", 150 "PEBS": "1", 151 "PublicDescription": "Counts both taken and not taken retired mispredicted direct and indirect near calls, including both register and memory indirect.", 152 "SampleAfterValue": "400009", 153 "UMask": "0x2" 154 }, 155 { 156 "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.", 157 "EventCode": "0xC5", 158 "EventName": "BR_MISP_RETIRED.NEAR_TAKEN", 159 "PEBS": "1", 160 "SampleAfterValue": "400009", 161 "UMask": "0x20" 162 }, 163 { 164 "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS", 165 "EventCode": "0xC5", 166 "EventName": "BR_MISP_RETIRED.RET", 167 "PEBS": "1", 168 "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.", 169 "SampleAfterValue": "100007", 170 "UMask": "0x8" 171 }, 172 { 173 "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.", 174 "EventCode": "0x3C", 175 "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE", 176 "SampleAfterValue": "25003", 177 "UMask": "0x2" 178 }, 179 { 180 "BriefDescription": "Core crystal clock cycles when the thread is unhalted.", 181 "EventCode": "0x3C", 182 "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK", 183 "SampleAfterValue": "25003", 184 "UMask": "0x1" 185 }, 186 { 187 "AnyThread": "1", 188 "BriefDescription": "Core crystal clock cycles when at least one thread on the physical core is unhalted.", 189 "EventCode": "0x3C", 190 "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY", 191 "SampleAfterValue": "25003", 192 "UMask": "0x1" 193 }, 194 { 195 "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.", 196 "EventCode": "0x3C", 197 "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE", 198 "SampleAfterValue": "25003", 199 "UMask": "0x2" 200 }, 201 { 202 "BriefDescription": "Reference cycles when the core is not in halt state.", 203 "EventName": "CPU_CLK_UNHALTED.REF_TSC", 204 "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. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. 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.", 205 "SampleAfterValue": "2000003", 206 "UMask": "0x3" 207 }, 208 { 209 "BriefDescription": "Core crystal clock cycles when the thread is unhalted.", 210 "EventCode": "0x3C", 211 "EventName": "CPU_CLK_UNHALTED.REF_XCLK", 212 "SampleAfterValue": "25003", 213 "UMask": "0x1" 214 }, 215 { 216 "AnyThread": "1", 217 "BriefDescription": "Core crystal clock cycles when at least one thread on the physical core is unhalted.", 218 "EventCode": "0x3C", 219 "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY", 220 "SampleAfterValue": "25003", 221 "UMask": "0x1" 222 }, 223 { 224 "BriefDescription": "Counts when there is a transition from ring 1, 2 or 3 to ring 0.", 225 "CounterMask": "1", 226 "EdgeDetect": "1", 227 "EventCode": "0x3C", 228 "EventName": "CPU_CLK_UNHALTED.RING0_TRANS", 229 "PublicDescription": "Counts when the Current Privilege Level (CPL) transitions from ring 1, 2 or 3 to ring 0 (Kernel).", 230 "SampleAfterValue": "100007" 231 }, 232 { 233 "BriefDescription": "Core cycles when the thread is not in halt state", 234 "EventName": "CPU_CLK_UNHALTED.THREAD", 235 "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 four (eight when Hyperthreading is disabled) programmable counters available for other events.", 236 "SampleAfterValue": "2000003", 237 "UMask": "0x2" 238 }, 239 { 240 "AnyThread": "1", 241 "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.", 242 "EventName": "CPU_CLK_UNHALTED.THREAD_ANY", 243 "SampleAfterValue": "2000003", 244 "UMask": "0x2" 245 }, 246 { 247 "BriefDescription": "Thread cycles when thread is not in halt state", 248 "EventCode": "0x3C", 249 "EventName": "CPU_CLK_UNHALTED.THREAD_P", 250 "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.", 251 "SampleAfterValue": "2000003" 252 }, 253 { 254 "AnyThread": "1", 255 "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.", 256 "EventCode": "0x3C", 257 "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY", 258 "SampleAfterValue": "2000003" 259 }, 260 { 261 "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.", 262 "CounterMask": "8", 263 "EventCode": "0xA3", 264 "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS", 265 "SampleAfterValue": "2000003", 266 "UMask": "0x8" 267 }, 268 { 269 "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.", 270 "CounterMask": "1", 271 "EventCode": "0xA3", 272 "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS", 273 "SampleAfterValue": "2000003", 274 "UMask": "0x1" 275 }, 276 { 277 "BriefDescription": "Cycles while memory subsystem has an outstanding load.", 278 "CounterMask": "16", 279 "EventCode": "0xA3", 280 "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY", 281 "SampleAfterValue": "2000003", 282 "UMask": "0x10" 283 }, 284 { 285 "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.", 286 "CounterMask": "12", 287 "EventCode": "0xA3", 288 "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS", 289 "SampleAfterValue": "2000003", 290 "UMask": "0xc" 291 }, 292 { 293 "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.", 294 "CounterMask": "5", 295 "EventCode": "0xA3", 296 "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS", 297 "SampleAfterValue": "2000003", 298 "UMask": "0x5" 299 }, 300 { 301 "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.", 302 "CounterMask": "20", 303 "EventCode": "0xA3", 304 "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY", 305 "SampleAfterValue": "2000003", 306 "UMask": "0x14" 307 }, 308 { 309 "BriefDescription": "Total execution stalls.", 310 "CounterMask": "4", 311 "EventCode": "0xA3", 312 "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL", 313 "SampleAfterValue": "2000003", 314 "UMask": "0x4" 315 }, 316 { 317 "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.", 318 "EventCode": "0xA6", 319 "EventName": "EXE_ACTIVITY.1_PORTS_UTIL", 320 "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.", 321 "SampleAfterValue": "2000003", 322 "UMask": "0x2" 323 }, 324 { 325 "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.", 326 "EventCode": "0xA6", 327 "EventName": "EXE_ACTIVITY.2_PORTS_UTIL", 328 "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.", 329 "SampleAfterValue": "2000003", 330 "UMask": "0x4" 331 }, 332 { 333 "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.", 334 "EventCode": "0xA6", 335 "EventName": "EXE_ACTIVITY.3_PORTS_UTIL", 336 "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.", 337 "SampleAfterValue": "2000003", 338 "UMask": "0x8" 339 }, 340 { 341 "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.", 342 "EventCode": "0xA6", 343 "EventName": "EXE_ACTIVITY.4_PORTS_UTIL", 344 "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.", 345 "SampleAfterValue": "2000003", 346 "UMask": "0x10" 347 }, 348 { 349 "BriefDescription": "Cycles where the Store Buffer was full and no outstanding load.", 350 "EventCode": "0xA6", 351 "EventName": "EXE_ACTIVITY.BOUND_ON_STORES", 352 "SampleAfterValue": "2000003", 353 "UMask": "0x40" 354 }, 355 { 356 "BriefDescription": "Cycles where no uops were executed, the Reservation Station was not empty, the Store Buffer was full and there was no outstanding load.", 357 "EventCode": "0xA6", 358 "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS", 359 "PublicDescription": "Counts cycles during which no uops were executed on all ports and Reservation Station (RS) was not empty.", 360 "SampleAfterValue": "2000003", 361 "UMask": "0x1" 362 }, 363 { 364 "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to DECODE.LCP]", 365 "EventCode": "0x87", 366 "EventName": "ILD_STALL.LCP", 367 "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk. [This event is alias to DECODE.LCP]", 368 "SampleAfterValue": "2000003", 369 "UMask": "0x1" 370 }, 371 { 372 "BriefDescription": "Instruction decoders utilized in a cycle", 373 "EventCode": "0x55", 374 "EventName": "INST_DECODED.DECODERS", 375 "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.", 376 "SampleAfterValue": "2000003", 377 "UMask": "0x1" 378 }, 379 { 380 "BriefDescription": "Instructions retired from execution.", 381 "EventName": "INST_RETIRED.ANY", 382 "PublicDescription": "Counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, Counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. INST_RETIRED.ANY_P is counted by a programmable counter and it is an architectural performance event. Counting: Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.", 383 "SampleAfterValue": "2000003", 384 "UMask": "0x1" 385 }, 386 { 387 "BriefDescription": "Number of instructions retired. General Counter - architectural event", 388 "Errata": "SKL091, SKL044", 389 "EventCode": "0xC0", 390 "EventName": "INST_RETIRED.ANY_P", 391 "PublicDescription": "Counts the number of instructions (EOMs) retired. Counting covers macro-fused instructions individually (that is, increments by two).", 392 "SampleAfterValue": "2000003" 393 }, 394 { 395 "BriefDescription": "Number of all retired NOP instructions.", 396 "Errata": "SKL091, SKL044", 397 "EventCode": "0xC0", 398 "EventName": "INST_RETIRED.NOP", 399 "PEBS": "2", 400 "SampleAfterValue": "2000003", 401 "UMask": "0x2" 402 }, 403 { 404 "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution", 405 "Errata": "SKL091, SKL044", 406 "EventCode": "0xC0", 407 "EventName": "INST_RETIRED.PREC_DIST", 408 "PEBS": "2", 409 "PublicDescription": "A version of INST_RETIRED that allows for a more unbiased distribution of samples across instructions retired. It utilizes the Precise Distribution of Instructions Retired (PDIR) feature to mitigate some bias in how retired instructions get sampled.", 410 "SampleAfterValue": "2000003", 411 "UMask": "0x1" 412 }, 413 { 414 "BriefDescription": "Number of cycles using always true condition applied to PEBS instructions retired event.", 415 "CounterMask": "10", 416 "Errata": "SKL091, SKL044", 417 "EventCode": "0xC0", 418 "EventName": "INST_RETIRED.TOTAL_CYCLES_PS", 419 "Invert": "1", 420 "PEBS": "2", 421 "PublicDescription": "Number of cycles using an always true condition applied to PEBS instructions retired event. (inst_ret< 16)", 422 "SampleAfterValue": "2000003", 423 "UMask": "0x1" 424 }, 425 { 426 "BriefDescription": "Clears speculative count", 427 "CounterMask": "1", 428 "EdgeDetect": "1", 429 "EventCode": "0x0D", 430 "EventName": "INT_MISC.CLEARS_COUNT", 431 "PublicDescription": "Counts the number of speculative clears due to any type of branch misprediction or machine clears", 432 "SampleAfterValue": "2000003", 433 "UMask": "0x1" 434 }, 435 { 436 "BriefDescription": "Cycles the issue-stage is waiting for front-end to fetch from resteered path following branch misprediction or machine clear events.", 437 "EventCode": "0x0D", 438 "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES", 439 "SampleAfterValue": "2000003", 440 "UMask": "0x80" 441 }, 442 { 443 "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)", 444 "EventCode": "0x0D", 445 "EventName": "INT_MISC.RECOVERY_CYCLES", 446 "PublicDescription": "Core cycles the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.", 447 "SampleAfterValue": "2000003", 448 "UMask": "0x1" 449 }, 450 { 451 "AnyThread": "1", 452 "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).", 453 "EventCode": "0x0D", 454 "EventName": "INT_MISC.RECOVERY_CYCLES_ANY", 455 "SampleAfterValue": "2000003", 456 "UMask": "0x1" 457 }, 458 { 459 "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use", 460 "EventCode": "0x03", 461 "EventName": "LD_BLOCKS.NO_SR", 462 "PublicDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.", 463 "SampleAfterValue": "100003", 464 "UMask": "0x8" 465 }, 466 { 467 "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.", 468 "EventCode": "0x03", 469 "EventName": "LD_BLOCKS.STORE_FORWARD", 470 "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.", 471 "SampleAfterValue": "100003", 472 "UMask": "0x2" 473 }, 474 { 475 "BriefDescription": "False dependencies in MOB due to partial compare on address.", 476 "EventCode": "0x07", 477 "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS", 478 "PublicDescription": "Counts false dependencies in MOB when the partial comparison upon loose net check and dependency was resolved by the Enhanced Loose net mechanism. This may not result in high performance penalties. Loose net checks can fail when loads and stores are 4k aliased.", 479 "SampleAfterValue": "100003", 480 "UMask": "0x1" 481 }, 482 { 483 "BriefDescription": "Demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.", 484 "EventCode": "0x4C", 485 "EventName": "LOAD_HIT_PRE.SW_PF", 486 "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.", 487 "SampleAfterValue": "100003", 488 "UMask": "0x1" 489 }, 490 { 491 "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder. [This event is alias to LSD.CYCLES_OK]", 492 "CounterMask": "4", 493 "EventCode": "0xA8", 494 "EventName": "LSD.CYCLES_4_UOPS", 495 "PublicDescription": "Counts the cycles when 4 uops are delivered by the LSD (Loop-stream detector). [This event is alias to LSD.CYCLES_OK]", 496 "SampleAfterValue": "2000003", 497 "UMask": "0x1" 498 }, 499 { 500 "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.", 501 "CounterMask": "1", 502 "EventCode": "0xA8", 503 "EventName": "LSD.CYCLES_ACTIVE", 504 "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).", 505 "SampleAfterValue": "2000003", 506 "UMask": "0x1" 507 }, 508 { 509 "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder. [This event is alias to LSD.CYCLES_4_UOPS]", 510 "CounterMask": "4", 511 "EventCode": "0xA8", 512 "EventName": "LSD.CYCLES_OK", 513 "PublicDescription": "Counts the cycles when 4 uops are delivered by the LSD (Loop-stream detector). [This event is alias to LSD.CYCLES_4_UOPS]", 514 "SampleAfterValue": "2000003", 515 "UMask": "0x1" 516 }, 517 { 518 "BriefDescription": "Number of Uops delivered by the LSD.", 519 "EventCode": "0xA8", 520 "EventName": "LSD.UOPS", 521 "PublicDescription": "Number of uops delivered to the back-end by the LSD(Loop Stream Detector).", 522 "SampleAfterValue": "2000003", 523 "UMask": "0x1" 524 }, 525 { 526 "BriefDescription": "Number of machine clears (nukes) of any type.", 527 "CounterMask": "1", 528 "EdgeDetect": "1", 529 "EventCode": "0xC3", 530 "EventName": "MACHINE_CLEARS.COUNT", 531 "SampleAfterValue": "100003", 532 "UMask": "0x1" 533 }, 534 { 535 "BriefDescription": "Self-modifying code (SMC) detected.", 536 "EventCode": "0xC3", 537 "EventName": "MACHINE_CLEARS.SMC", 538 "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.", 539 "SampleAfterValue": "100003", 540 "UMask": "0x4" 541 }, 542 { 543 "BriefDescription": "Number of times a microcode assist is invoked by HW other than FP-assist. Examples include AD (page Access Dirty) and AVX* related assists.", 544 "EventCode": "0xC1", 545 "EventName": "OTHER_ASSISTS.ANY", 546 "SampleAfterValue": "100003", 547 "UMask": "0x3f" 548 }, 549 { 550 "BriefDescription": "Cycles where the pipeline is stalled due to serializing operations.", 551 "EventCode": "0x59", 552 "EventName": "PARTIAL_RAT_STALLS.SCOREBOARD", 553 "PublicDescription": "This event counts cycles during which the microcode scoreboard stalls happen.", 554 "SampleAfterValue": "2000003", 555 "UMask": "0x1" 556 }, 557 { 558 "BriefDescription": "Resource-related stall cycles", 559 "EventCode": "0xa2", 560 "EventName": "RESOURCE_STALLS.ANY", 561 "PublicDescription": "Counts resource-related stall cycles.", 562 "SampleAfterValue": "2000003", 563 "UMask": "0x1" 564 }, 565 { 566 "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).", 567 "EventCode": "0xA2", 568 "EventName": "RESOURCE_STALLS.SB", 569 "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.", 570 "SampleAfterValue": "2000003", 571 "UMask": "0x8" 572 }, 573 { 574 "BriefDescription": "Increments whenever there is an update to the LBR array.", 575 "EventCode": "0xCC", 576 "EventName": "ROB_MISC_EVENTS.LBR_INSERTS", 577 "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.", 578 "SampleAfterValue": "2000003", 579 "UMask": "0x20" 580 }, 581 { 582 "BriefDescription": "Number of retired PAUSE instructions (that do not end up with a VMExit to the VMM; TSX aborted Instructions may be counted). This event is not supported on first SKL and KBL products.", 583 "EventCode": "0xCC", 584 "EventName": "ROB_MISC_EVENTS.PAUSE_INST", 585 "SampleAfterValue": "2000003", 586 "UMask": "0x40" 587 }, 588 { 589 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread", 590 "EventCode": "0x5E", 591 "EventName": "RS_EVENTS.EMPTY_CYCLES", 592 "PublicDescription": "Counts cycles during which the reservation station (RS) is empty for the thread.; Note: In ST-mode, not active thread should drive 0. This is usually caused by severely costly branch mispredictions, or allocator/FE issues.", 593 "SampleAfterValue": "2000003", 594 "UMask": "0x1" 595 }, 596 { 597 "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.", 598 "CounterMask": "1", 599 "EdgeDetect": "1", 600 "EventCode": "0x5E", 601 "EventName": "RS_EVENTS.EMPTY_END", 602 "Invert": "1", 603 "PublicDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate front-end Latency Bound issues.", 604 "SampleAfterValue": "2000003", 605 "UMask": "0x1" 606 }, 607 { 608 "BriefDescription": "Cycles per thread when uops are executed in port 0", 609 "EventCode": "0xA1", 610 "EventName": "UOPS_DISPATCHED_PORT.PORT_0", 611 "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.", 612 "SampleAfterValue": "2000003", 613 "UMask": "0x1" 614 }, 615 { 616 "BriefDescription": "Cycles per thread when uops are executed in port 1", 617 "EventCode": "0xA1", 618 "EventName": "UOPS_DISPATCHED_PORT.PORT_1", 619 "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.", 620 "SampleAfterValue": "2000003", 621 "UMask": "0x2" 622 }, 623 { 624 "BriefDescription": "Cycles per thread when uops are executed in port 2", 625 "EventCode": "0xA1", 626 "EventName": "UOPS_DISPATCHED_PORT.PORT_2", 627 "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 2.", 628 "SampleAfterValue": "2000003", 629 "UMask": "0x4" 630 }, 631 { 632 "BriefDescription": "Cycles per thread when uops are executed in port 3", 633 "EventCode": "0xA1", 634 "EventName": "UOPS_DISPATCHED_PORT.PORT_3", 635 "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 3.", 636 "SampleAfterValue": "2000003", 637 "UMask": "0x8" 638 }, 639 { 640 "BriefDescription": "Cycles per thread when uops are executed in port 4", 641 "EventCode": "0xA1", 642 "EventName": "UOPS_DISPATCHED_PORT.PORT_4", 643 "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 4.", 644 "SampleAfterValue": "2000003", 645 "UMask": "0x10" 646 }, 647 { 648 "BriefDescription": "Cycles per thread when uops are executed in port 5", 649 "EventCode": "0xA1", 650 "EventName": "UOPS_DISPATCHED_PORT.PORT_5", 651 "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.", 652 "SampleAfterValue": "2000003", 653 "UMask": "0x20" 654 }, 655 { 656 "BriefDescription": "Cycles per thread when uops are executed in port 6", 657 "EventCode": "0xA1", 658 "EventName": "UOPS_DISPATCHED_PORT.PORT_6", 659 "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.", 660 "SampleAfterValue": "2000003", 661 "UMask": "0x40" 662 }, 663 { 664 "BriefDescription": "Cycles per thread when uops are executed in port 7", 665 "EventCode": "0xA1", 666 "EventName": "UOPS_DISPATCHED_PORT.PORT_7", 667 "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 7.", 668 "SampleAfterValue": "2000003", 669 "UMask": "0x80" 670 }, 671 { 672 "BriefDescription": "Number of uops executed on the core.", 673 "EventCode": "0xB1", 674 "EventName": "UOPS_EXECUTED.CORE", 675 "PublicDescription": "Number of uops executed from any thread.", 676 "SampleAfterValue": "2000003", 677 "UMask": "0x2" 678 }, 679 { 680 "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.", 681 "CounterMask": "1", 682 "EventCode": "0xB1", 683 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1", 684 "SampleAfterValue": "2000003", 685 "UMask": "0x2" 686 }, 687 { 688 "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.", 689 "CounterMask": "2", 690 "EventCode": "0xB1", 691 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2", 692 "SampleAfterValue": "2000003", 693 "UMask": "0x2" 694 }, 695 { 696 "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.", 697 "CounterMask": "3", 698 "EventCode": "0xB1", 699 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3", 700 "SampleAfterValue": "2000003", 701 "UMask": "0x2" 702 }, 703 { 704 "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.", 705 "CounterMask": "4", 706 "EventCode": "0xB1", 707 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4", 708 "SampleAfterValue": "2000003", 709 "UMask": "0x2" 710 }, 711 { 712 "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.", 713 "CounterMask": "1", 714 "EventCode": "0xB1", 715 "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE", 716 "Invert": "1", 717 "SampleAfterValue": "2000003", 718 "UMask": "0x2" 719 }, 720 { 721 "BriefDescription": "Cycles where at least 1 uop was executed per-thread", 722 "CounterMask": "1", 723 "EventCode": "0xB1", 724 "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC", 725 "PublicDescription": "Cycles where at least 1 uop was executed per-thread.", 726 "SampleAfterValue": "2000003", 727 "UMask": "0x1" 728 }, 729 { 730 "BriefDescription": "Cycles where at least 2 uops were executed per-thread", 731 "CounterMask": "2", 732 "EventCode": "0xB1", 733 "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC", 734 "PublicDescription": "Cycles where at least 2 uops were executed per-thread.", 735 "SampleAfterValue": "2000003", 736 "UMask": "0x1" 737 }, 738 { 739 "BriefDescription": "Cycles where at least 3 uops were executed per-thread", 740 "CounterMask": "3", 741 "EventCode": "0xB1", 742 "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC", 743 "PublicDescription": "Cycles where at least 3 uops were executed per-thread.", 744 "SampleAfterValue": "2000003", 745 "UMask": "0x1" 746 }, 747 { 748 "BriefDescription": "Cycles where at least 4 uops were executed per-thread", 749 "CounterMask": "4", 750 "EventCode": "0xB1", 751 "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC", 752 "PublicDescription": "Cycles where at least 4 uops were executed per-thread.", 753 "SampleAfterValue": "2000003", 754 "UMask": "0x1" 755 }, 756 { 757 "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.", 758 "CounterMask": "1", 759 "EventCode": "0xB1", 760 "EventName": "UOPS_EXECUTED.STALL_CYCLES", 761 "Invert": "1", 762 "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.", 763 "SampleAfterValue": "2000003", 764 "UMask": "0x1" 765 }, 766 { 767 "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.", 768 "EventCode": "0xB1", 769 "EventName": "UOPS_EXECUTED.THREAD", 770 "PublicDescription": "Number of uops to be executed per-thread each cycle.", 771 "SampleAfterValue": "2000003", 772 "UMask": "0x1" 773 }, 774 { 775 "BriefDescription": "Counts the number of x87 uops dispatched.", 776 "EventCode": "0xB1", 777 "EventName": "UOPS_EXECUTED.X87", 778 "PublicDescription": "Counts the number of x87 uops executed.", 779 "SampleAfterValue": "2000003", 780 "UMask": "0x10" 781 }, 782 { 783 "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)", 784 "EventCode": "0x0E", 785 "EventName": "UOPS_ISSUED.ANY", 786 "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).", 787 "SampleAfterValue": "2000003", 788 "UMask": "0x1" 789 }, 790 { 791 "BriefDescription": "Number of slow LEA uops being allocated. A uop is generally considered SlowLea if it has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.", 792 "EventCode": "0x0E", 793 "EventName": "UOPS_ISSUED.SLOW_LEA", 794 "SampleAfterValue": "2000003", 795 "UMask": "0x20" 796 }, 797 { 798 "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread", 799 "CounterMask": "1", 800 "EventCode": "0x0E", 801 "EventName": "UOPS_ISSUED.STALL_CYCLES", 802 "Invert": "1", 803 "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.", 804 "SampleAfterValue": "2000003", 805 "UMask": "0x1" 806 }, 807 { 808 "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.", 809 "EventCode": "0x0E", 810 "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH", 811 "PublicDescription": "Counts the number of Blend Uops issued by the Resource Allocation Table (RAT) to the reservation station (RS) in order to preserve upper bits of vector registers. Starting with the Skylake microarchitecture, these Blend uops are needed since every Intel SSE instruction executed in Dirty Upper State needs to preserve bits 128-255 of the destination register. For more information, refer to Mixing Intel AVX and Intel SSE Code section of the Optimization Guide.", 812 "SampleAfterValue": "2000003", 813 "UMask": "0x2" 814 }, 815 { 816 "BriefDescription": "Number of macro-fused uops retired. (non precise)", 817 "EventCode": "0xc2", 818 "EventName": "UOPS_RETIRED.MACRO_FUSED", 819 "PublicDescription": "Counts the number of macro-fused uops retired. (non precise)", 820 "SampleAfterValue": "2000003", 821 "UMask": "0x4" 822 }, 823 { 824 "BriefDescription": "Retirement slots used.", 825 "EventCode": "0xC2", 826 "EventName": "UOPS_RETIRED.RETIRE_SLOTS", 827 "PublicDescription": "Counts the retirement slots used.", 828 "SampleAfterValue": "2000003", 829 "UMask": "0x2" 830 }, 831 { 832 "BriefDescription": "Cycles without actually retired uops.", 833 "CounterMask": "1", 834 "EventCode": "0xC2", 835 "EventName": "UOPS_RETIRED.STALL_CYCLES", 836 "Invert": "1", 837 "PublicDescription": "This event counts cycles without actually retired uops.", 838 "SampleAfterValue": "2000003", 839 "UMask": "0x2" 840 }, 841 { 842 "BriefDescription": "Cycles with less than 10 actually retired uops.", 843 "CounterMask": "16", 844 "EventCode": "0xC2", 845 "EventName": "UOPS_RETIRED.TOTAL_CYCLES", 846 "Invert": "1", 847 "PublicDescription": "Number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.", 848 "SampleAfterValue": "2000003", 849 "UMask": "0x2" 850 } 851] 852