pipeline.json 44.7 KB
Newer Older
1 2
[
    {
3
        "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.",
4
        "EventCode": "0x00",
5
        "Counter": "Fixed counter 0",
6 7 8 9
        "UMask": "0x1",
        "EventName": "INST_RETIRED.ANY",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Instructions retired from execution.",
10
        "CounterHTOff": "Fixed counter 0"
11 12
    },
    {
13
        "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.",
14
        "EventCode": "0x00",
15
        "Counter": "Fixed counter 1",
16 17 18 19
        "UMask": "0x2",
        "EventName": "CPU_CLK_UNHALTED.THREAD",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Core cycles when the thread is not in halt state",
20 21 22 23 24 25 26 27 28 29 30
        "CounterHTOff": "Fixed counter 1"
    },
    {
        "EventCode": "0x00",
        "Counter": "Fixed counter 1",
        "UMask": "0x2",
        "AnyThread": "1",
        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
        "CounterHTOff": "Fixed counter 1"
31 32
    },
    {
33
        "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.",
34
        "EventCode": "0x00",
35
        "Counter": "Fixed counter 2",
36 37 38 39
        "UMask": "0x3",
        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Reference cycles when the core is not in halt state.",
40
        "CounterHTOff": "Fixed counter 2"
41 42
    },
    {
43 44
        "PublicDescription": "Counts how many times the load operation got the true Block-on-Store blocking code preventing store forwarding. This includes cases when:a. preceding store conflicts with the load (incomplete overlap),b. store forwarding is impossible due to u-arch limitations,c. preceding lock RMW operations are not forwarded,d. store has the no-forward bit set (uncacheable/page-split/masked stores),e. all-blocking stores are used (mostly, fences and port I/O), and others.The most common case is a load blocked due to its address range overlapping with a preceding smaller uncompleted store. Note: This event does not take into account cases of out-of-SW-control (for example, SbTailHit), unknown physical STA, and cases of blocking loads on store due to being non-WB memory type or a lock. These cases are covered by other events. See the table of not supported store forwards in the Optimization Guide.",
        "EventCode": "0x03",
45
        "Counter": "0,1,2,3",
46 47 48 49
        "UMask": "0x2",
        "EventName": "LD_BLOCKS.STORE_FORWARD",
        "SampleAfterValue": "100003",
        "BriefDescription": "Loads blocked by overlapping with store buffer that cannot be forwarded .",
50 51 52
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
53 54
        "PublicDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
        "EventCode": "0x03",
55
        "Counter": "0,1,2,3",
56 57
        "UMask": "0x8",
        "EventName": "LD_BLOCKS.NO_SR",
58
        "SampleAfterValue": "100003",
59
        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use",
60 61 62
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
63 64
        "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.",
        "EventCode": "0x07",
65 66
        "Counter": "0,1,2,3",
        "UMask": "0x1",
67 68 69
        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
        "SampleAfterValue": "100003",
        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
70 71 72
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
73 74
        "PublicDescription": "Core cycles the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
        "EventCode": "0x0D",
75 76
        "Counter": "0,1,2,3",
        "UMask": "0x1",
77
        "EventName": "INT_MISC.RECOVERY_CYCLES",
78
        "SampleAfterValue": "2000003",
79
        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)",
80 81 82 83 84 85
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "EventCode": "0x0D",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
86 87
        "AnyThread": "1",
        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
88
        "SampleAfterValue": "2000003",
89
        "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).",
90 91 92 93 94 95 96 97 98 99 100 101
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "EventCode": "0x0D",
        "Counter": "0,1,2,3",
        "UMask": "0x80",
        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles the issue-stage is waiting for front-end to fetch from resteered path following branch misprediction or machine clear events.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
102 103
        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
        "EventCode": "0x0E",
104 105
        "Counter": "0,1,2,3",
        "UMask": "0x1",
106
        "EventName": "UOPS_ISSUED.ANY",
107
        "SampleAfterValue": "2000003",
108
        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)",
109 110 111
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
112 113 114
        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
        "EventCode": "0x0E",
        "Invert": "1",
115
        "Counter": "0,1,2,3",
116 117
        "UMask": "0x1",
        "EventName": "UOPS_ISSUED.STALL_CYCLES",
118
        "SampleAfterValue": "2000003",
119 120
        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread",
        "CounterMask": "1",
121 122 123
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
124
        "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.",
125 126
        "EventCode": "0x0E",
        "Counter": "0,1,2,3",
127 128
        "UMask": "0x2",
        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
129
        "SampleAfterValue": "2000003",
130
        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
131 132 133 134 135 136 137 138 139 140 141 142
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "EventCode": "0x0E",
        "Counter": "0,1,2,3",
        "UMask": "0x20",
        "EventName": "UOPS_ISSUED.SLOW_LEA",
        "SampleAfterValue": "2000003",
        "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.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
143
        "EventCode": "0x14",
144 145
        "Counter": "0,1,2,3",
        "UMask": "0x1",
146
        "EventName": "ARITH.DIVIDER_ACTIVE",
147
        "SampleAfterValue": "2000003",
148
        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
149 150 151 152
        "CounterMask": "1",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
153 154
        "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.",
        "EventCode": "0x3C",
155
        "Counter": "0,1,2,3",
156 157
        "UMask": "0x0",
        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
158
        "SampleAfterValue": "2000003",
159
        "BriefDescription": "Thread cycles when thread is not in halt state",
160 161 162
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
163
        "EventCode": "0x3C",
164
        "Counter": "0,1,2,3",
165 166 167
        "UMask": "0x0",
        "AnyThread": "1",
        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
168
        "SampleAfterValue": "2000003",
169
        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
170 171 172
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
173 174
        "PublicDescription": "Counts when the Current Privilege Level (CPL) transitions from ring 1, 2 or 3 to ring 0 (Kernel).",
        "EventCode": "0x3C",
175
        "Counter": "0,1,2,3",
176 177 178 179 180 181
        "UMask": "0x0",
        "EdgeDetect": "1",
        "EventName": "CPU_CLK_UNHALTED.RING0_TRANS",
        "SampleAfterValue": "100007",
        "BriefDescription": "Counts when there is a transition from ring 1, 2 or 3 to ring 0.",
        "CounterMask": "1",
182 183 184
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
185
        "EventCode": "0x3C",
186 187
        "Counter": "0,1,2,3",
        "UMask": "0x1",
188 189 190
        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
        "SampleAfterValue": "2503",
        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
191 192 193
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
194
        "EventCode": "0x3C",
195
        "Counter": "0,1,2,3",
196 197 198 199 200
        "UMask": "0x1",
        "AnyThread": "1",
        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
        "SampleAfterValue": "2503",
        "BriefDescription": "Core crystal clock cycles when at least one thread on the physical core is unhalted.",
201 202 203
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
204
        "EventCode": "0x3C",
205
        "Counter": "0,1,2,3",
206 207 208 209
        "UMask": "0x1",
        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
        "SampleAfterValue": "2503",
        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
210 211 212
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
213 214
        "EventCode": "0x3C",
        "Counter": "0,1,2,3",
215
        "UMask": "0x1",
216 217 218 219 220 221 222 223 224 225 226
        "AnyThread": "1",
        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
        "SampleAfterValue": "2503",
        "BriefDescription": "Core crystal clock cycles when at least one thread on the physical core is unhalted.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "EventCode": "0x3C",
        "Counter": "0,1,2,3",
        "UMask": "0x2",
        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
227
        "SampleAfterValue": "2000003",
228 229
        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
230 231
    },
    {
232
        "EventCode": "0x3C",
233 234
        "Counter": "0,1,2,3",
        "UMask": "0x2",
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
        "SampleAfterValue": "2503",
        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "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.",
        "EventCode": "0x4C",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EventName": "LOAD_HIT_PRE.SW_PF",
        "SampleAfterValue": "100003",
        "BriefDescription": "Demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "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.",
        "EventCode": "0x5E",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EventName": "RS_EVENTS.EMPTY_CYCLES",
256
        "SampleAfterValue": "2000003",
257
        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
258 259 260
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
261 262
        "PublicDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate front-end Latency Bound issues.",
        "EventCode": "0x5E",
263 264 265
        "Invert": "1",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
266 267
        "EdgeDetect": "1",
        "EventName": "RS_EVENTS.EMPTY_END",
268
        "SampleAfterValue": "2000003",
269
        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
270 271 272 273
        "CounterMask": "1",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
274 275
        "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.",
        "EventCode": "0x87",
276 277
        "Counter": "0,1,2,3",
        "UMask": "0x1",
278
        "EventName": "ILD_STALL.LCP",
279
        "SampleAfterValue": "2000003",
280
        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
281 282 283
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
284 285
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
        "EventCode": "0xA1",
286 287
        "Counter": "0,1,2,3",
        "UMask": "0x1",
288 289 290
        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles per thread when uops are executed in port 0",
291 292 293
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
294 295
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
        "EventCode": "0xA1",
296 297
        "Counter": "0,1,2,3",
        "UMask": "0x2",
298 299 300
        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles per thread when uops are executed in port 1",
301 302 303
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
304 305
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 2.",
        "EventCode": "0xA1",
306
        "Counter": "0,1,2,3",
307 308 309 310
        "UMask": "0x4",
        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles per thread when uops are executed in port 2",
311 312 313
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
314 315
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 3.",
        "EventCode": "0xA1",
316 317
        "Counter": "0,1,2,3",
        "UMask": "0x8",
318 319 320
        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles per thread when uops are executed in port 3",
321 322 323
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
324 325
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 4.",
        "EventCode": "0xA1",
326 327
        "Counter": "0,1,2,3",
        "UMask": "0x10",
328 329 330
        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles per thread when uops are executed in port 4",
331 332 333
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
334 335
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
        "EventCode": "0xA1",
336 337
        "Counter": "0,1,2,3",
        "UMask": "0x20",
338 339 340
        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles per thread when uops are executed in port 5",
341 342 343
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
344 345
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
        "EventCode": "0xA1",
346 347
        "Counter": "0,1,2,3",
        "UMask": "0x40",
348 349 350
        "EventName": "UOPS_DISPATCHED_PORT.PORT_6",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles per thread when uops are executed in port 6",
351 352 353
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
354 355
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 7.",
        "EventCode": "0xA1",
356
        "Counter": "0,1,2,3",
357 358 359 360
        "UMask": "0x80",
        "EventName": "UOPS_DISPATCHED_PORT.PORT_7",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles per thread when uops are executed in port 7",
361 362 363
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
364 365
        "PublicDescription": "Counts resource-related stall cycles. Reasons for stalls can be as follows:a. *any* u-arch structure got full (LB, SB, RS, ROB, BOB, LM, Physical Register Reclaim Table (PRRT), or Physical History Table (PHT) slots).b. *any* u-arch structure got empty (like INT/SIMD FreeLists).c. FPU control word (FPCW), MXCSR.and others. This counts cycles that the pipeline back-end blocked uop delivery from the front-end.",
        "EventCode": "0xA2",
366
        "Counter": "0,1,2,3",
367 368 369 370
        "UMask": "0x1",
        "EventName": "RESOURCE_STALLS.ANY",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Resource-related stall cycles",
371 372 373
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
374 375
        "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.",
        "EventCode": "0xA2",
376
        "Counter": "0,1,2,3",
377 378
        "UMask": "0x8",
        "EventName": "RESOURCE_STALLS.SB",
379
        "SampleAfterValue": "2000003",
380
        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
381 382 383
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
384
        "EventCode": "0xA3",
385
        "Counter": "0,1,2,3",
386 387
        "UMask": "0x1",
        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
388
        "SampleAfterValue": "2000003",
389 390
        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
        "CounterMask": "1",
391 392 393
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
394
        "EventCode": "0xA3",
395
        "Counter": "0,1,2,3",
396 397
        "UMask": "0x4",
        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
398
        "SampleAfterValue": "2000003",
399 400
        "BriefDescription": "Total execution stalls.",
        "CounterMask": "4",
401 402 403
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
404
        "EventCode": "0xA3",
405
        "Counter": "0,1,2,3",
406 407
        "UMask": "0x5",
        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
408
        "SampleAfterValue": "2000003",
409 410
        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
        "CounterMask": "5",
411 412 413
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
414
        "EventCode": "0xA3",
415
        "Counter": "0,1,2,3",
416 417
        "UMask": "0x8",
        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
418
        "SampleAfterValue": "2000003",
419 420
        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
        "CounterMask": "8",
421 422 423
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
424
        "EventCode": "0xA3",
425
        "Counter": "0,1,2,3",
426 427
        "UMask": "0xc",
        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
428
        "SampleAfterValue": "2000003",
429 430
        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
        "CounterMask": "12",
431 432 433
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
434
        "EventCode": "0xA3",
435
        "Counter": "0,1,2,3",
436 437
        "UMask": "0x10",
        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
438
        "SampleAfterValue": "2000003",
439 440
        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
        "CounterMask": "16",
441 442 443
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
444
        "EventCode": "0xA3",
445
        "Counter": "0,1,2,3",
446 447
        "UMask": "0x14",
        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
448
        "SampleAfterValue": "2000003",
449 450 451
        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
        "CounterMask": "20",
        "CounterHTOff": "0,1,2,3"
452 453
    },
    {
454
        "PublicDescription": "Counts cycles during which no uops were executed on all ports and Reservation Station (RS) was not empty.",
455 456 457 458 459 460 461 462 463
        "EventCode": "0xA6",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles where no uops were executed, the Reservation Station was not empty, the Store Buffer was full and there was no outstanding load.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
464
        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
465 466 467 468 469 470 471 472 473
        "EventCode": "0xA6",
        "Counter": "0,1,2,3",
        "UMask": "0x2",
        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
474
        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
475 476 477 478 479 480 481 482 483
        "EventCode": "0xA6",
        "Counter": "0,1,2,3",
        "UMask": "0x4",
        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
484
        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
485 486 487 488 489 490 491 492 493
        "EventCode": "0xA6",
        "Counter": "0,1,2,3",
        "UMask": "0x8",
        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
494
        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512
        "EventCode": "0xA6",
        "Counter": "0,1,2,3",
        "UMask": "0x10",
        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "EventCode": "0xA6",
        "Counter": "0,1,2,3",
        "UMask": "0x40",
        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles where the Store Buffer was full and no outstanding load.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
513 514
        "PublicDescription": "Number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
        "EventCode": "0xA8",
515 516
        "Counter": "0,1,2,3",
        "UMask": "0x1",
517
        "EventName": "LSD.UOPS",
518
        "SampleAfterValue": "2000003",
519
        "BriefDescription": "Number of Uops delivered by the LSD.",
520 521 522
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
523 524
        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
        "EventCode": "0xA8",
525
        "Counter": "0,1,2,3",
526 527
        "UMask": "0x1",
        "EventName": "LSD.CYCLES_ACTIVE",
528
        "SampleAfterValue": "2000003",
529 530
        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
        "CounterMask": "1",
531 532 533
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
534 535
        "PublicDescription": "Counts the cycles when 4 uops are delivered by the LSD (Loop-stream detector).",
        "EventCode": "0xA8",
536
        "Counter": "0,1,2,3",
537 538
        "UMask": "0x1",
        "EventName": "LSD.CYCLES_4_UOPS",
539
        "SampleAfterValue": "2000003",
540 541
        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
        "CounterMask": "4",
542 543 544
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
545 546
        "PublicDescription": "Number of uops to be executed per-thread each cycle.",
        "EventCode": "0xB1",
547
        "Counter": "0,1,2,3",
548 549
        "UMask": "0x1",
        "EventName": "UOPS_EXECUTED.THREAD",
550
        "SampleAfterValue": "2000003",
551
        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
552 553 554
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
555 556 557
        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
        "EventCode": "0xB1",
        "Invert": "1",
558
        "Counter": "0,1,2,3",
559 560
        "UMask": "0x1",
        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
561
        "SampleAfterValue": "2000003",
562 563
        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
        "CounterMask": "1",
564 565 566
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
567 568
        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
        "EventCode": "0xB1",
569
        "Counter": "0,1,2,3",
570 571
        "UMask": "0x1",
        "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC",
572
        "SampleAfterValue": "2000003",
573 574
        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
        "CounterMask": "1",
575 576 577
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
578 579
        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
        "EventCode": "0xB1",
580
        "Counter": "0,1,2,3",
581 582
        "UMask": "0x1",
        "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC",
583
        "SampleAfterValue": "2000003",
584 585
        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
        "CounterMask": "2",
586 587 588
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
589 590
        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
        "EventCode": "0xB1",
591
        "Counter": "0,1,2,3",
592 593
        "UMask": "0x1",
        "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC",
594
        "SampleAfterValue": "2000003",
595 596
        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
        "CounterMask": "3",
597 598 599
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
600 601
        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
        "EventCode": "0xB1",
602
        "Counter": "0,1,2,3",
603 604
        "UMask": "0x1",
        "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC",
605
        "SampleAfterValue": "2000003",
606
        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
607 608 609 610
        "CounterMask": "4",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
611 612
        "PublicDescription": "Number of uops executed from any thread.",
        "EventCode": "0xB1",
613
        "Counter": "0,1,2,3",
614 615
        "UMask": "0x2",
        "EventName": "UOPS_EXECUTED.CORE",
616
        "SampleAfterValue": "2000003",
617
        "BriefDescription": "Number of uops executed on the core.",
618 619 620
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
621
        "EventCode": "0xB1",
622
        "Counter": "0,1,2,3",
623 624
        "UMask": "0x2",
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
625
        "SampleAfterValue": "2000003",
626 627
        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
        "CounterMask": "1",
628 629 630
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
631
        "EventCode": "0xB1",
632 633
        "Counter": "0,1,2,3",
        "UMask": "0x2",
634 635 636 637
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
        "CounterMask": "2",
638 639 640
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
641
        "EventCode": "0xB1",
642
        "Counter": "0,1,2,3",
643 644 645 646 647
        "UMask": "0x2",
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
        "CounterMask": "3",
648 649 650
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
651
        "EventCode": "0xB1",
652
        "Counter": "0,1,2,3",
653 654
        "UMask": "0x2",
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
655
        "SampleAfterValue": "2000003",
656 657
        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
        "CounterMask": "4",
658 659 660
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
661 662
        "EventCode": "0xB1",
        "Invert": "1",
663
        "Counter": "0,1,2,3",
664 665
        "UMask": "0x2",
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
666
        "SampleAfterValue": "2000003",
667 668
        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
        "CounterMask": "1",
669 670 671
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
672 673
        "PublicDescription": "Counts the number of x87 uops executed.",
        "EventCode": "0xB1",
674 675
        "Counter": "0,1,2,3",
        "UMask": "0x10",
676
        "EventName": "UOPS_EXECUTED.X87",
677
        "SampleAfterValue": "2000003",
678
        "BriefDescription": "Counts the number of x87 uops dispatched.",
679 680 681
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
682 683
        "PublicDescription": "Counts the number of instructions (EOMs) retired. Counting covers macro-fused instructions individually (that is, increments by two).",
        "EventCode": "0xC0",
684
        "Counter": "0,1,2,3",
685 686 687
        "UMask": "0x0",
        "Errata": "SKL091, SKL044",
        "EventName": "INST_RETIRED.ANY_P",
688
        "SampleAfterValue": "2000003",
689
        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
690 691 692
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
693 694 695 696 697 698 699
        "PEBS": "2",
        "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.",
        "EventCode": "0xC0",
        "Counter": "1",
        "UMask": "0x1",
        "Errata": "SKL091, SKL044",
        "EventName": "INST_RETIRED.PREC_DIST",
700
        "SampleAfterValue": "2000003",
701 702
        "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution",
        "CounterHTOff": "1"
703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718
    },
    {
        "PEBS": "2",
        "PublicDescription": "Number of cycles using an always true condition applied to  PEBS instructions retired event. (inst_ret< 16)",
        "EventCode": "0xC0",
        "Invert": "1",
        "Counter": "0,2,3",
        "UMask": "0x1",
        "Errata": "SKL091, SKL044",
        "EventName": "INST_RETIRED.TOTAL_CYCLES_PS",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Number of cycles using always true condition applied to  PEBS instructions retired event.",
        "CounterMask": "10",
        "CounterHTOff": "0,2,3"
    },
    {
719
        "EventCode": "0xC1",
720
        "Counter": "0,1,2,3",
721 722 723 724 725 726 727 728 729 730 731 732
        "UMask": "0x3f",
        "EventName": "OTHER_ASSISTS.ANY",
        "SampleAfterValue": "100003",
        "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.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "PublicDescription": "Counts the retirement slots used.",
        "EventCode": "0xC2",
        "Counter": "0,1,2,3",
        "UMask": "0x2",
        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
733
        "SampleAfterValue": "2000003",
734
        "BriefDescription": "Retirement slots used.",
735 736 737
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
738 739 740
        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts cycles without actually retired uops.",
        "EventCode": "0xC2",
        "Invert": "1",
741
        "Counter": "0,1,2,3",
742 743
        "UMask": "0x2",
        "EventName": "UOPS_RETIRED.STALL_CYCLES",
744
        "SampleAfterValue": "2000003",
745
        "BriefDescription": "Cycles without actually retired uops.",
746 747 748 749
        "CounterMask": "1",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
750 751 752
        "PublicDescription": "Number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
        "EventCode": "0xC2",
        "Invert": "1",
753
        "Counter": "0,1,2,3",
754 755
        "UMask": "0x2",
        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
756
        "SampleAfterValue": "2000003",
757 758
        "BriefDescription": "Cycles with less than 10 actually retired uops.",
        "CounterMask": "10",
759 760 761
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
762
        "EventCode": "0xC3",
763
        "Counter": "0,1,2,3",
764 765 766
        "UMask": "0x1",
        "EdgeDetect": "1",
        "EventName": "MACHINE_CLEARS.COUNT",
767
        "SampleAfterValue": "100003",
768 769
        "BriefDescription": "Number of machine clears (nukes) of any type.",
        "CounterMask": "1",
770 771 772
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
773 774
        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
        "EventCode": "0xC3",
775
        "Counter": "0,1,2,3",
776 777 778 779
        "UMask": "0x4",
        "EventName": "MACHINE_CLEARS.SMC",
        "SampleAfterValue": "100003",
        "BriefDescription": "Self-modifying code (SMC) detected.",
780 781 782
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
783 784
        "PublicDescription": "Counts all (macro) branch instructions retired.",
        "EventCode": "0xC4",
785 786
        "Counter": "0,1,2,3",
        "UMask": "0x0",
787 788 789 790
        "Errata": "SKL091",
        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
        "SampleAfterValue": "400009",
        "BriefDescription": "All (macro) branch instructions retired.",
791 792 793
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
794 795 796
        "PEBS": "1",
        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts conditional branch instructions retired.",
        "EventCode": "0xC4",
797 798
        "Counter": "0,1,2,3",
        "UMask": "0x1",
799 800 801 802
        "Errata": "SKL091",
        "EventName": "BR_INST_RETIRED.CONDITIONAL",
        "SampleAfterValue": "400009",
        "BriefDescription": "Conditional branch instructions retired.",
803 804 805
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
806 807 808
        "PEBS": "1",
        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts both direct and indirect near call instructions retired.",
        "EventCode": "0xC4",
809
        "Counter": "0,1,2,3",
810 811 812 813 814
        "UMask": "0x2",
        "Errata": "SKL091",
        "EventName": "BR_INST_RETIRED.NEAR_CALL",
        "SampleAfterValue": "100007",
        "BriefDescription": "Direct and indirect near call instructions retired.",
815 816 817
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
818 819 820
        "PEBS": "2",
        "PublicDescription": "This is a precise version of BR_INST_RETIRED.ALL_BRANCHES that counts all (macro) branch instructions retired.",
        "EventCode": "0xC4",
821
        "Counter": "0,1,2,3",
822 823 824 825 826 827
        "UMask": "0x4",
        "Errata": "SKL091",
        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
        "SampleAfterValue": "400009",
        "BriefDescription": "All (macro) branch instructions retired.",
        "CounterHTOff": "0,1,2,3"
828 829
    },
    {
830 831 832
        "PEBS": "1",
        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts return instructions retired.",
        "EventCode": "0xC4",
833
        "Counter": "0,1,2,3",
834 835 836 837 838
        "UMask": "0x8",
        "Errata": "SKL091",
        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
        "SampleAfterValue": "100007",
        "BriefDescription": "Return instructions retired.",
839 840 841
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
842 843
        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts not taken branch instructions retired.",
        "EventCode": "0xC4",
844
        "Counter": "0,1,2,3",
845 846 847 848 849
        "UMask": "0x10",
        "Errata": "SKL091",
        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
        "SampleAfterValue": "400009",
        "BriefDescription": "Not taken branch instructions retired.",
850 851 852
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
853 854 855
        "PEBS": "1",
        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts taken branch instructions retired.",
        "EventCode": "0xC4",
856
        "Counter": "0,1,2,3",
857 858 859 860 861
        "UMask": "0x20",
        "Errata": "SKL091",
        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
        "SampleAfterValue": "400009",
        "BriefDescription": "Taken branch instructions retired.",
862 863 864
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
865 866 867
        "PEBS": "1",
        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts far branch instructions retired.",
        "EventCode": "0xC4",
868
        "Counter": "0,1,2,3",
869 870 871 872 873
        "UMask": "0x40",
        "Errata": "SKL091",
        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
        "SampleAfterValue": "100007",
        "BriefDescription": "Counts the number of far branch instructions retired.",
874 875 876
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
877 878
        "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.",
        "EventCode": "0xC5",
879 880
        "Counter": "0,1,2,3",
        "UMask": "0x0",
881 882 883
        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
        "SampleAfterValue": "400009",
        "BriefDescription": "All mispredicted macro branch instructions retired.",
884 885 886
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
887 888 889
        "PEBS": "1",
        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts mispredicted conditional branch instructions retired.",
        "EventCode": "0xC5",
890 891
        "Counter": "0,1,2,3",
        "UMask": "0x1",
892 893 894
        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
        "SampleAfterValue": "400009",
        "BriefDescription": "Mispredicted conditional branch instructions retired.",
895 896 897
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
898 899 900
        "PEBS": "1",
        "PublicDescription": "This event counts both taken and not taken retired mispredicted direct and indirect near calls, including both register and memory indirect.",
        "EventCode": "0xC5",
901
        "Counter": "0,1,2,3",
902 903 904 905
        "UMask": "0x2",
        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
        "SampleAfterValue": "400009",
        "BriefDescription": "Mispredicted direct and indirect near call instructions retired.",
906 907 908
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
909 910 911
        "PEBS": "2",
        "PublicDescription": "This is a precise version of BR_MISP_RETIRED.ALL_BRANCHES that counts all mispredicted macro branch instructions retired.",
        "EventCode": "0xC5",
912
        "Counter": "0,1,2,3",
913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947
        "UMask": "0x4",
        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
        "SampleAfterValue": "400009",
        "BriefDescription": "Mispredicted macro branch instructions retired.",
        "CounterHTOff": "0,1,2,3"
    },
    {
        "PEBS": "1",
        "PublicDescription": "Number of near branch instructions retired that were mispredicted and taken.",
        "EventCode": "0xC5",
        "Counter": "0,1,2,3",
        "UMask": "0x20",
        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
        "SampleAfterValue": "400009",
        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken. ",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "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.",
        "EventCode": "0xCC",
        "Counter": "0,1,2,3",
        "UMask": "0x20",
        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Increments whenever there is an update to the LBR array.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    },
    {
        "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.",
        "EventCode": "0xE6",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EventName": "BACLEARS.ANY",
        "SampleAfterValue": "100003",
        "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.",
948 949 950
        "CounterHTOff": "0,1,2,3,4,5,6,7"
    }
]