xref: /freebsd/lib/libpmc/pmu-events/arch/x86/icelake/pipeline.json (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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) CALL instructions, 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 without actually retired instructions.",
513        "CollectPEBSRecord": "2",
514        "Counter": "0,1,2,3,4,5,6,7",
515        "CounterMask": "1",
516        "EventCode": "0xc0",
517        "EventName": "INST_RETIRED.STALL_CYCLES",
518        "Invert": "1",
519        "PEBScounters": "0,1,2,3,4,5,6,7",
520        "PublicDescription": "This event counts cycles without actually retired instructions.",
521        "SampleAfterValue": "1000003",
522        "Speculative": "1",
523        "UMask": "0x1"
524    },
525    {
526        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
527        "CollectPEBSRecord": "2",
528        "Counter": "0,1,2,3,4,5,6,7",
529        "CounterMask": "1",
530        "EventCode": "0x0D",
531        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
532        "PEBScounters": "0,1,2,3,4,5,6,7",
533        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
534        "SampleAfterValue": "2000003",
535        "Speculative": "1",
536        "UMask": "0x3"
537    },
538    {
539        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
540        "CollectPEBSRecord": "2",
541        "Counter": "0,1,2,3,4,5,6,7",
542        "EventCode": "0x0d",
543        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
544        "PEBScounters": "0,1,2,3,4,5,6,7",
545        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
546        "SampleAfterValue": "500009",
547        "Speculative": "1",
548        "UMask": "0x80"
549    },
550    {
551        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
552        "CollectPEBSRecord": "2",
553        "Counter": "0,1,2,3,4,5,6,7",
554        "EventCode": "0x0D",
555        "EventName": "INT_MISC.RECOVERY_CYCLES",
556        "PEBScounters": "0,1,2,3,4,5,6,7",
557        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
558        "SampleAfterValue": "500009",
559        "Speculative": "1",
560        "UMask": "0x1"
561    },
562    {
563        "BriefDescription": "TMA slots where uops got dropped",
564        "CollectPEBSRecord": "2",
565        "Counter": "0,1,2,3,4,5,6,7",
566        "EventCode": "0x0d",
567        "EventName": "INT_MISC.UOP_DROPPING",
568        "PEBScounters": "0,1,2,3,4,5,6,7",
569        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
570        "SampleAfterValue": "1000003",
571        "Speculative": "1",
572        "UMask": "0x10"
573    },
574    {
575        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
576        "CollectPEBSRecord": "2",
577        "Counter": "0,1,2,3",
578        "EventCode": "0x03",
579        "EventName": "LD_BLOCKS.NO_SR",
580        "PEBScounters": "0,1,2,3",
581        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
582        "SampleAfterValue": "100003",
583        "Speculative": "1",
584        "UMask": "0x8"
585    },
586    {
587        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
588        "CollectPEBSRecord": "2",
589        "Counter": "0,1,2,3",
590        "EventCode": "0x03",
591        "EventName": "LD_BLOCKS.STORE_FORWARD",
592        "PEBScounters": "0,1,2,3",
593        "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.",
594        "SampleAfterValue": "100003",
595        "Speculative": "1",
596        "UMask": "0x2"
597    },
598    {
599        "BriefDescription": "False dependencies due to partial compare on address.",
600        "CollectPEBSRecord": "2",
601        "Counter": "0,1,2,3",
602        "EventCode": "0x07",
603        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
604        "PEBScounters": "0,1,2,3",
605        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies due to partial compare on address.",
606        "SampleAfterValue": "100003",
607        "Speculative": "1",
608        "UMask": "0x1"
609    },
610    {
611        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
612        "CollectPEBSRecord": "2",
613        "Counter": "0,1,2,3",
614        "EventCode": "0x4c",
615        "EventName": "LOAD_HIT_PREFETCH.SWPF",
616        "PEBScounters": "0,1,2,3",
617        "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.",
618        "SampleAfterValue": "100003",
619        "Speculative": "1",
620        "UMask": "0x1"
621    },
622    {
623        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
624        "CollectPEBSRecord": "2",
625        "Counter": "0,1,2,3",
626        "CounterMask": "1",
627        "EventCode": "0xA8",
628        "EventName": "LSD.CYCLES_ACTIVE",
629        "PEBScounters": "0,1,2,3",
630        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
631        "SampleAfterValue": "2000003",
632        "Speculative": "1",
633        "UMask": "0x1"
634    },
635    {
636        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
637        "CollectPEBSRecord": "2",
638        "Counter": "0,1,2,3",
639        "CounterMask": "5",
640        "EventCode": "0xa8",
641        "EventName": "LSD.CYCLES_OK",
642        "PEBScounters": "0,1,2,3",
643        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
644        "SampleAfterValue": "2000003",
645        "Speculative": "1",
646        "UMask": "0x1"
647    },
648    {
649        "BriefDescription": "Number of Uops delivered by the LSD.",
650        "CollectPEBSRecord": "2",
651        "Counter": "0,1,2,3",
652        "EventCode": "0xa8",
653        "EventName": "LSD.UOPS",
654        "PEBScounters": "0,1,2,3",
655        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
656        "SampleAfterValue": "2000003",
657        "Speculative": "1",
658        "UMask": "0x1"
659    },
660    {
661        "BriefDescription": "Number of machine clears (nukes) of any type.",
662        "CollectPEBSRecord": "2",
663        "Counter": "0,1,2,3,4,5,6,7",
664        "CounterMask": "1",
665        "EdgeDetect": "1",
666        "EventCode": "0xc3",
667        "EventName": "MACHINE_CLEARS.COUNT",
668        "PEBScounters": "0,1,2,3,4,5,6,7",
669        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
670        "SampleAfterValue": "100003",
671        "Speculative": "1",
672        "UMask": "0x1"
673    },
674    {
675        "BriefDescription": "Self-modifying code (SMC) detected.",
676        "CollectPEBSRecord": "2",
677        "Counter": "0,1,2,3,4,5,6,7",
678        "EventCode": "0xc3",
679        "EventName": "MACHINE_CLEARS.SMC",
680        "PEBScounters": "0,1,2,3,4,5,6,7",
681        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
682        "SampleAfterValue": "100003",
683        "Speculative": "1",
684        "UMask": "0x4"
685    },
686    {
687        "BriefDescription": "Increments whenever there is an update to the LBR array.",
688        "CollectPEBSRecord": "2",
689        "Counter": "0,1,2,3,4,5,6,7",
690        "EventCode": "0xcc",
691        "EventName": "MISC_RETIRED.LBR_INSERTS",
692        "PEBScounters": "0,1,2,3,4,5,6,7",
693        "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.",
694        "SampleAfterValue": "100003",
695        "UMask": "0x20"
696    },
697    {
698        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
699        "CollectPEBSRecord": "2",
700        "Counter": "0,1,2,3,4,5,6,7",
701        "EventCode": "0xcc",
702        "EventName": "MISC_RETIRED.PAUSE_INST",
703        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
704        "SampleAfterValue": "100003",
705        "UMask": "0x40"
706    },
707    {
708        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
709        "CollectPEBSRecord": "2",
710        "Counter": "0,1,2,3,4,5,6,7",
711        "EventCode": "0xa2",
712        "EventName": "RESOURCE_STALLS.SB",
713        "PEBScounters": "0,1,2,3,4,5,6,7",
714        "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.",
715        "SampleAfterValue": "100003",
716        "Speculative": "1",
717        "UMask": "0x8"
718    },
719    {
720        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
721        "CollectPEBSRecord": "2",
722        "Counter": "0,1,2,3,4,5,6,7",
723        "EventCode": "0xa2",
724        "EventName": "RESOURCE_STALLS.SCOREBOARD",
725        "PEBScounters": "0,1,2,3,4,5,6,7",
726        "SampleAfterValue": "100003",
727        "Speculative": "1",
728        "UMask": "0x2"
729    },
730    {
731        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
732        "CollectPEBSRecord": "2",
733        "Counter": "0,1,2,3,4,5,6,7",
734        "EventCode": "0x5e",
735        "EventName": "RS_EVENTS.EMPTY_CYCLES",
736        "PEBScounters": "0,1,2,3,4,5,6,7",
737        "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)",
738        "SampleAfterValue": "1000003",
739        "Speculative": "1",
740        "UMask": "0x1"
741    },
742    {
743        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
744        "CollectPEBSRecord": "2",
745        "Counter": "0,1,2,3,4,5,6,7",
746        "CounterMask": "1",
747        "EdgeDetect": "1",
748        "EventCode": "0x5E",
749        "EventName": "RS_EVENTS.EMPTY_END",
750        "Invert": "1",
751        "PEBScounters": "0,1,2,3,4,5,6,7",
752        "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)",
753        "SampleAfterValue": "100003",
754        "Speculative": "1",
755        "UMask": "0x1"
756    },
757    {
758        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
759        "CollectPEBSRecord": "2",
760        "Counter": "0,1,2,3,4,5,6,7",
761        "EventCode": "0xa4",
762        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
763        "PEBScounters": "0,1,2,3,4,5,6,7",
764        "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.",
765        "SampleAfterValue": "10000003",
766        "Speculative": "1",
767        "UMask": "0x2"
768    },
769    {
770        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
771        "CollectPEBSRecord": "2",
772        "Counter": "0,1,2,3,4,5,6,7",
773        "EventCode": "0xa4",
774        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
775        "PEBScounters": "0,1,2,3,4,5,6,7",
776        "PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by branch mispredictions. This event estimates number of operations that were issued but not retired from the specualtive path as well as the out-of-order engine recovery past a branch misprediction.",
777        "SampleAfterValue": "10000003",
778        "Speculative": "1",
779        "UMask": "0x8"
780    },
781    {
782        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
783        "CollectPEBSRecord": "2",
784        "Counter": "Fixed counter 3",
785        "EventName": "TOPDOWN.SLOTS",
786        "PEBScounters": "35",
787        "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).",
788        "SampleAfterValue": "10000003",
789        "Speculative": "1",
790        "UMask": "0x4"
791    },
792    {
793        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
794        "CollectPEBSRecord": "2",
795        "Counter": "0,1,2,3,4,5,6,7",
796        "EventCode": "0xa4",
797        "EventName": "TOPDOWN.SLOTS_P",
798        "PEBScounters": "0,1,2,3,4,5,6,7",
799        "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.",
800        "SampleAfterValue": "10000003",
801        "Speculative": "1",
802        "UMask": "0x1"
803    },
804    {
805        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
806        "CollectPEBSRecord": "2",
807        "Counter": "0,1,2,3",
808        "EventCode": "0x56",
809        "EventName": "UOPS_DECODED.DEC0",
810        "PEBScounters": "0,1,2,3",
811        "PublicDescription": "Uops exclusively fetched by decoder 0",
812        "SampleAfterValue": "1000003",
813        "Speculative": "1",
814        "UMask": "0x1"
815    },
816    {
817        "BriefDescription": "Number of uops executed on port 0",
818        "CollectPEBSRecord": "2",
819        "Counter": "0,1,2,3,4,5,6,7",
820        "EventCode": "0xa1",
821        "EventName": "UOPS_DISPATCHED.PORT_0",
822        "PEBScounters": "0,1,2,3,4,5,6,7",
823        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
824        "SampleAfterValue": "2000003",
825        "Speculative": "1",
826        "UMask": "0x1"
827    },
828    {
829        "BriefDescription": "Number of uops executed on port 1",
830        "CollectPEBSRecord": "2",
831        "Counter": "0,1,2,3,4,5,6,7",
832        "EventCode": "0xa1",
833        "EventName": "UOPS_DISPATCHED.PORT_1",
834        "PEBScounters": "0,1,2,3,4,5,6,7",
835        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
836        "SampleAfterValue": "2000003",
837        "Speculative": "1",
838        "UMask": "0x2"
839    },
840    {
841        "BriefDescription": "Number of uops executed on port 2 and 3",
842        "CollectPEBSRecord": "2",
843        "Counter": "0,1,2,3,4,5,6,7",
844        "EventCode": "0xa1",
845        "EventName": "UOPS_DISPATCHED.PORT_2_3",
846        "PEBScounters": "0,1,2,3,4,5,6,7",
847        "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.",
848        "SampleAfterValue": "2000003",
849        "Speculative": "1",
850        "UMask": "0x4"
851    },
852    {
853        "BriefDescription": "Number of uops executed on port 4 and 9",
854        "CollectPEBSRecord": "2",
855        "Counter": "0,1,2,3,4,5,6,7",
856        "EventCode": "0xa1",
857        "EventName": "UOPS_DISPATCHED.PORT_4_9",
858        "PEBScounters": "0,1,2,3,4,5,6,7",
859        "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.",
860        "SampleAfterValue": "2000003",
861        "Speculative": "1",
862        "UMask": "0x10"
863    },
864    {
865        "BriefDescription": "Number of uops executed on port 5",
866        "CollectPEBSRecord": "2",
867        "Counter": "0,1,2,3,4,5,6,7",
868        "EventCode": "0xa1",
869        "EventName": "UOPS_DISPATCHED.PORT_5",
870        "PEBScounters": "0,1,2,3,4,5,6,7",
871        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
872        "SampleAfterValue": "2000003",
873        "Speculative": "1",
874        "UMask": "0x20"
875    },
876    {
877        "BriefDescription": "Number of uops executed on port 6",
878        "CollectPEBSRecord": "2",
879        "Counter": "0,1,2,3,4,5,6,7",
880        "EventCode": "0xa1",
881        "EventName": "UOPS_DISPATCHED.PORT_6",
882        "PEBScounters": "0,1,2,3,4,5,6,7",
883        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
884        "SampleAfterValue": "2000003",
885        "Speculative": "1",
886        "UMask": "0x40"
887    },
888    {
889        "BriefDescription": "Number of uops executed on port 7 and 8",
890        "CollectPEBSRecord": "2",
891        "Counter": "0,1,2,3,4,5,6,7",
892        "EventCode": "0xa1",
893        "EventName": "UOPS_DISPATCHED.PORT_7_8",
894        "PEBScounters": "0,1,2,3,4,5,6,7",
895        "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.",
896        "SampleAfterValue": "2000003",
897        "Speculative": "1",
898        "UMask": "0x80"
899    },
900    {
901        "BriefDescription": "Number of uops executed on the core.",
902        "CollectPEBSRecord": "2",
903        "Counter": "0,1,2,3,4,5,6,7",
904        "EventCode": "0xB1",
905        "EventName": "UOPS_EXECUTED.CORE",
906        "PEBScounters": "0,1,2,3,4,5,6,7",
907        "PublicDescription": "Counts the number of uops executed from any thread.",
908        "SampleAfterValue": "2000003",
909        "Speculative": "1",
910        "UMask": "0x2"
911    },
912    {
913        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
914        "CollectPEBSRecord": "2",
915        "Counter": "0,1,2,3,4,5,6,7",
916        "CounterMask": "1",
917        "EventCode": "0xB1",
918        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
919        "PEBScounters": "0,1,2,3,4,5,6,7",
920        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
921        "SampleAfterValue": "2000003",
922        "Speculative": "1",
923        "UMask": "0x2"
924    },
925    {
926        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
927        "CollectPEBSRecord": "2",
928        "Counter": "0,1,2,3,4,5,6,7",
929        "CounterMask": "2",
930        "EventCode": "0xB1",
931        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
932        "PEBScounters": "0,1,2,3,4,5,6,7",
933        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
934        "SampleAfterValue": "2000003",
935        "Speculative": "1",
936        "UMask": "0x2"
937    },
938    {
939        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
940        "CollectPEBSRecord": "2",
941        "Counter": "0,1,2,3,4,5,6,7",
942        "CounterMask": "3",
943        "EventCode": "0xB1",
944        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
945        "PEBScounters": "0,1,2,3,4,5,6,7",
946        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
947        "SampleAfterValue": "2000003",
948        "Speculative": "1",
949        "UMask": "0x2"
950    },
951    {
952        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
953        "CollectPEBSRecord": "2",
954        "Counter": "0,1,2,3,4,5,6,7",
955        "CounterMask": "4",
956        "EventCode": "0xB1",
957        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
958        "PEBScounters": "0,1,2,3,4,5,6,7",
959        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
960        "SampleAfterValue": "2000003",
961        "Speculative": "1",
962        "UMask": "0x2"
963    },
964    {
965        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
966        "CollectPEBSRecord": "2",
967        "Counter": "0,1,2,3,4,5,6,7",
968        "CounterMask": "1",
969        "EventCode": "0xb1",
970        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
971        "PEBScounters": "0,1,2,3,4,5,6,7",
972        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
973        "SampleAfterValue": "2000003",
974        "Speculative": "1",
975        "UMask": "0x1"
976    },
977    {
978        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
979        "CollectPEBSRecord": "2",
980        "Counter": "0,1,2,3,4,5,6,7",
981        "CounterMask": "2",
982        "EventCode": "0xb1",
983        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
984        "PEBScounters": "0,1,2,3,4,5,6,7",
985        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
986        "SampleAfterValue": "2000003",
987        "Speculative": "1",
988        "UMask": "0x1"
989    },
990    {
991        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
992        "CollectPEBSRecord": "2",
993        "Counter": "0,1,2,3,4,5,6,7",
994        "CounterMask": "3",
995        "EventCode": "0xb1",
996        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
997        "PEBScounters": "0,1,2,3,4,5,6,7",
998        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
999        "SampleAfterValue": "2000003",
1000        "Speculative": "1",
1001        "UMask": "0x1"
1002    },
1003    {
1004        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
1005        "CollectPEBSRecord": "2",
1006        "Counter": "0,1,2,3,4,5,6,7",
1007        "CounterMask": "4",
1008        "EventCode": "0xb1",
1009        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
1010        "PEBScounters": "0,1,2,3,4,5,6,7",
1011        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
1012        "SampleAfterValue": "2000003",
1013        "Speculative": "1",
1014        "UMask": "0x1"
1015    },
1016    {
1017        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
1018        "CollectPEBSRecord": "2",
1019        "Counter": "0,1,2,3,4,5,6,7",
1020        "CounterMask": "1",
1021        "EventCode": "0xB1",
1022        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
1023        "Invert": "1",
1024        "PEBScounters": "0,1,2,3,4,5,6,7",
1025        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
1026        "SampleAfterValue": "2000003",
1027        "Speculative": "1",
1028        "UMask": "0x1"
1029    },
1030    {
1031        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
1032        "CollectPEBSRecord": "2",
1033        "Counter": "0,1,2,3,4,5,6,7",
1034        "EventCode": "0xb1",
1035        "EventName": "UOPS_EXECUTED.THREAD",
1036        "PEBScounters": "0,1,2,3,4,5,6,7",
1037        "SampleAfterValue": "2000003",
1038        "Speculative": "1",
1039        "UMask": "0x1"
1040    },
1041    {
1042        "BriefDescription": "Counts the number of x87 uops dispatched.",
1043        "CollectPEBSRecord": "2",
1044        "Counter": "0,1,2,3,4,5,6,7",
1045        "EventCode": "0xB1",
1046        "EventName": "UOPS_EXECUTED.X87",
1047        "PEBScounters": "0,1,2,3,4,5,6,7",
1048        "PublicDescription": "Counts the number of x87 uops executed.",
1049        "SampleAfterValue": "2000003",
1050        "Speculative": "1",
1051        "UMask": "0x10"
1052    },
1053    {
1054        "BriefDescription": "Uops that RAT issues to RS",
1055        "CollectPEBSRecord": "2",
1056        "Counter": "0,1,2,3,4,5,6,7",
1057        "EventCode": "0x0e",
1058        "EventName": "UOPS_ISSUED.ANY",
1059        "PEBScounters": "0,1,2,3,4,5,6,7",
1060        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
1061        "SampleAfterValue": "2000003",
1062        "Speculative": "1",
1063        "UMask": "0x1"
1064    },
1065    {
1066        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
1067        "CollectPEBSRecord": "2",
1068        "Counter": "0,1,2,3,4,5,6,7",
1069        "CounterMask": "1",
1070        "EventCode": "0x0E",
1071        "EventName": "UOPS_ISSUED.STALL_CYCLES",
1072        "Invert": "1",
1073        "PEBScounters": "0,1,2,3,4,5,6,7",
1074        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
1075        "SampleAfterValue": "1000003",
1076        "Speculative": "1",
1077        "UMask": "0x1"
1078    },
1079    {
1080        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
1081        "CollectPEBSRecord": "2",
1082        "Counter": "0,1,2,3,4,5,6,7",
1083        "EventCode": "0x0e",
1084        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
1085        "PEBScounters": "0,1,2,3,4,5,6,7",
1086        "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.",
1087        "SampleAfterValue": "100003",
1088        "Speculative": "1",
1089        "UMask": "0x2"
1090    },
1091    {
1092        "BriefDescription": "Retirement slots used.",
1093        "CollectPEBSRecord": "2",
1094        "Counter": "0,1,2,3,4,5,6,7",
1095        "EventCode": "0xc2",
1096        "EventName": "UOPS_RETIRED.SLOTS",
1097        "PEBScounters": "0,1,2,3,4,5,6,7",
1098        "PublicDescription": "Counts the retirement slots used each cycle.",
1099        "SampleAfterValue": "2000003",
1100        "UMask": "0x2"
1101    },
1102    {
1103        "BriefDescription": "Cycles without actually retired uops.",
1104        "CollectPEBSRecord": "2",
1105        "Counter": "0,1,2,3,4,5,6,7",
1106        "CounterMask": "1",
1107        "EventCode": "0xc2",
1108        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1109        "Invert": "1",
1110        "PEBScounters": "0,1,2,3,4,5,6,7",
1111        "PublicDescription": "This event counts cycles without actually retired uops.",
1112        "SampleAfterValue": "1000003",
1113        "Speculative": "1",
1114        "UMask": "0x2"
1115    },
1116    {
1117        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1118        "CollectPEBSRecord": "2",
1119        "Counter": "0,1,2,3,4,5,6,7",
1120        "CounterMask": "10",
1121        "EventCode": "0xc2",
1122        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1123        "Invert": "1",
1124        "PEBScounters": "0,1,2,3,4,5,6,7",
1125        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
1126        "SampleAfterValue": "1000003",
1127        "UMask": "0x2"
1128    }
1129]
1130