pipeline.json 47.3 KB
Newer Older
1 2
[
    {
3
        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
4 5
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
6 7 8
        "CounterMask": "1",
        "EventCode": "0x14",
        "EventName": "ARITH.DIVIDER_ACTIVE",
9
        "PEBScounters": "0,1,2,3,4,5,6,7",
10 11
        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
        "SampleAfterValue": "1000003",
12
        "Speculative": "1",
13
        "UMask": "0x9"
14 15
    },
    {
16
        "BriefDescription": "All branch instructions retired.",
17
        "CollectPEBSRecord": "2",
18
        "Counter": "0,1,2,3,4,5,6,7",
19 20 21
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
        "PEBS": "1",
22
        "PEBScounters": "0,1,2,3,4,5,6,7",
23 24
        "PublicDescription": "Counts all branch instructions retired.",
        "SampleAfterValue": "400009"
25 26
    },
    {
27
        "BriefDescription": "Conditional branch instructions retired.",
28
        "CollectPEBSRecord": "2",
29
        "Counter": "0,1,2,3,4,5,6,7",
30 31 32
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.COND",
        "PEBS": "1",
33
        "PEBScounters": "0,1,2,3,4,5,6,7",
34 35 36
        "PublicDescription": "Counts conditional branch instructions retired.",
        "SampleAfterValue": "400009",
        "UMask": "0x11"
37 38
    },
    {
39
        "BriefDescription": "Not taken branch instructions retired.",
40
        "CollectPEBSRecord": "2",
41 42 43 44 45 46 47 48
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
        "PEBS": "1",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Counts not taken branch instructions retired.",
        "SampleAfterValue": "400009",
        "UMask": "0x10"
49 50
    },
    {
51
        "BriefDescription": "Taken conditional branch instructions retired.",
52
        "CollectPEBSRecord": "2",
53
        "Counter": "0,1,2,3,4,5,6,7",
54 55 56
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.COND_TAKEN",
        "PEBS": "1",
57
        "PEBScounters": "0,1,2,3,4,5,6,7",
58 59 60
        "PublicDescription": "Counts taken conditional branch instructions retired.",
        "SampleAfterValue": "400009",
        "UMask": "0x1"
61 62
    },
    {
63
        "BriefDescription": "Far branch instructions retired.",
64
        "CollectPEBSRecord": "2",
65
        "Counter": "0,1,2,3,4,5,6,7",
66 67 68
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
        "PEBS": "1",
69
        "PEBScounters": "0,1,2,3,4,5,6,7",
70 71 72
        "PublicDescription": "Counts far branch instructions retired.",
        "SampleAfterValue": "100007",
        "UMask": "0x40"
73 74
    },
    {
75
        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
76 77 78 79 80 81
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.INDIRECT",
        "PEBS": "1",
        "PEBScounters": "0,1,2,3,4,5,6,7",
82
        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
83
        "SampleAfterValue": "100003",
84
        "UMask": "0x80"
85 86
    },
    {
87
        "BriefDescription": "Direct and indirect near call instructions retired.",
88 89
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
90 91 92
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.NEAR_CALL",
        "PEBS": "1",
93
        "PEBScounters": "0,1,2,3,4,5,6,7",
94 95 96
        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
        "SampleAfterValue": "100007",
        "UMask": "0x2"
97 98
    },
    {
99
        "BriefDescription": "Return instructions retired.",
100 101
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
102 103 104
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
        "PEBS": "1",
105
        "PEBScounters": "0,1,2,3,4,5,6,7",
106 107 108
        "PublicDescription": "Counts return instructions retired.",
        "SampleAfterValue": "100007",
        "UMask": "0x8"
109 110
    },
    {
111
        "BriefDescription": "Taken branch instructions retired.",
112 113
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
114 115 116
        "EventCode": "0xc4",
        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
        "PEBS": "1",
117
        "PEBScounters": "0,1,2,3,4,5,6,7",
118 119 120
        "PublicDescription": "Counts taken branch instructions retired.",
        "SampleAfterValue": "400009",
        "UMask": "0x20"
121 122
    },
    {
123
        "BriefDescription": "All mispredicted branch instructions retired.",
124
        "CollectPEBSRecord": "2",
125 126 127 128 129 130 131
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xc5",
        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
        "PEBS": "1",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "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.",
        "SampleAfterValue": "50021"
132 133
    },
    {
134
        "BriefDescription": "Mispredicted conditional branch instructions retired.",
135 136
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
137 138 139
        "EventCode": "0xc5",
        "EventName": "BR_MISP_RETIRED.COND",
        "PEBS": "1",
140
        "PEBScounters": "0,1,2,3,4,5,6,7",
141 142 143
        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
        "SampleAfterValue": "50021",
        "UMask": "0x11"
144 145
    },
    {
146
        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
147
        "CollectPEBSRecord": "2",
148 149 150 151 152 153 154 155
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xc5",
        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
        "PEBS": "1",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
        "SampleAfterValue": "50021",
        "UMask": "0x10"
156 157
    },
    {
158
        "BriefDescription": "number of branch instructions retired that were mispredicted and taken. Non PEBS",
159 160
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
161 162 163
        "EventCode": "0xc5",
        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
        "PEBS": "1",
164
        "PEBScounters": "0,1,2,3,4,5,6,7",
165 166 167
        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
        "SampleAfterValue": "50021",
        "UMask": "0x1"
168 169
    },
    {
170
        "BriefDescription": "All miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
171 172
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
173 174 175
        "EventCode": "0xc5",
        "EventName": "BR_MISP_RETIRED.INDIRECT",
        "PEBS": "1",
176
        "PEBScounters": "0,1,2,3,4,5,6,7",
177 178 179
        "PublicDescription": "Counts all miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
        "SampleAfterValue": "50021",
        "UMask": "0x80"
180 181
    },
    {
182
        "BriefDescription": "Mispredicted indirect CALL instructions retired.",
183
        "CollectPEBSRecord": "2",
184 185 186 187 188 189 190 191
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xc5",
        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
        "PEBS": "1",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
        "SampleAfterValue": "50021",
        "UMask": "0x2"
192 193
    },
    {
194
        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
195 196
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
197 198 199
        "EventCode": "0xc5",
        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
        "PEBS": "1",
200
        "PEBScounters": "0,1,2,3,4,5,6,7",
201 202 203
        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
        "SampleAfterValue": "50021",
        "UMask": "0x20"
204 205
    },
    {
206
        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
207 208
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
209 210
        "EventCode": "0xec",
        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
211
        "PEBScounters": "0,1,2,3,4,5,6,7",
212 213
        "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.",
        "SampleAfterValue": "2000003",
214
        "Speculative": "1",
215
        "UMask": "0x2"
216 217
    },
    {
218
        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
219 220
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
221
        "EventCode": "0x3C",
222
        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
223
        "PEBScounters": "0,1,2,3,4,5,6,7",
224
        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
225
        "SampleAfterValue": "25003",
226
        "Speculative": "1",
227
        "UMask": "0x2"
228 229
    },
    {
230
        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
231
        "CollectPEBSRecord": "2",
232 233 234 235 236 237
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0x3c",
        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "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.",
        "SampleAfterValue": "2000003",
238
        "Speculative": "1",
239
        "UMask": "0x8"
240 241
    },
    {
242
        "BriefDescription": "Reference cycles when the core is not in halt state.",
243
        "CollectPEBSRecord": "2",
244 245 246 247 248
        "Counter": "Fixed counter 2",
        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
        "PEBScounters": "34",
        "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 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.",
        "SampleAfterValue": "2000003",
249
        "Speculative": "1",
250
        "UMask": "0x3"
251 252
    },
    {
253
        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
254 255
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
256 257
        "EventCode": "0x3C",
        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
258
        "PEBScounters": "0,1,2,3,4,5,6,7",
259 260
        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
        "SampleAfterValue": "25003",
261 262
        "Speculative": "1",
        "UMask": "0x1"
263 264
    },
    {
265
        "BriefDescription": "Core cycles when the thread is not in halt state",
266
        "CollectPEBSRecord": "2",
267 268 269 270 271
        "Counter": "Fixed counter 1",
        "EventName": "CPU_CLK_UNHALTED.THREAD",
        "PEBScounters": "33",
        "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.",
        "SampleAfterValue": "2000003",
272 273
        "Speculative": "1",
        "UMask": "0x2"
274 275
    },
    {
276
        "BriefDescription": "Thread cycles when thread is not in halt state",
277 278
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
279 280
        "EventCode": "0x3C",
        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
281
        "PEBScounters": "0,1,2,3,4,5,6,7",
282 283 284 285 286 287 288 289 290 291 292 293
        "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.",
        "SampleAfterValue": "2000003",
        "Speculative": "1"
    },
    {
        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3",
        "CounterMask": "8",
        "EventCode": "0xA3",
        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
        "PEBScounters": "0,1,2,3",
294 295
        "SampleAfterValue": "1000003",
        "Speculative": "1",
296
        "UMask": "0x8"
297 298
    },
    {
299
        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
300
        "CollectPEBSRecord": "2",
301 302 303 304 305 306 307 308
        "Counter": "0,1,2,3",
        "CounterMask": "1",
        "EventCode": "0xA3",
        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
        "PEBScounters": "0,1,2,3",
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x1"
309 310
    },
    {
311
        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
312 313
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
314 315 316
        "CounterMask": "16",
        "EventCode": "0xA3",
        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
317
        "PEBScounters": "0,1,2,3,4,5,6,7",
318 319 320 321 322
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x10"
    },
    {
323
        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
324
        "CollectPEBSRecord": "2",
325 326 327 328 329 330 331 332
        "Counter": "0,1,2,3",
        "CounterMask": "12",
        "EventCode": "0xA3",
        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
        "PEBScounters": "0,1,2,3",
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0xc"
333 334
    },
    {
335
        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
336
        "CollectPEBSRecord": "2",
337 338 339 340 341 342
        "Counter": "0,1,2,3",
        "CounterMask": "5",
        "EventCode": "0xa3",
        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
        "PEBScounters": "0,1,2,3",
        "SampleAfterValue": "1000003",
343
        "Speculative": "1",
344
        "UMask": "0x5"
345 346
    },
    {
347
        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
348 349
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
350 351 352
        "CounterMask": "20",
        "EventCode": "0xa3",
        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
353
        "PEBScounters": "0,1,2,3,4,5,6,7",
354 355 356
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x14"
357 358
    },
    {
359
        "BriefDescription": "Total execution stalls.",
360 361
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
362 363 364
        "CounterMask": "4",
        "EventCode": "0xa3",
        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
365
        "PEBScounters": "0,1,2,3,4,5,6,7",
366 367 368
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x4"
369 370
    },
    {
371
        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
372 373
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
374 375
        "EventCode": "0xa6",
        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
376
        "PEBScounters": "0,1,2,3,4,5,6,7",
377
        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
378
        "SampleAfterValue": "2000003",
379
        "Speculative": "1",
380
        "UMask": "0x2"
381 382
    },
    {
383
        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
384 385
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
386 387
        "EventCode": "0xa6",
        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
388
        "PEBScounters": "0,1,2,3,4,5,6,7",
389
        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
390
        "SampleAfterValue": "2000003",
391
        "Speculative": "1",
392
        "UMask": "0x4"
393 394
    },
    {
395
        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
396 397
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
398 399
        "EventCode": "0xa6",
        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
400
        "PEBScounters": "0,1,2,3,4,5,6,7",
401 402
        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
        "SampleAfterValue": "2000003",
403 404
        "Speculative": "1",
        "UMask": "0x8"
405 406
    },
    {
407
        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
408
        "CollectPEBSRecord": "2",
409 410 411 412 413 414
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xa6",
        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
        "SampleAfterValue": "2000003",
415
        "Speculative": "1",
416
        "UMask": "0x10"
417 418
    },
    {
419
        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
420 421
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
422 423 424
        "CounterMask": "2",
        "EventCode": "0xA6",
        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
425
        "PEBScounters": "0,1,2,3,4,5,6,7",
426 427 428 429 430 431 432 433 434 435 436 437 438 439
        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x40"
    },
    {
        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3",
        "EventCode": "0x87",
        "EventName": "ILD_STALL.LCP",
        "PEBScounters": "0,1,2,3",
        "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.",
        "SampleAfterValue": "500009",
440 441
        "Speculative": "1",
        "UMask": "0x1"
442 443
    },
    {
444
        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
445
        "CollectPEBSRecord": "2",
446 447
        "Counter": "Fixed counter 0",
        "EventName": "INST_RETIRED.ANY",
448
        "PEBS": "1",
449 450 451 452
        "PEBScounters": "32",
        "PublicDescription": "Counts the number of 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.",
        "SampleAfterValue": "2000003",
        "UMask": "0x1"
453 454
    },
    {
455
        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
456
        "CollectPEBSRecord": "2",
457
        "Counter": "0,1,2,3,4,5,6,7",
458 459
        "EventCode": "0xc0",
        "EventName": "INST_RETIRED.ANY_P",
460 461
        "PEBS": "1",
        "PEBScounters": "0,1,2,3,4,5,6,7",
462 463
        "PublicDescription": "Counts the number of 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.",
        "SampleAfterValue": "2000003"
464 465
    },
    {
466
        "BriefDescription": "Number of all retired NOP instructions.",
467
        "CollectPEBSRecord": "2",
468
        "Counter": "0,1,2,3,4,5,6,7",
469 470 471
        "EventCode": "0xc0",
        "EventName": "INST_RETIRED.NOP",
        "PEBS": "1",
472
        "PEBScounters": "0,1,2,3,4,5,6,7",
473 474
        "SampleAfterValue": "2000003",
        "UMask": "0x2"
475 476
    },
    {
477
        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
478
        "CollectPEBSRecord": "2",
479 480 481 482 483
        "Counter": "Fixed counter 0",
        "EventName": "INST_RETIRED.PREC_DIST",
        "PEBS": "1",
        "PEBScounters": "32",
        "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. Use on Fixed Counter 0.",
484
        "SampleAfterValue": "2000003",
485
        "UMask": "0x1"
486 487
    },
    {
488
        "BriefDescription": "Cycles without actually retired instructions.",
489 490
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
491 492 493 494
        "CounterMask": "1",
        "EventCode": "0xc0",
        "EventName": "INST_RETIRED.STALL_CYCLES",
        "Invert": "1",
495
        "PEBScounters": "0,1,2,3,4,5,6,7",
496 497 498 499
        "PublicDescription": "This event counts cycles without actually retired instructions.",
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x1"
500 501
    },
    {
502
        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
503 504
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
505 506 507 508 509
        "CounterMask": "1",
        "EventCode": "0x0D",
        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
510
        "SampleAfterValue": "2000003",
511
        "Speculative": "1",
512
        "UMask": "0x3"
513 514
    },
    {
515
        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
516 517
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
518 519
        "EventCode": "0x0d",
        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
520
        "PEBScounters": "0,1,2,3,4,5,6,7",
521 522 523 524
        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
        "SampleAfterValue": "500009",
        "Speculative": "1",
        "UMask": "0x80"
525 526
    },
    {
527
        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
528 529
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
530 531
        "EventCode": "0x0D",
        "EventName": "INT_MISC.RECOVERY_CYCLES",
532
        "PEBScounters": "0,1,2,3,4,5,6,7",
533 534 535 536
        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
        "SampleAfterValue": "500009",
        "Speculative": "1",
        "UMask": "0x1"
537 538
    },
    {
539
        "BriefDescription": "TMA slots where uops got dropped",
540 541
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
542 543
        "EventCode": "0x0d",
        "EventName": "INT_MISC.UOP_DROPPING",
544
        "PEBScounters": "0,1,2,3,4,5,6,7",
545 546
        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
        "SampleAfterValue": "1000003",
547
        "Speculative": "1",
548
        "UMask": "0x10"
549 550
    },
    {
551
        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
552
        "CollectPEBSRecord": "2",
553 554 555 556 557 558
        "Counter": "0,1,2,3",
        "EventCode": "0x03",
        "EventName": "LD_BLOCKS.NO_SR",
        "PEBScounters": "0,1,2,3",
        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
        "SampleAfterValue": "100003",
559
        "Speculative": "1",
560
        "UMask": "0x8"
561 562
    },
    {
563
        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
564 565
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3",
566 567
        "EventCode": "0x03",
        "EventName": "LD_BLOCKS.STORE_FORWARD",
568
        "PEBScounters": "0,1,2,3",
569 570
        "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.",
        "SampleAfterValue": "100003",
571
        "Speculative": "1",
572
        "UMask": "0x2"
573 574
    },
    {
575
        "BriefDescription": "False dependencies due to partial compare on address.",
576
        "CollectPEBSRecord": "2",
577 578 579 580 581
        "Counter": "0,1,2,3",
        "EventCode": "0x07",
        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
        "PEBScounters": "0,1,2,3",
        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies due to partial compare on address.",
582
        "SampleAfterValue": "100003",
583 584
        "Speculative": "1",
        "UMask": "0x1"
585 586
    },
    {
587
        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
588
        "CollectPEBSRecord": "2",
589 590 591 592 593
        "Counter": "0,1,2,3",
        "EventCode": "0x4c",
        "EventName": "LOAD_HIT_PREFETCH.SWPF",
        "PEBScounters": "0,1,2,3",
        "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.",
594 595
        "SampleAfterValue": "100003",
        "Speculative": "1",
596
        "UMask": "0x1"
597 598
    },
    {
599
        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
600
        "CollectPEBSRecord": "2",
601 602 603 604 605 606
        "Counter": "0,1,2,3",
        "CounterMask": "1",
        "EventCode": "0xA8",
        "EventName": "LSD.CYCLES_ACTIVE",
        "PEBScounters": "0,1,2,3",
        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
607
        "SampleAfterValue": "2000003",
608 609
        "Speculative": "1",
        "UMask": "0x1"
610 611
    },
    {
612
        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
613
        "CollectPEBSRecord": "2",
614 615
        "Counter": "0,1,2,3",
        "CounterMask": "5",
616 617
        "EventCode": "0xa8",
        "EventName": "LSD.CYCLES_OK",
618
        "PEBScounters": "0,1,2,3",
619 620
        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
        "SampleAfterValue": "2000003",
621
        "Speculative": "1",
622
        "UMask": "0x1"
623 624
    },
    {
625
        "BriefDescription": "Number of Uops delivered by the LSD.",
626
        "CollectPEBSRecord": "2",
627 628 629 630 631
        "Counter": "0,1,2,3",
        "EventCode": "0xa8",
        "EventName": "LSD.UOPS",
        "PEBScounters": "0,1,2,3",
        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
632
        "SampleAfterValue": "2000003",
633
        "Speculative": "1",
634
        "UMask": "0x1"
635 636
    },
    {
637
        "BriefDescription": "Number of machine clears (nukes) of any type.",
638 639
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
640
        "CounterMask": "1",
641 642 643
        "EdgeDetect": "1",
        "EventCode": "0xc3",
        "EventName": "MACHINE_CLEARS.COUNT",
644
        "PEBScounters": "0,1,2,3,4,5,6,7",
645 646
        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
        "SampleAfterValue": "100003",
647
        "Speculative": "1",
648
        "UMask": "0x1"
649 650
    },
    {
651
        "BriefDescription": "Self-modifying code (SMC) detected.",
652 653
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
654 655
        "EventCode": "0xc3",
        "EventName": "MACHINE_CLEARS.SMC",
656
        "PEBScounters": "0,1,2,3,4,5,6,7",
657 658
        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
        "SampleAfterValue": "100003",
659 660
        "Speculative": "1",
        "UMask": "0x4"
661 662
    },
    {
663
        "BriefDescription": "Increments whenever there is an update to the LBR array.",
664 665
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
666 667
        "EventCode": "0xcc",
        "EventName": "MISC_RETIRED.LBR_INSERTS",
668
        "PEBScounters": "0,1,2,3,4,5,6,7",
669 670 671
        "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 to be enabled properly.",
        "SampleAfterValue": "100003",
        "UMask": "0x20"
672 673
    },
    {
674
        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
675
        "CollectPEBSRecord": "2",
676 677 678 679 680 681
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xcc",
        "EventName": "MISC_RETIRED.PAUSE_INST",
        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
        "SampleAfterValue": "100003",
        "UMask": "0x40"
682 683
    },
    {
684
        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
685 686
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
687 688
        "EventCode": "0xa2",
        "EventName": "RESOURCE_STALLS.SB",
689
        "PEBScounters": "0,1,2,3,4,5,6,7",
690 691
        "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.",
        "SampleAfterValue": "100003",
692
        "Speculative": "1",
693
        "UMask": "0x8"
694 695
    },
    {
696
        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
697 698
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
699 700
        "EventCode": "0xa2",
        "EventName": "RESOURCE_STALLS.SCOREBOARD",
701
        "PEBScounters": "0,1,2,3,4,5,6,7",
702 703
        "SampleAfterValue": "100003",
        "Speculative": "1",
704
        "UMask": "0x2"
705 706
    },
    {
707
        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
708 709
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
710 711
        "EventCode": "0x5e",
        "EventName": "RS_EVENTS.EMPTY_CYCLES",
712
        "PEBScounters": "0,1,2,3,4,5,6,7",
713 714 715 716
        "PublicDescription": "Counts cycles during which the reservation station (RS) is empty for this logical processor. This is usually caused when the front-end pipeline runs into stravation periods (e.g. branch mispredictions or i-cache misses)",
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x1"
717 718
    },
    {
719
        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
720 721
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
722 723 724 725 726
        "CounterMask": "1",
        "EdgeDetect": "1",
        "EventCode": "0x5E",
        "EventName": "RS_EVENTS.EMPTY_END",
        "Invert": "1",
727
        "PEBScounters": "0,1,2,3,4,5,6,7",
728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777
        "PublicDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to closely sample on front-end latency issues (see the FRONTEND_RETIRED event of designated precise events)",
        "SampleAfterValue": "100003",
        "Speculative": "1",
        "UMask": "0x1"
    },
    {
        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3",
        "EventCode": "0x56",
        "EventName": "UOPS_DECODED.DEC0",
        "PEBScounters": "0,1,2,3",
        "PublicDescription": "Uops exclusively fetched by decoder 0",
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x1"
    },
    {
        "BriefDescription": "Number of uops executed on port 0",
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xa1",
        "EventName": "UOPS_DISPATCHED.PORT_0",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x1"
    },
    {
        "BriefDescription": "Number of uops executed on port 1",
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xa1",
        "EventName": "UOPS_DISPATCHED.PORT_1",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x2"
    },
    {
        "BriefDescription": "Number of uops executed on port 2 and 3",
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
        "EventCode": "0xa1",
        "EventName": "UOPS_DISPATCHED.PORT_2_3",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 2 and 3.",
        "SampleAfterValue": "2000003",
778
        "Speculative": "1",
779
        "UMask": "0x4"
780 781
    },
    {
782
        "BriefDescription": "Number of uops executed on port 4 and 9",
783 784
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
785 786
        "EventCode": "0xa1",
        "EventName": "UOPS_DISPATCHED.PORT_4_9",
787
        "PEBScounters": "0,1,2,3,4,5,6,7",
788
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 5 and 9.",
789
        "SampleAfterValue": "2000003",
790
        "Speculative": "1",
791
        "UMask": "0x10"
792 793
    },
    {
794
        "BriefDescription": "Number of uops executed on port 5",
795 796
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
797 798
        "EventCode": "0xa1",
        "EventName": "UOPS_DISPATCHED.PORT_5",
799
        "PEBScounters": "0,1,2,3,4,5,6,7",
800 801
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
        "SampleAfterValue": "2000003",
802
        "Speculative": "1",
803
        "UMask": "0x20"
804 805
    },
    {
806
        "BriefDescription": "Number of uops executed on port 6",
807 808
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
809 810
        "EventCode": "0xa1",
        "EventName": "UOPS_DISPATCHED.PORT_6",
811
        "PEBScounters": "0,1,2,3,4,5,6,7",
812
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
813
        "SampleAfterValue": "2000003",
814 815
        "Speculative": "1",
        "UMask": "0x40"
816 817
    },
    {
818
        "BriefDescription": "Number of uops executed on port 7 and 8",
819 820
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
821 822
        "EventCode": "0xa1",
        "EventName": "UOPS_DISPATCHED.PORT_7_8",
823
        "PEBScounters": "0,1,2,3,4,5,6,7",
824 825 826 827
        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 7 and 8.",
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x80"
828 829
    },
    {
830
        "BriefDescription": "Number of uops executed on the core.",
831 832
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
833 834
        "EventCode": "0xB1",
        "EventName": "UOPS_EXECUTED.CORE",
835
        "PEBScounters": "0,1,2,3,4,5,6,7",
836
        "PublicDescription": "Counts the number of uops executed from any thread.",
837 838
        "SampleAfterValue": "2000003",
        "Speculative": "1",
839
        "UMask": "0x2"
840 841
    },
    {
842
        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
843 844
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
845 846 847
        "CounterMask": "1",
        "EventCode": "0xB1",
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
848
        "PEBScounters": "0,1,2,3,4,5,6,7",
849 850 851 852
        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x2"
853 854
    },
    {
855
        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
856 857
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
858 859 860
        "CounterMask": "2",
        "EventCode": "0xB1",
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
861
        "PEBScounters": "0,1,2,3,4,5,6,7",
862
        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
863
        "SampleAfterValue": "2000003",
864
        "Speculative": "1",
865
        "UMask": "0x2"
866 867
    },
    {
868
        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
869
        "CollectPEBSRecord": "2",
870 871 872 873 874 875
        "Counter": "0,1,2,3,4,5,6,7",
        "CounterMask": "3",
        "EventCode": "0xB1",
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
        "PEBScounters": "0,1,2,3,4,5,6,7",
        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
876 877
        "SampleAfterValue": "2000003",
        "Speculative": "1",
878
        "UMask": "0x2"
879 880
    },
    {
881
        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
882 883
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
884 885 886
        "CounterMask": "4",
        "EventCode": "0xB1",
        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
887
        "PEBScounters": "0,1,2,3,4,5,6,7",
888
        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
889 890
        "SampleAfterValue": "2000003",
        "Speculative": "1",
891
        "UMask": "0x2"
892 893
    },
    {
894
        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
895 896
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
897
        "CounterMask": "1",
898
        "EventCode": "0xb1",
899
        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
900
        "PEBScounters": "0,1,2,3,4,5,6,7",
901
        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
902 903 904
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x1"
905 906
    },
    {
907
        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
908 909
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
910 911 912
        "CounterMask": "2",
        "EventCode": "0xb1",
        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
913
        "PEBScounters": "0,1,2,3,4,5,6,7",
914 915 916 917
        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x1"
918 919
    },
    {
920
        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
921 922
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
923
        "CounterMask": "3",
924
        "EventCode": "0xb1",
925
        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
926
        "PEBScounters": "0,1,2,3,4,5,6,7",
927
        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
928 929 930
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x1"
931 932
    },
    {
933
        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
934 935
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
936 937 938
        "CounterMask": "4",
        "EventCode": "0xb1",
        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
939
        "PEBScounters": "0,1,2,3,4,5,6,7",
940 941 942 943
        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x1"
944 945
    },
    {
946
        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
947 948
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
949
        "CounterMask": "1",
950 951
        "EventCode": "0xB1",
        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
952
        "Invert": "1",
953
        "PEBScounters": "0,1,2,3,4,5,6,7",
954 955
        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
        "SampleAfterValue": "2000003",
956 957
        "Speculative": "1",
        "UMask": "0x1"
958 959
    },
    {
960
        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
961 962
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
963 964
        "EventCode": "0xb1",
        "EventName": "UOPS_EXECUTED.THREAD",
965
        "PEBScounters": "0,1,2,3,4,5,6,7",
966 967
        "SampleAfterValue": "2000003",
        "Speculative": "1",
968
        "UMask": "0x1"
969 970
    },
    {
971
        "BriefDescription": "Counts the number of x87 uops dispatched.",
972 973
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
974
        "EventCode": "0xB1",
975
        "EventName": "UOPS_EXECUTED.X87",
976
        "PEBScounters": "0,1,2,3,4,5,6,7",
977
        "PublicDescription": "Counts the number of x87 uops executed.",
978 979
        "SampleAfterValue": "2000003",
        "Speculative": "1",
980
        "UMask": "0x10"
981 982
    },
    {
983
        "BriefDescription": "Uops that RAT issues to RS",
984 985
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
986 987
        "EventCode": "0x0e",
        "EventName": "UOPS_ISSUED.ANY",
988
        "PEBScounters": "0,1,2,3,4,5,6,7",
989 990 991 992
        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
        "SampleAfterValue": "2000003",
        "Speculative": "1",
        "UMask": "0x1"
993 994
    },
    {
995
        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
996 997
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
998 999 1000 1001
        "CounterMask": "1",
        "EventCode": "0x0E",
        "EventName": "UOPS_ISSUED.STALL_CYCLES",
        "Invert": "1",
1002
        "PEBScounters": "0,1,2,3,4,5,6,7",
1003
        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
1004 1005
        "SampleAfterValue": "1000003",
        "Speculative": "1",
1006
        "UMask": "0x1"
1007 1008
    },
    {
1009
        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
1010 1011
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
1012 1013
        "EventCode": "0x0e",
        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
1014
        "PEBScounters": "0,1,2,3,4,5,6,7",
1015 1016
        "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.",
        "SampleAfterValue": "100003",
1017
        "Speculative": "1",
1018
        "UMask": "0x2"
1019 1020
    },
    {
1021
        "BriefDescription": "Retirement slots used.",
1022
        "CollectPEBSRecord": "2",
1023
        "Counter": "0,1,2,3,4,5,6,7",
1024 1025
        "EventCode": "0xc2",
        "EventName": "UOPS_RETIRED.SLOTS",
1026
        "PEBScounters": "0,1,2,3,4,5,6,7",
1027
        "PublicDescription": "Counts the retirement slots used each cycle.",
1028
        "SampleAfterValue": "2000003",
1029
        "UMask": "0x2"
1030 1031
    },
    {
1032
        "BriefDescription": "Cycles without actually retired uops.",
1033
        "CollectPEBSRecord": "2",
1034
        "Counter": "0,1,2,3,4,5,6,7",
1035 1036 1037 1038
        "CounterMask": "1",
        "EventCode": "0xc2",
        "EventName": "UOPS_RETIRED.STALL_CYCLES",
        "Invert": "1",
1039
        "PEBScounters": "0,1,2,3,4,5,6,7",
1040 1041 1042 1043
        "PublicDescription": "This event counts cycles without actually retired uops.",
        "SampleAfterValue": "1000003",
        "Speculative": "1",
        "UMask": "0x2"
1044 1045
    },
    {
1046
        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1047 1048
        "CollectPEBSRecord": "2",
        "Counter": "0,1,2,3,4,5,6,7",
1049 1050 1051 1052
        "CounterMask": "10",
        "EventCode": "0xc2",
        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
        "Invert": "1",
1053
        "PEBScounters": "0,1,2,3,4,5,6,7",
1054 1055 1056
        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
        "SampleAfterValue": "1000003",
        "UMask": "0x2"
1057 1058
    }
]