xref: /freebsd/lib/libpmc/pmu-events/arch/x86/haswell/pipeline.json (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
1[
2    {
3        "BriefDescription": "Any uop executed by the Divider. (This includes all divide uops, sqrt, ...)",
4        "Counter": "0,1,2,3",
5        "CounterHTOff": "0,1,2,3,4,5,6,7",
6        "EventCode": "0x14",
7        "EventName": "ARITH.DIVIDER_UOPS",
8        "SampleAfterValue": "2000003",
9        "UMask": "0x2"
10    },
11    {
12        "BriefDescription": "Speculative and retired  branches",
13        "Counter": "0,1,2,3",
14        "CounterHTOff": "0,1,2,3,4,5,6,7",
15        "EventCode": "0x88",
16        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
17        "PublicDescription": "Counts all near executed branches (not necessarily retired).",
18        "SampleAfterValue": "200003",
19        "UMask": "0xff"
20    },
21    {
22        "BriefDescription": "Speculative and retired macro-conditional branches.",
23        "Counter": "0,1,2,3",
24        "CounterHTOff": "0,1,2,3,4,5,6,7",
25        "EventCode": "0x88",
26        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
27        "SampleAfterValue": "200003",
28        "UMask": "0xc1"
29    },
30    {
31        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
32        "Counter": "0,1,2,3",
33        "CounterHTOff": "0,1,2,3,4,5,6,7",
34        "EventCode": "0x88",
35        "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
36        "SampleAfterValue": "200003",
37        "UMask": "0xc2"
38    },
39    {
40        "BriefDescription": "Speculative and retired direct near calls.",
41        "Counter": "0,1,2,3",
42        "CounterHTOff": "0,1,2,3,4,5,6,7",
43        "EventCode": "0x88",
44        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
45        "SampleAfterValue": "200003",
46        "UMask": "0xd0"
47    },
48    {
49        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.",
50        "Counter": "0,1,2,3",
51        "CounterHTOff": "0,1,2,3,4,5,6,7",
52        "EventCode": "0x88",
53        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
54        "SampleAfterValue": "200003",
55        "UMask": "0xc4"
56    },
57    {
58        "BriefDescription": "Speculative and retired indirect return branches.",
59        "Counter": "0,1,2,3",
60        "CounterHTOff": "0,1,2,3,4,5,6,7",
61        "EventCode": "0x88",
62        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
63        "SampleAfterValue": "200003",
64        "UMask": "0xc8"
65    },
66    {
67        "BriefDescription": "Not taken macro-conditional branches.",
68        "Counter": "0,1,2,3",
69        "CounterHTOff": "0,1,2,3,4,5,6,7",
70        "EventCode": "0x88",
71        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
72        "SampleAfterValue": "200003",
73        "UMask": "0x41"
74    },
75    {
76        "BriefDescription": "Taken speculative and retired macro-conditional branches.",
77        "Counter": "0,1,2,3",
78        "CounterHTOff": "0,1,2,3,4,5,6,7",
79        "EventCode": "0x88",
80        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
81        "SampleAfterValue": "200003",
82        "UMask": "0x81"
83    },
84    {
85        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
86        "Counter": "0,1,2,3",
87        "CounterHTOff": "0,1,2,3,4,5,6,7",
88        "EventCode": "0x88",
89        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
90        "SampleAfterValue": "200003",
91        "UMask": "0x82"
92    },
93    {
94        "BriefDescription": "Taken speculative and retired direct near calls.",
95        "Counter": "0,1,2,3",
96        "CounterHTOff": "0,1,2,3,4,5,6,7",
97        "EventCode": "0x88",
98        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
99        "SampleAfterValue": "200003",
100        "UMask": "0x90"
101    },
102    {
103        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
104        "Counter": "0,1,2,3",
105        "CounterHTOff": "0,1,2,3,4,5,6,7",
106        "EventCode": "0x88",
107        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
108        "SampleAfterValue": "200003",
109        "UMask": "0x84"
110    },
111    {
112        "BriefDescription": "Taken speculative and retired indirect calls.",
113        "Counter": "0,1,2,3",
114        "CounterHTOff": "0,1,2,3,4,5,6,7",
115        "EventCode": "0x88",
116        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
117        "SampleAfterValue": "200003",
118        "UMask": "0xa0"
119    },
120    {
121        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.",
122        "Counter": "0,1,2,3",
123        "CounterHTOff": "0,1,2,3,4,5,6,7",
124        "EventCode": "0x88",
125        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
126        "SampleAfterValue": "200003",
127        "UMask": "0x88"
128    },
129    {
130        "BriefDescription": "All (macro) branch instructions retired.",
131        "Counter": "0,1,2,3",
132        "CounterHTOff": "0,1,2,3,4,5,6,7",
133        "EventCode": "0xC4",
134        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
135        "PublicDescription": "Branch instructions at retirement.",
136        "SampleAfterValue": "400009"
137    },
138    {
139        "BriefDescription": "All (macro) branch instructions retired.",
140        "Counter": "0,1,2,3",
141        "CounterHTOff": "0,1,2,3",
142        "EventCode": "0xC4",
143        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
144        "PEBS": "2",
145        "SampleAfterValue": "400009",
146        "UMask": "0x4"
147    },
148    {
149        "BriefDescription": "Conditional branch instructions retired.",
150        "Counter": "0,1,2,3",
151        "CounterHTOff": "0,1,2,3,4,5,6,7",
152        "EventCode": "0xC4",
153        "EventName": "BR_INST_RETIRED.CONDITIONAL",
154        "PEBS": "1",
155        "PublicDescription": "Counts the number of conditional branch instructions retired.",
156        "SampleAfterValue": "400009",
157        "UMask": "0x1"
158    },
159    {
160        "BriefDescription": "Far branch instructions retired.",
161        "Counter": "0,1,2,3",
162        "CounterHTOff": "0,1,2,3,4,5,6,7",
163        "EventCode": "0xC4",
164        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
165        "PublicDescription": "Number of far branches retired.",
166        "SampleAfterValue": "100003",
167        "UMask": "0x40"
168    },
169    {
170        "BriefDescription": "Direct and indirect near call instructions retired.",
171        "Counter": "0,1,2,3",
172        "CounterHTOff": "0,1,2,3,4,5,6,7",
173        "EventCode": "0xC4",
174        "EventName": "BR_INST_RETIRED.NEAR_CALL",
175        "PEBS": "1",
176        "SampleAfterValue": "100003",
177        "UMask": "0x2"
178    },
179    {
180        "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3).",
181        "Counter": "0,1,2,3",
182        "CounterHTOff": "0,1,2,3,4,5,6,7",
183        "EventCode": "0xC4",
184        "EventName": "BR_INST_RETIRED.NEAR_CALL_R3",
185        "PEBS": "1",
186        "SampleAfterValue": "100003",
187        "UMask": "0x2"
188    },
189    {
190        "BriefDescription": "Return instructions retired.",
191        "Counter": "0,1,2,3",
192        "CounterHTOff": "0,1,2,3,4,5,6,7",
193        "EventCode": "0xC4",
194        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
195        "PEBS": "1",
196        "PublicDescription": "Counts the number of near return instructions retired.",
197        "SampleAfterValue": "100003",
198        "UMask": "0x8"
199    },
200    {
201        "BriefDescription": "Taken branch instructions retired.",
202        "Counter": "0,1,2,3",
203        "CounterHTOff": "0,1,2,3,4,5,6,7",
204        "EventCode": "0xC4",
205        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
206        "PEBS": "1",
207        "PublicDescription": "Number of near taken branches retired.",
208        "SampleAfterValue": "400009",
209        "UMask": "0x20"
210    },
211    {
212        "BriefDescription": "Not taken branch instructions retired.",
213        "Counter": "0,1,2,3",
214        "CounterHTOff": "0,1,2,3,4,5,6,7",
215        "EventCode": "0xC4",
216        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
217        "PublicDescription": "Counts the number of not taken branch instructions retired.",
218        "SampleAfterValue": "400009",
219        "UMask": "0x10"
220    },
221    {
222        "BriefDescription": "Speculative and retired mispredicted macro conditional branches",
223        "Counter": "0,1,2,3",
224        "CounterHTOff": "0,1,2,3,4,5,6,7",
225        "EventCode": "0x89",
226        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
227        "PublicDescription": "Counts all near executed branches (not necessarily retired).",
228        "SampleAfterValue": "200003",
229        "UMask": "0xff"
230    },
231    {
232        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
233        "Counter": "0,1,2,3",
234        "CounterHTOff": "0,1,2,3,4,5,6,7",
235        "EventCode": "0x89",
236        "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
237        "SampleAfterValue": "200003",
238        "UMask": "0xc1"
239    },
240    {
241        "BriefDescription": "Mispredicted indirect branches excluding calls and returns.",
242        "Counter": "0,1,2,3",
243        "CounterHTOff": "0,1,2,3,4,5,6,7",
244        "EventCode": "0x89",
245        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
246        "SampleAfterValue": "200003",
247        "UMask": "0xc4"
248    },
249    {
250        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
251        "Counter": "0,1,2,3",
252        "CounterHTOff": "0,1,2,3,4,5,6,7",
253        "EventCode": "0x89",
254        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
255        "SampleAfterValue": "200003",
256        "UMask": "0x41"
257    },
258    {
259        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.",
260        "Counter": "0,1,2,3",
261        "CounterHTOff": "0,1,2,3,4,5,6,7",
262        "EventCode": "0x89",
263        "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
264        "SampleAfterValue": "200003",
265        "UMask": "0x81"
266    },
267    {
268        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
269        "Counter": "0,1,2,3",
270        "CounterHTOff": "0,1,2,3,4,5,6,7",
271        "EventCode": "0x89",
272        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
273        "SampleAfterValue": "200003",
274        "UMask": "0x84"
275    },
276    {
277        "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
278        "Counter": "0,1,2,3",
279        "CounterHTOff": "0,1,2,3,4,5,6,7",
280        "EventCode": "0x89",
281        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
282        "SampleAfterValue": "200003",
283        "UMask": "0xa0"
284    },
285    {
286        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
287        "Counter": "0,1,2,3",
288        "CounterHTOff": "0,1,2,3,4,5,6,7",
289        "EventCode": "0x89",
290        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
291        "SampleAfterValue": "200003",
292        "UMask": "0x88"
293    },
294    {
295        "BriefDescription": "All mispredicted macro branch instructions retired.",
296        "Counter": "0,1,2,3",
297        "CounterHTOff": "0,1,2,3,4,5,6,7",
298        "EventCode": "0xC5",
299        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
300        "PublicDescription": "Mispredicted branch instructions at retirement.",
301        "SampleAfterValue": "400009"
302    },
303    {
304        "BriefDescription": "Mispredicted macro branch instructions retired.",
305        "Counter": "0,1,2,3",
306        "CounterHTOff": "0,1,2,3",
307        "EventCode": "0xC5",
308        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
309        "PEBS": "2",
310        "PublicDescription": "This event counts all mispredicted branch instructions retired. This is a precise event.",
311        "SampleAfterValue": "400009",
312        "UMask": "0x4"
313    },
314    {
315        "BriefDescription": "Mispredicted conditional branch instructions retired.",
316        "Counter": "0,1,2,3",
317        "CounterHTOff": "0,1,2,3,4,5,6,7",
318        "EventCode": "0xC5",
319        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
320        "PEBS": "1",
321        "SampleAfterValue": "400009",
322        "UMask": "0x1"
323    },
324    {
325        "BriefDescription": "number of near branch instructions retired that were mispredicted and taken.",
326        "Counter": "0,1,2,3",
327        "CounterHTOff": "0,1,2,3,4,5,6,7",
328        "EventCode": "0xC5",
329        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
330        "PEBS": "1",
331        "PublicDescription": "Number of near branch instructions retired that were taken but mispredicted.",
332        "SampleAfterValue": "400009",
333        "UMask": "0x20"
334    },
335    {
336        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
337        "Counter": "0,1,2,3",
338        "CounterHTOff": "0,1,2,3",
339        "EventCode": "0x3c",
340        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
341        "SampleAfterValue": "100003",
342        "UMask": "0x2"
343    },
344    {
345        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
346        "Counter": "0,1,2,3",
347        "CounterHTOff": "0,1,2,3,4,5,6,7",
348        "EventCode": "0x3C",
349        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
350        "PublicDescription": "Increments at the frequency of XCLK (100 MHz) when not halted.",
351        "SampleAfterValue": "100003",
352        "UMask": "0x1"
353    },
354    {
355        "AnyThread": "1",
356        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate)",
357        "Counter": "0,1,2,3",
358        "CounterHTOff": "0,1,2,3,4,5,6,7",
359        "EventCode": "0x3C",
360        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
361        "PublicDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
362        "SampleAfterValue": "100003",
363        "UMask": "0x1"
364    },
365    {
366        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
367        "Counter": "0,1,2,3",
368        "CounterHTOff": "0,1,2,3,4,5,6,7",
369        "EventCode": "0x3C",
370        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
371        "SampleAfterValue": "100003",
372        "UMask": "0x2"
373    },
374    {
375        "BriefDescription": "Reference cycles when the core is not in halt state.",
376        "Counter": "Fixed counter 2",
377        "CounterHTOff": "Fixed counter 2",
378        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
379        "PublicDescription": "This event 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.",
380        "SampleAfterValue": "2000003",
381        "UMask": "0x3"
382    },
383    {
384        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
385        "Counter": "0,1,2,3",
386        "CounterHTOff": "0,1,2,3,4,5,6,7",
387        "EventCode": "0x3C",
388        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
389        "PublicDescription": "Reference cycles when the thread is unhalted. (counts at 100 MHz rate)",
390        "SampleAfterValue": "100003",
391        "UMask": "0x1"
392    },
393    {
394        "AnyThread": "1",
395        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate)",
396        "Counter": "0,1,2,3",
397        "CounterHTOff": "0,1,2,3,4,5,6,7",
398        "EventCode": "0x3C",
399        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
400        "PublicDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
401        "SampleAfterValue": "100003",
402        "UMask": "0x1"
403    },
404    {
405        "BriefDescription": "Core cycles when the thread is not in halt state.",
406        "Counter": "Fixed counter 1",
407        "CounterHTOff": "Fixed counter 1",
408        "EventName": "CPU_CLK_UNHALTED.THREAD",
409        "PublicDescription": "This event 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.",
410        "SampleAfterValue": "2000003",
411        "UMask": "0x2"
412    },
413    {
414        "AnyThread": "1",
415        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
416        "Counter": "Fixed counter 1",
417        "CounterHTOff": "Fixed counter 1",
418        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
419        "SampleAfterValue": "2000003",
420        "UMask": "0x2"
421    },
422    {
423        "BriefDescription": "Thread cycles when thread is not in halt state",
424        "Counter": "0,1,2,3",
425        "CounterHTOff": "0,1,2,3,4,5,6,7",
426        "EventCode": "0x3C",
427        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
428        "PublicDescription": "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.",
429        "SampleAfterValue": "2000003"
430    },
431    {
432        "AnyThread": "1",
433        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
434        "Counter": "0,1,2,3",
435        "CounterHTOff": "0,1,2,3,4,5,6,7",
436        "EventCode": "0x3C",
437        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
438        "SampleAfterValue": "2000003"
439    },
440    {
441        "BriefDescription": "Cycles with pending L1 cache miss loads.",
442        "Counter": "2",
443        "CounterHTOff": "2",
444        "CounterMask": "8",
445        "EventCode": "0xA3",
446        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
447        "PublicDescription": "Cycles with pending L1 data cache miss loads. Set Cmask=8 to count cycle.",
448        "SampleAfterValue": "2000003",
449        "UMask": "0x8"
450    },
451    {
452        "BriefDescription": "Cycles with pending L2 cache miss loads.",
453        "Counter": "0,1,2,3",
454        "CounterHTOff": "0,1,2,3,4,5,6,7",
455        "CounterMask": "1",
456        "Errata": "HSD78, HSM63, HSM80",
457        "EventCode": "0xa3",
458        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
459        "PublicDescription": "Cycles with pending L2 miss loads. Set Cmask=2 to count cycle.",
460        "SampleAfterValue": "2000003",
461        "UMask": "0x1"
462    },
463    {
464        "BriefDescription": "Cycles with pending memory loads.",
465        "Counter": "0,1,2,3",
466        "CounterHTOff": "0,1,2,3",
467        "CounterMask": "2",
468        "EventCode": "0xA3",
469        "EventName": "CYCLE_ACTIVITY.CYCLES_LDM_PENDING",
470        "PublicDescription": "Cycles with pending memory loads. Set Cmask=2 to count cycle.",
471        "SampleAfterValue": "2000003",
472        "UMask": "0x2"
473    },
474    {
475        "BriefDescription": "This event increments by 1 for every cycle where there was no execute for this thread.",
476        "Counter": "0,1,2,3",
477        "CounterHTOff": "0,1,2,3",
478        "CounterMask": "4",
479        "EventCode": "0xA3",
480        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_EXECUTE",
481        "PublicDescription": "This event counts cycles during which no instructions were executed in the execution stage of the pipeline.",
482        "SampleAfterValue": "2000003",
483        "UMask": "0x4"
484    },
485    {
486        "BriefDescription": "Execution stalls due to L1 data cache misses",
487        "Counter": "2",
488        "CounterHTOff": "2",
489        "CounterMask": "12",
490        "EventCode": "0xA3",
491        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
492        "PublicDescription": "Execution stalls due to L1 data cache miss loads. Set Cmask=0CH.",
493        "SampleAfterValue": "2000003",
494        "UMask": "0xc"
495    },
496    {
497        "BriefDescription": "Execution stalls due to L2 cache misses.",
498        "Counter": "0,1,2,3",
499        "CounterHTOff": "0,1,2,3",
500        "CounterMask": "5",
501        "Errata": "HSM63, HSM80",
502        "EventCode": "0xa3",
503        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
504        "PublicDescription": "Number of loads missed L2.",
505        "SampleAfterValue": "2000003",
506        "UMask": "0x5"
507    },
508    {
509        "BriefDescription": "Execution stalls due to memory subsystem.",
510        "Counter": "0,1,2,3",
511        "CounterHTOff": "0,1,2,3",
512        "CounterMask": "6",
513        "EventCode": "0xA3",
514        "EventName": "CYCLE_ACTIVITY.STALLS_LDM_PENDING",
515        "PublicDescription": "This event counts cycles during which no instructions were executed in the execution stage of the pipeline and there were memory instructions pending (waiting for data).",
516        "SampleAfterValue": "2000003",
517        "UMask": "0x6"
518    },
519    {
520        "BriefDescription": "Stall cycles because IQ is full",
521        "Counter": "0,1,2,3",
522        "CounterHTOff": "0,1,2,3,4,5,6,7",
523        "EventCode": "0x87",
524        "EventName": "ILD_STALL.IQ_FULL",
525        "PublicDescription": "Stall cycles due to IQ is full.",
526        "SampleAfterValue": "2000003",
527        "UMask": "0x4"
528    },
529    {
530        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
531        "Counter": "0,1,2,3",
532        "CounterHTOff": "0,1,2,3,4,5,6,7",
533        "EventCode": "0x87",
534        "EventName": "ILD_STALL.LCP",
535        "PublicDescription": "This event counts cycles where the decoder is stalled on an instruction with a length changing prefix (LCP).",
536        "SampleAfterValue": "2000003",
537        "UMask": "0x1"
538    },
539    {
540        "BriefDescription": "Instructions retired from execution.",
541        "Counter": "Fixed counter 0",
542        "CounterHTOff": "Fixed counter 0",
543        "Errata": "HSD140, HSD143",
544        "EventName": "INST_RETIRED.ANY",
545        "PublicDescription": "This event counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers. INST_RETIRED.ANY is counted by a designated fixed counter, leaving the programmable counters available for other events. Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.",
546        "SampleAfterValue": "2000003",
547        "UMask": "0x1"
548    },
549    {
550        "BriefDescription": "Number of instructions retired. General Counter   - architectural event",
551        "Counter": "0,1,2,3",
552        "CounterHTOff": "0,1,2,3,4,5,6,7",
553        "Errata": "HSD11, HSD140",
554        "EventCode": "0xC0",
555        "EventName": "INST_RETIRED.ANY_P",
556        "PublicDescription": "Number of instructions at retirement.",
557        "SampleAfterValue": "2000003"
558    },
559    {
560        "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution",
561        "Counter": "1",
562        "CounterHTOff": "1",
563        "Errata": "HSD140",
564        "EventCode": "0xC0",
565        "EventName": "INST_RETIRED.PREC_DIST",
566        "PEBS": "2",
567        "PublicDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution.",
568        "SampleAfterValue": "2000003",
569        "UMask": "0x1"
570    },
571    {
572        "BriefDescription": "FP operations retired. X87 FP operations that have no exceptions: Counts also flows that have several X87 or flows that use X87 uops in the exception handling.",
573        "Counter": "0,1,2,3",
574        "CounterHTOff": "0,1,2,3,4,5,6,7",
575        "EventCode": "0xC0",
576        "EventName": "INST_RETIRED.X87",
577        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts FP operations retired. For X87 FP operations that have no exceptions counting also includes flows that have several X87, or flows that use X87 uops in the exception handling.",
578        "SampleAfterValue": "2000003",
579        "UMask": "0x2"
580    },
581    {
582        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)",
583        "Counter": "0,1,2,3",
584        "CounterHTOff": "0,1,2,3,4,5,6,7",
585        "CounterMask": "1",
586        "EventCode": "0x0D",
587        "EventName": "INT_MISC.RECOVERY_CYCLES",
588        "PublicDescription": "This event counts the number of cycles spent waiting for a recovery after an event such as a processor nuke, JEClear, assist, hle/rtm abort etc.",
589        "SampleAfterValue": "2000003",
590        "UMask": "0x3"
591    },
592    {
593        "AnyThread": "1",
594        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke)",
595        "Counter": "0,1,2,3",
596        "CounterHTOff": "0,1,2,3,4,5,6,7",
597        "CounterMask": "1",
598        "EventCode": "0x0D",
599        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
600        "PublicDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).",
601        "SampleAfterValue": "2000003",
602        "UMask": "0x3"
603    },
604    {
605        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use",
606        "Counter": "0,1,2,3",
607        "CounterHTOff": "0,1,2,3,4,5,6,7",
608        "EventCode": "0x03",
609        "EventName": "LD_BLOCKS.NO_SR",
610        "PublicDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
611        "SampleAfterValue": "100003",
612        "UMask": "0x8"
613    },
614    {
615        "BriefDescription": "loads blocked by overlapping with store buffer that cannot be forwarded",
616        "Counter": "0,1,2,3",
617        "CounterHTOff": "0,1,2,3,4,5,6,7",
618        "EventCode": "0x03",
619        "EventName": "LD_BLOCKS.STORE_FORWARD",
620        "PublicDescription": "This event counts loads that followed a store to the same address, where the data could not be forwarded inside the pipeline from the store to the load.  The most common reason why store forwarding would be blocked is when a load's address range overlaps with a preceding smaller uncompleted store. The penalty for blocked store forwarding is that the load must wait for the store to write its value to the cache before it can be issued.",
621        "SampleAfterValue": "100003",
622        "UMask": "0x2"
623    },
624    {
625        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
626        "Counter": "0,1,2,3",
627        "CounterHTOff": "0,1,2,3,4,5,6,7",
628        "EventCode": "0x07",
629        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
630        "PublicDescription": "Aliasing occurs when a load is issued after a store and their memory addresses are offset by 4K.  This event counts the number of loads that aliased with a preceding store, resulting in an extended address check in the pipeline which can have a performance impact.",
631        "SampleAfterValue": "100003",
632        "UMask": "0x1"
633    },
634    {
635        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch",
636        "Counter": "0,1,2,3",
637        "CounterHTOff": "0,1,2,3,4,5,6,7",
638        "EventCode": "0x4c",
639        "EventName": "LOAD_HIT_PRE.HW_PF",
640        "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for H/W prefetch.",
641        "SampleAfterValue": "100003",
642        "UMask": "0x2"
643    },
644    {
645        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch",
646        "Counter": "0,1,2,3",
647        "CounterHTOff": "0,1,2,3,4,5,6,7",
648        "EventCode": "0x4c",
649        "EventName": "LOAD_HIT_PRE.SW_PF",
650        "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for S/W prefetch.",
651        "SampleAfterValue": "100003",
652        "UMask": "0x1"
653    },
654    {
655        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
656        "Counter": "0,1,2,3",
657        "CounterHTOff": "0,1,2,3,4,5,6,7",
658        "CounterMask": "4",
659        "EventCode": "0xA8",
660        "EventName": "LSD.CYCLES_4_UOPS",
661        "SampleAfterValue": "2000003",
662        "UMask": "0x1"
663    },
664    {
665        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
666        "Counter": "0,1,2,3",
667        "CounterHTOff": "0,1,2,3,4,5,6,7",
668        "CounterMask": "1",
669        "EventCode": "0xA8",
670        "EventName": "LSD.CYCLES_ACTIVE",
671        "SampleAfterValue": "2000003",
672        "UMask": "0x1"
673    },
674    {
675        "BriefDescription": "Number of Uops delivered by the LSD.",
676        "Counter": "0,1,2,3",
677        "CounterHTOff": "0,1,2,3,4,5,6,7",
678        "EventCode": "0xa8",
679        "EventName": "LSD.UOPS",
680        "PublicDescription": "Number of uops delivered by the LSD.",
681        "SampleAfterValue": "2000003",
682        "UMask": "0x1"
683    },
684    {
685        "BriefDescription": "Number of machine clears (nukes) of any type.",
686        "Counter": "0,1,2,3",
687        "CounterHTOff": "0,1,2,3,4,5,6,7",
688        "CounterMask": "1",
689        "EdgeDetect": "1",
690        "EventCode": "0xC3",
691        "EventName": "MACHINE_CLEARS.COUNT",
692        "SampleAfterValue": "100003",
693        "UMask": "0x1"
694    },
695    {
696        "BriefDescription": "Cycles there was a Nuke. Account for both thread-specific and All Thread Nukes.",
697        "Counter": "0,1,2,3",
698        "CounterHTOff": "0,1,2,3,4,5,6,7",
699        "EventCode": "0xC3",
700        "EventName": "MACHINE_CLEARS.CYCLES",
701        "SampleAfterValue": "2000003",
702        "UMask": "0x1"
703    },
704    {
705        "BriefDescription": "This event counts the number of executed Intel AVX masked load operations that refer to an illegal address range with the mask bits set to 0.",
706        "Counter": "0,1,2,3",
707        "CounterHTOff": "0,1,2,3,4,5,6,7",
708        "EventCode": "0xC3",
709        "EventName": "MACHINE_CLEARS.MASKMOV",
710        "SampleAfterValue": "100003",
711        "UMask": "0x20"
712    },
713    {
714        "BriefDescription": "Self-modifying code (SMC) detected.",
715        "Counter": "0,1,2,3",
716        "CounterHTOff": "0,1,2,3,4,5,6,7",
717        "EventCode": "0xC3",
718        "EventName": "MACHINE_CLEARS.SMC",
719        "PublicDescription": "This event is incremented when self-modifying code (SMC) is detected, which causes a machine clear.  Machine clears can have a significant performance impact if they are happening frequently.",
720        "SampleAfterValue": "100003",
721        "UMask": "0x4"
722    },
723    {
724        "BriefDescription": "Number of integer Move Elimination candidate uops that were eliminated.",
725        "Counter": "0,1,2,3",
726        "CounterHTOff": "0,1,2,3,4,5,6,7",
727        "EventCode": "0x58",
728        "EventName": "MOVE_ELIMINATION.INT_ELIMINATED",
729        "PublicDescription": "Number of integer move elimination candidate uops that were eliminated.",
730        "SampleAfterValue": "1000003",
731        "UMask": "0x1"
732    },
733    {
734        "BriefDescription": "Number of integer Move Elimination candidate uops that were not eliminated.",
735        "Counter": "0,1,2,3",
736        "CounterHTOff": "0,1,2,3,4,5,6,7",
737        "EventCode": "0x58",
738        "EventName": "MOVE_ELIMINATION.INT_NOT_ELIMINATED",
739        "PublicDescription": "Number of integer move elimination candidate uops that were not eliminated.",
740        "SampleAfterValue": "1000003",
741        "UMask": "0x4"
742    },
743    {
744        "BriefDescription": "Number of times any microcode assist is invoked by HW upon uop writeback.",
745        "Counter": "0,1,2,3",
746        "CounterHTOff": "0,1,2,3,4,5,6,7",
747        "EventCode": "0xC1",
748        "EventName": "OTHER_ASSISTS.ANY_WB_ASSIST",
749        "PublicDescription": "Number of microcode assists invoked by HW upon uop writeback.",
750        "SampleAfterValue": "100003",
751        "UMask": "0x40"
752    },
753    {
754        "BriefDescription": "Resource-related stall cycles",
755        "Counter": "0,1,2,3",
756        "CounterHTOff": "0,1,2,3,4,5,6,7",
757        "Errata": "HSD135",
758        "EventCode": "0xA2",
759        "EventName": "RESOURCE_STALLS.ANY",
760        "PublicDescription": "Cycles allocation is stalled due to resource related reason.",
761        "SampleAfterValue": "2000003",
762        "UMask": "0x1"
763    },
764    {
765        "BriefDescription": "Cycles stalled due to re-order buffer full.",
766        "Counter": "0,1,2,3",
767        "CounterHTOff": "0,1,2,3,4,5,6,7",
768        "EventCode": "0xA2",
769        "EventName": "RESOURCE_STALLS.ROB",
770        "SampleAfterValue": "2000003",
771        "UMask": "0x10"
772    },
773    {
774        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
775        "Counter": "0,1,2,3",
776        "CounterHTOff": "0,1,2,3,4,5,6,7",
777        "EventCode": "0xA2",
778        "EventName": "RESOURCE_STALLS.RS",
779        "SampleAfterValue": "2000003",
780        "UMask": "0x4"
781    },
782    {
783        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
784        "Counter": "0,1,2,3",
785        "CounterHTOff": "0,1,2,3,4,5,6,7",
786        "EventCode": "0xA2",
787        "EventName": "RESOURCE_STALLS.SB",
788        "PublicDescription": "This event counts cycles during which no instructions were allocated because no Store Buffers (SB) were available.",
789        "SampleAfterValue": "2000003",
790        "UMask": "0x8"
791    },
792    {
793        "BriefDescription": "Count cases of saving new LBR",
794        "Counter": "0,1,2,3",
795        "CounterHTOff": "0,1,2,3,4,5,6,7",
796        "EventCode": "0xCC",
797        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
798        "PublicDescription": "Count cases of saving new LBR records by hardware.",
799        "SampleAfterValue": "2000003",
800        "UMask": "0x20"
801    },
802    {
803        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
804        "Counter": "0,1,2,3",
805        "CounterHTOff": "0,1,2,3,4,5,6,7",
806        "EventCode": "0x5E",
807        "EventName": "RS_EVENTS.EMPTY_CYCLES",
808        "PublicDescription": "This event counts cycles when the Reservation Station ( RS ) is empty for the thread. The RS is a structure that buffers allocated micro-ops from the Front-end. If there are many cycles when the RS is empty, it may represent an underflow of instructions delivered from the Front-end.",
809        "SampleAfterValue": "2000003",
810        "UMask": "0x1"
811    },
812    {
813        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
814        "Counter": "0,1,2,3",
815        "CounterHTOff": "0,1,2,3,4,5,6,7",
816        "CounterMask": "1",
817        "EdgeDetect": "1",
818        "EventCode": "0x5E",
819        "EventName": "RS_EVENTS.EMPTY_END",
820        "Invert": "1",
821        "SampleAfterValue": "200003",
822        "UMask": "0x1"
823    },
824    {
825        "BriefDescription": "Cycles per thread when uops are executed in port 0.",
826        "Counter": "0,1,2,3",
827        "CounterHTOff": "0,1,2,3,4,5,6,7",
828        "EventCode": "0xA1",
829        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
830        "SampleAfterValue": "2000003",
831        "UMask": "0x1"
832    },
833    {
834        "BriefDescription": "Cycles per thread when uops are executed in port 1.",
835        "Counter": "0,1,2,3",
836        "CounterHTOff": "0,1,2,3,4,5,6,7",
837        "EventCode": "0xA1",
838        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
839        "SampleAfterValue": "2000003",
840        "UMask": "0x2"
841    },
842    {
843        "BriefDescription": "Cycles per thread when uops are executed in port 2.",
844        "Counter": "0,1,2,3",
845        "CounterHTOff": "0,1,2,3,4,5,6,7",
846        "EventCode": "0xA1",
847        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
848        "SampleAfterValue": "2000003",
849        "UMask": "0x4"
850    },
851    {
852        "BriefDescription": "Cycles per thread when uops are executed in port 3.",
853        "Counter": "0,1,2,3",
854        "CounterHTOff": "0,1,2,3,4,5,6,7",
855        "EventCode": "0xA1",
856        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
857        "SampleAfterValue": "2000003",
858        "UMask": "0x8"
859    },
860    {
861        "BriefDescription": "Cycles per thread when uops are executed in port 4.",
862        "Counter": "0,1,2,3",
863        "CounterHTOff": "0,1,2,3,4,5,6,7",
864        "EventCode": "0xA1",
865        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
866        "SampleAfterValue": "2000003",
867        "UMask": "0x10"
868    },
869    {
870        "BriefDescription": "Cycles per thread when uops are executed in port 5.",
871        "Counter": "0,1,2,3",
872        "CounterHTOff": "0,1,2,3,4,5,6,7",
873        "EventCode": "0xA1",
874        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
875        "SampleAfterValue": "2000003",
876        "UMask": "0x20"
877    },
878    {
879        "BriefDescription": "Cycles per thread when uops are executed in port 6.",
880        "Counter": "0,1,2,3",
881        "CounterHTOff": "0,1,2,3,4,5,6,7",
882        "EventCode": "0xA1",
883        "EventName": "UOPS_DISPATCHED_PORT.PORT_6",
884        "SampleAfterValue": "2000003",
885        "UMask": "0x40"
886    },
887    {
888        "BriefDescription": "Cycles per thread when uops are executed in port 7.",
889        "Counter": "0,1,2,3",
890        "CounterHTOff": "0,1,2,3,4,5,6,7",
891        "EventCode": "0xA1",
892        "EventName": "UOPS_DISPATCHED_PORT.PORT_7",
893        "SampleAfterValue": "2000003",
894        "UMask": "0x80"
895    },
896    {
897        "BriefDescription": "Number of uops executed on the core.",
898        "Counter": "0,1,2,3",
899        "CounterHTOff": "0,1,2,3,4,5,6,7",
900        "Errata": "HSD30, HSM31",
901        "EventCode": "0xB1",
902        "EventName": "UOPS_EXECUTED.CORE",
903        "PublicDescription": "Counts total number of uops to be executed per-core each cycle.",
904        "SampleAfterValue": "2000003",
905        "UMask": "0x2"
906    },
907    {
908        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
909        "Counter": "0,1,2,3",
910        "CounterHTOff": "0,1,2,3,4,5,6,7",
911        "CounterMask": "1",
912        "Errata": "HSD30, HSM31",
913        "EventCode": "0xb1",
914        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
915        "SampleAfterValue": "2000003",
916        "UMask": "0x2"
917    },
918    {
919        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
920        "Counter": "0,1,2,3",
921        "CounterHTOff": "0,1,2,3,4,5,6,7",
922        "CounterMask": "2",
923        "Errata": "HSD30, HSM31",
924        "EventCode": "0xb1",
925        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
926        "SampleAfterValue": "2000003",
927        "UMask": "0x2"
928    },
929    {
930        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
931        "Counter": "0,1,2,3",
932        "CounterHTOff": "0,1,2,3,4,5,6,7",
933        "CounterMask": "3",
934        "Errata": "HSD30, HSM31",
935        "EventCode": "0xb1",
936        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
937        "SampleAfterValue": "2000003",
938        "UMask": "0x2"
939    },
940    {
941        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
942        "Counter": "0,1,2,3",
943        "CounterHTOff": "0,1,2,3,4,5,6,7",
944        "CounterMask": "4",
945        "Errata": "HSD30, HSM31",
946        "EventCode": "0xb1",
947        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
948        "SampleAfterValue": "2000003",
949        "UMask": "0x2"
950    },
951    {
952        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
953        "Counter": "0,1,2,3",
954        "CounterHTOff": "0,1,2,3,4,5,6,7",
955        "Errata": "HSD30, HSM31",
956        "EventCode": "0xb1",
957        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
958        "Invert": "1",
959        "SampleAfterValue": "2000003",
960        "UMask": "0x2"
961    },
962    {
963        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
964        "Counter": "0,1,2,3",
965        "CounterHTOff": "0,1,2,3",
966        "CounterMask": "1",
967        "Errata": "HSD144, HSD30, HSM31",
968        "EventCode": "0xB1",
969        "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC",
970        "PublicDescription": "This events counts the cycles where at least one uop was executed. It is counted per thread.",
971        "SampleAfterValue": "2000003",
972        "UMask": "0x1"
973    },
974    {
975        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
976        "Counter": "0,1,2,3",
977        "CounterHTOff": "0,1,2,3",
978        "CounterMask": "2",
979        "Errata": "HSD144, HSD30, HSM31",
980        "EventCode": "0xB1",
981        "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC",
982        "PublicDescription": "This events counts the cycles where at least two uop were executed. It is counted per thread.",
983        "SampleAfterValue": "2000003",
984        "UMask": "0x1"
985    },
986    {
987        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
988        "Counter": "0,1,2,3",
989        "CounterHTOff": "0,1,2,3",
990        "CounterMask": "3",
991        "Errata": "HSD144, HSD30, HSM31",
992        "EventCode": "0xB1",
993        "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC",
994        "PublicDescription": "This events counts the cycles where at least three uop were executed. It is counted per thread.",
995        "SampleAfterValue": "2000003",
996        "UMask": "0x1"
997    },
998    {
999        "BriefDescription": "Cycles where at least 4 uops were executed per-thread.",
1000        "Counter": "0,1,2,3",
1001        "CounterHTOff": "0,1,2,3",
1002        "CounterMask": "4",
1003        "Errata": "HSD144, HSD30, HSM31",
1004        "EventCode": "0xB1",
1005        "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC",
1006        "SampleAfterValue": "2000003",
1007        "UMask": "0x1"
1008    },
1009    {
1010        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
1011        "Counter": "0,1,2,3",
1012        "CounterHTOff": "0,1,2,3",
1013        "CounterMask": "1",
1014        "Errata": "HSD144, HSD30, HSM31",
1015        "EventCode": "0xB1",
1016        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
1017        "Invert": "1",
1018        "SampleAfterValue": "2000003",
1019        "UMask": "0x1"
1020    },
1021    {
1022        "BriefDescription": "Cycles per thread when uops are executed in port 0",
1023        "Counter": "0,1,2,3",
1024        "CounterHTOff": "0,1,2,3,4,5,6,7",
1025        "EventCode": "0xA1",
1026        "EventName": "UOPS_EXECUTED_PORT.PORT_0",
1027        "PublicDescription": "Cycles which a uop is dispatched on port 0 in this thread.",
1028        "SampleAfterValue": "2000003",
1029        "UMask": "0x1"
1030    },
1031    {
1032        "AnyThread": "1",
1033        "BriefDescription": "Cycles per core when uops are executed in port 0.",
1034        "Counter": "0,1,2,3",
1035        "CounterHTOff": "0,1,2,3,4,5,6,7",
1036        "EventCode": "0xA1",
1037        "EventName": "UOPS_EXECUTED_PORT.PORT_0_CORE",
1038        "PublicDescription": "Cycles per core when uops are exectuted in port 0.",
1039        "SampleAfterValue": "2000003",
1040        "UMask": "0x1"
1041    },
1042    {
1043        "BriefDescription": "Cycles per thread when uops are executed in port 1",
1044        "Counter": "0,1,2,3",
1045        "CounterHTOff": "0,1,2,3,4,5,6,7",
1046        "EventCode": "0xA1",
1047        "EventName": "UOPS_EXECUTED_PORT.PORT_1",
1048        "PublicDescription": "Cycles which a uop is dispatched on port 1 in this thread.",
1049        "SampleAfterValue": "2000003",
1050        "UMask": "0x2"
1051    },
1052    {
1053        "AnyThread": "1",
1054        "BriefDescription": "Cycles per core when uops are executed in port 1.",
1055        "Counter": "0,1,2,3",
1056        "CounterHTOff": "0,1,2,3,4,5,6,7",
1057        "EventCode": "0xA1",
1058        "EventName": "UOPS_EXECUTED_PORT.PORT_1_CORE",
1059        "PublicDescription": "Cycles per core when uops are exectuted in port 1.",
1060        "SampleAfterValue": "2000003",
1061        "UMask": "0x2"
1062    },
1063    {
1064        "BriefDescription": "Cycles per thread when uops are executed in port 2",
1065        "Counter": "0,1,2,3",
1066        "CounterHTOff": "0,1,2,3,4,5,6,7",
1067        "EventCode": "0xA1",
1068        "EventName": "UOPS_EXECUTED_PORT.PORT_2",
1069        "PublicDescription": "Cycles which a uop is dispatched on port 2 in this thread.",
1070        "SampleAfterValue": "2000003",
1071        "UMask": "0x4"
1072    },
1073    {
1074        "AnyThread": "1",
1075        "BriefDescription": "Cycles per core when uops are dispatched to port 2.",
1076        "Counter": "0,1,2,3",
1077        "CounterHTOff": "0,1,2,3,4,5,6,7",
1078        "EventCode": "0xA1",
1079        "EventName": "UOPS_EXECUTED_PORT.PORT_2_CORE",
1080        "SampleAfterValue": "2000003",
1081        "UMask": "0x4"
1082    },
1083    {
1084        "BriefDescription": "Cycles per thread when uops are executed in port 3",
1085        "Counter": "0,1,2,3",
1086        "CounterHTOff": "0,1,2,3,4,5,6,7",
1087        "EventCode": "0xA1",
1088        "EventName": "UOPS_EXECUTED_PORT.PORT_3",
1089        "PublicDescription": "Cycles which a uop is dispatched on port 3 in this thread.",
1090        "SampleAfterValue": "2000003",
1091        "UMask": "0x8"
1092    },
1093    {
1094        "AnyThread": "1",
1095        "BriefDescription": "Cycles per core when uops are dispatched to port 3.",
1096        "Counter": "0,1,2,3",
1097        "CounterHTOff": "0,1,2,3,4,5,6,7",
1098        "EventCode": "0xA1",
1099        "EventName": "UOPS_EXECUTED_PORT.PORT_3_CORE",
1100        "SampleAfterValue": "2000003",
1101        "UMask": "0x8"
1102    },
1103    {
1104        "BriefDescription": "Cycles per thread when uops are executed in port 4",
1105        "Counter": "0,1,2,3",
1106        "CounterHTOff": "0,1,2,3,4,5,6,7",
1107        "EventCode": "0xA1",
1108        "EventName": "UOPS_EXECUTED_PORT.PORT_4",
1109        "PublicDescription": "Cycles which a uop is dispatched on port 4 in this thread.",
1110        "SampleAfterValue": "2000003",
1111        "UMask": "0x10"
1112    },
1113    {
1114        "AnyThread": "1",
1115        "BriefDescription": "Cycles per core when uops are executed in port 4.",
1116        "Counter": "0,1,2,3",
1117        "CounterHTOff": "0,1,2,3,4,5,6,7",
1118        "EventCode": "0xA1",
1119        "EventName": "UOPS_EXECUTED_PORT.PORT_4_CORE",
1120        "PublicDescription": "Cycles per core when uops are exectuted in port 4.",
1121        "SampleAfterValue": "2000003",
1122        "UMask": "0x10"
1123    },
1124    {
1125        "BriefDescription": "Cycles per thread when uops are executed in port 5",
1126        "Counter": "0,1,2,3",
1127        "CounterHTOff": "0,1,2,3,4,5,6,7",
1128        "EventCode": "0xA1",
1129        "EventName": "UOPS_EXECUTED_PORT.PORT_5",
1130        "PublicDescription": "Cycles which a uop is dispatched on port 5 in this thread.",
1131        "SampleAfterValue": "2000003",
1132        "UMask": "0x20"
1133    },
1134    {
1135        "AnyThread": "1",
1136        "BriefDescription": "Cycles per core when uops are executed in port 5.",
1137        "Counter": "0,1,2,3",
1138        "CounterHTOff": "0,1,2,3,4,5,6,7",
1139        "EventCode": "0xA1",
1140        "EventName": "UOPS_EXECUTED_PORT.PORT_5_CORE",
1141        "PublicDescription": "Cycles per core when uops are exectuted in port 5.",
1142        "SampleAfterValue": "2000003",
1143        "UMask": "0x20"
1144    },
1145    {
1146        "BriefDescription": "Cycles per thread when uops are executed in port 6",
1147        "Counter": "0,1,2,3",
1148        "CounterHTOff": "0,1,2,3,4,5,6,7",
1149        "EventCode": "0xA1",
1150        "EventName": "UOPS_EXECUTED_PORT.PORT_6",
1151        "PublicDescription": "Cycles which a uop is dispatched on port 6 in this thread.",
1152        "SampleAfterValue": "2000003",
1153        "UMask": "0x40"
1154    },
1155    {
1156        "AnyThread": "1",
1157        "BriefDescription": "Cycles per core when uops are executed in port 6.",
1158        "Counter": "0,1,2,3",
1159        "CounterHTOff": "0,1,2,3,4,5,6,7",
1160        "EventCode": "0xA1",
1161        "EventName": "UOPS_EXECUTED_PORT.PORT_6_CORE",
1162        "PublicDescription": "Cycles per core when uops are exectuted in port 6.",
1163        "SampleAfterValue": "2000003",
1164        "UMask": "0x40"
1165    },
1166    {
1167        "BriefDescription": "Cycles per thread when uops are executed in port 7",
1168        "Counter": "0,1,2,3",
1169        "CounterHTOff": "0,1,2,3,4,5,6,7",
1170        "EventCode": "0xA1",
1171        "EventName": "UOPS_EXECUTED_PORT.PORT_7",
1172        "PublicDescription": "Cycles which a uop is dispatched on port 7 in this thread.",
1173        "SampleAfterValue": "2000003",
1174        "UMask": "0x80"
1175    },
1176    {
1177        "AnyThread": "1",
1178        "BriefDescription": "Cycles per core when uops are dispatched to port 7.",
1179        "Counter": "0,1,2,3",
1180        "CounterHTOff": "0,1,2,3,4,5,6,7",
1181        "EventCode": "0xA1",
1182        "EventName": "UOPS_EXECUTED_PORT.PORT_7_CORE",
1183        "SampleAfterValue": "2000003",
1184        "UMask": "0x80"
1185    },
1186    {
1187        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)",
1188        "Counter": "0,1,2,3",
1189        "CounterHTOff": "0,1,2,3,4,5,6,7",
1190        "EventCode": "0x0E",
1191        "EventName": "UOPS_ISSUED.ANY",
1192        "PublicDescription": "This event counts the number of uops issued by the Front-end of the pipeline to the Back-end. This event is counted at the allocation stage and will count both retired and non-retired uops.",
1193        "SampleAfterValue": "2000003",
1194        "UMask": "0x1"
1195    },
1196    {
1197        "AnyThread": "1",
1198        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
1199        "Counter": "0,1,2,3",
1200        "CounterHTOff": "0,1,2,3",
1201        "CounterMask": "1",
1202        "EventCode": "0x0E",
1203        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
1204        "Invert": "1",
1205        "SampleAfterValue": "2000003",
1206        "UMask": "0x1"
1207    },
1208    {
1209        "BriefDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive; added by GSR u-arch.",
1210        "Counter": "0,1,2,3",
1211        "CounterHTOff": "0,1,2,3,4,5,6,7",
1212        "EventCode": "0x0E",
1213        "EventName": "UOPS_ISSUED.FLAGS_MERGE",
1214        "PublicDescription": "Number of flags-merge uops allocated. Such uops add delay.",
1215        "SampleAfterValue": "2000003",
1216        "UMask": "0x10"
1217    },
1218    {
1219        "BriefDescription": "Number of Multiply packed/scalar single precision uops allocated",
1220        "Counter": "0,1,2,3",
1221        "CounterHTOff": "0,1,2,3,4,5,6,7",
1222        "EventCode": "0x0E",
1223        "EventName": "UOPS_ISSUED.SINGLE_MUL",
1224        "PublicDescription": "Number of multiply packed/scalar single precision uops allocated.",
1225        "SampleAfterValue": "2000003",
1226        "UMask": "0x40"
1227    },
1228    {
1229        "BriefDescription": "Number of slow LEA uops being allocated. A uop is generally considered SlowLea if it has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.",
1230        "Counter": "0,1,2,3",
1231        "CounterHTOff": "0,1,2,3,4,5,6,7",
1232        "EventCode": "0x0E",
1233        "EventName": "UOPS_ISSUED.SLOW_LEA",
1234        "PublicDescription": "Number of slow LEA or similar uops allocated. Such uop has 3 sources (for example, 2 sources + immediate) regardless of whether it is a result of LEA instruction or not.",
1235        "SampleAfterValue": "2000003",
1236        "UMask": "0x20"
1237    },
1238    {
1239        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
1240        "Counter": "0,1,2,3",
1241        "CounterHTOff": "0,1,2,3",
1242        "CounterMask": "1",
1243        "EventCode": "0x0E",
1244        "EventName": "UOPS_ISSUED.STALL_CYCLES",
1245        "Invert": "1",
1246        "SampleAfterValue": "2000003",
1247        "UMask": "0x1"
1248    },
1249    {
1250        "BriefDescription": "Actually retired uops.",
1251        "Counter": "0,1,2,3",
1252        "CounterHTOff": "0,1,2,3,4,5,6,7",
1253        "EventCode": "0xC2",
1254        "EventName": "UOPS_RETIRED.ALL",
1255        "PEBS": "1",
1256        "PublicDescription": "Counts the number of micro-ops retired. Use Cmask=1 and invert to count active cycles or stalled cycles.",
1257        "SampleAfterValue": "2000003",
1258        "UMask": "0x1"
1259    },
1260    {
1261        "AnyThread": "1",
1262        "BriefDescription": "Cycles without actually retired uops.",
1263        "Counter": "0,1,2,3",
1264        "CounterHTOff": "0,1,2,3",
1265        "CounterMask": "1",
1266        "EventCode": "0xC2",
1267        "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
1268        "Invert": "1",
1269        "SampleAfterValue": "2000003",
1270        "UMask": "0x1"
1271    },
1272    {
1273        "BriefDescription": "Retirement slots used.",
1274        "Counter": "0,1,2,3",
1275        "CounterHTOff": "0,1,2,3,4,5,6,7",
1276        "EventCode": "0xC2",
1277        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
1278        "PEBS": "1",
1279        "PublicDescription": "This event counts the number of retirement slots used each cycle.  There are potentially 4 slots that can be used each cycle - meaning, 4 uops or 4 instructions could retire each cycle.",
1280        "SampleAfterValue": "2000003",
1281        "UMask": "0x2"
1282    },
1283    {
1284        "BriefDescription": "Cycles without actually retired uops.",
1285        "Counter": "0,1,2,3",
1286        "CounterHTOff": "0,1,2,3",
1287        "CounterMask": "1",
1288        "EventCode": "0xC2",
1289        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1290        "Invert": "1",
1291        "SampleAfterValue": "2000003",
1292        "UMask": "0x1"
1293    },
1294    {
1295        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1296        "Counter": "0,1,2,3",
1297        "CounterHTOff": "0,1,2,3",
1298        "CounterMask": "10",
1299        "EventCode": "0xC2",
1300        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1301        "Invert": "1",
1302        "SampleAfterValue": "2000003",
1303        "UMask": "0x1"
1304    }
1305]