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