xref: /freebsd/lib/libpmc/pmu-events/arch/x86/jaketown/pipeline.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1[
2    {
3        "BriefDescription": "This event counts executed load operations with all the following traits: 1. addressing of the format [base + offset], 2. the offset is between 1 and 2047, 3. the address specified in the base register is in one page and the address [base+offset] is in an.",
4        "Counter": "0,1,2,3",
5        "CounterHTOff": "0,1,2,3,4,5,6,7",
6        "EventCode": "0xB6",
7        "EventName": "AGU_BYPASS_CANCEL.COUNT",
8        "SampleAfterValue": "100003",
9        "UMask": "0x1"
10    },
11    {
12        "BriefDescription": "Divide operations executed.",
13        "Counter": "0,1,2,3",
14        "CounterHTOff": "0,1,2,3,4,5,6,7",
15        "CounterMask": "1",
16        "EdgeDetect": "1",
17        "EventCode": "0x14",
18        "EventName": "ARITH.FPU_DIV",
19        "PublicDescription": "This event counts the number of the divide operations executed.",
20        "SampleAfterValue": "100003",
21        "UMask": "0x1"
22    },
23    {
24        "BriefDescription": "Cycles when divider is busy executing divide operations.",
25        "Counter": "0,1,2,3",
26        "CounterHTOff": "0,1,2,3,4,5,6,7",
27        "EventCode": "0x14",
28        "EventName": "ARITH.FPU_DIV_ACTIVE",
29        "SampleAfterValue": "2000003",
30        "UMask": "0x1"
31    },
32    {
33        "BriefDescription": "Speculative and retired  branches.",
34        "Counter": "0,1,2,3",
35        "CounterHTOff": "0,1,2,3,4,5,6,7",
36        "EventCode": "0x88",
37        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
38        "SampleAfterValue": "200003",
39        "UMask": "0xff"
40    },
41    {
42        "BriefDescription": "Speculative and retired macro-conditional branches.",
43        "Counter": "0,1,2,3",
44        "CounterHTOff": "0,1,2,3,4,5,6,7",
45        "EventCode": "0x88",
46        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
47        "SampleAfterValue": "200003",
48        "UMask": "0xc1"
49    },
50    {
51        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
52        "Counter": "0,1,2,3",
53        "CounterHTOff": "0,1,2,3,4,5,6,7",
54        "EventCode": "0x88",
55        "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
56        "SampleAfterValue": "200003",
57        "UMask": "0xc2"
58    },
59    {
60        "BriefDescription": "Speculative and retired direct near calls.",
61        "Counter": "0,1,2,3",
62        "CounterHTOff": "0,1,2,3,4,5,6,7",
63        "EventCode": "0x88",
64        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
65        "SampleAfterValue": "200003",
66        "UMask": "0xd0"
67    },
68    {
69        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.",
70        "Counter": "0,1,2,3",
71        "CounterHTOff": "0,1,2,3,4,5,6,7",
72        "EventCode": "0x88",
73        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
74        "SampleAfterValue": "200003",
75        "UMask": "0xc4"
76    },
77    {
78        "BriefDescription": "Speculative and retired indirect return branches.",
79        "Counter": "0,1,2,3",
80        "CounterHTOff": "0,1,2,3,4,5,6,7",
81        "EventCode": "0x88",
82        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
83        "SampleAfterValue": "200003",
84        "UMask": "0xc8"
85    },
86    {
87        "BriefDescription": "Not taken macro-conditional branches.",
88        "Counter": "0,1,2,3",
89        "CounterHTOff": "0,1,2,3,4,5,6,7",
90        "EventCode": "0x88",
91        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
92        "SampleAfterValue": "200003",
93        "UMask": "0x41"
94    },
95    {
96        "BriefDescription": "Taken speculative and retired macro-conditional branches.",
97        "Counter": "0,1,2,3",
98        "CounterHTOff": "0,1,2,3,4,5,6,7",
99        "EventCode": "0x88",
100        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
101        "SampleAfterValue": "200003",
102        "UMask": "0x81"
103    },
104    {
105        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
106        "Counter": "0,1,2,3",
107        "CounterHTOff": "0,1,2,3,4,5,6,7",
108        "EventCode": "0x88",
109        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
110        "SampleAfterValue": "200003",
111        "UMask": "0x82"
112    },
113    {
114        "BriefDescription": "Taken speculative and retired direct near calls.",
115        "Counter": "0,1,2,3",
116        "CounterHTOff": "0,1,2,3,4,5,6,7",
117        "EventCode": "0x88",
118        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
119        "SampleAfterValue": "200003",
120        "UMask": "0x90"
121    },
122    {
123        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
124        "Counter": "0,1,2,3",
125        "CounterHTOff": "0,1,2,3,4,5,6,7",
126        "EventCode": "0x88",
127        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
128        "SampleAfterValue": "200003",
129        "UMask": "0x84"
130    },
131    {
132        "BriefDescription": "Taken speculative and retired indirect calls.",
133        "Counter": "0,1,2,3",
134        "CounterHTOff": "0,1,2,3,4,5,6,7",
135        "EventCode": "0x88",
136        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
137        "SampleAfterValue": "200003",
138        "UMask": "0xa0"
139    },
140    {
141        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.",
142        "Counter": "0,1,2,3",
143        "CounterHTOff": "0,1,2,3,4,5,6,7",
144        "EventCode": "0x88",
145        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
146        "SampleAfterValue": "200003",
147        "UMask": "0x88"
148    },
149    {
150        "BriefDescription": "All (macro) branch instructions retired.",
151        "Counter": "0,1,2,3",
152        "CounterHTOff": "0,1,2,3,4,5,6,7",
153        "EventCode": "0xC4",
154        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
155        "SampleAfterValue": "400009"
156    },
157    {
158        "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS).",
159        "Counter": "0,1,2,3",
160        "CounterHTOff": "0,1,2,3",
161        "EventCode": "0xC4",
162        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
163        "PEBS": "2",
164        "SampleAfterValue": "400009",
165        "UMask": "0x4"
166    },
167    {
168        "BriefDescription": "Conditional branch instructions retired.",
169        "Counter": "0,1,2,3",
170        "CounterHTOff": "0,1,2,3,4,5,6,7",
171        "EventCode": "0xC4",
172        "EventName": "BR_INST_RETIRED.CONDITIONAL",
173        "PEBS": "1",
174        "SampleAfterValue": "400009",
175        "UMask": "0x1"
176    },
177    {
178        "BriefDescription": "Far branch instructions retired.",
179        "Counter": "0,1,2,3",
180        "CounterHTOff": "0,1,2,3,4,5,6,7",
181        "EventCode": "0xC4",
182        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
183        "SampleAfterValue": "100007",
184        "UMask": "0x40"
185    },
186    {
187        "BriefDescription": "Direct and indirect near call instructions retired.",
188        "Counter": "0,1,2,3",
189        "CounterHTOff": "0,1,2,3,4,5,6,7",
190        "EventCode": "0xC4",
191        "EventName": "BR_INST_RETIRED.NEAR_CALL",
192        "PEBS": "1",
193        "SampleAfterValue": "100007",
194        "UMask": "0x2"
195    },
196    {
197        "BriefDescription": "Return instructions retired.",
198        "Counter": "0,1,2,3",
199        "CounterHTOff": "0,1,2,3,4,5,6,7",
200        "EventCode": "0xC4",
201        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
202        "PEBS": "1",
203        "SampleAfterValue": "100007",
204        "UMask": "0x8"
205    },
206    {
207        "BriefDescription": "Taken branch instructions retired.",
208        "Counter": "0,1,2,3",
209        "CounterHTOff": "0,1,2,3,4,5,6,7",
210        "EventCode": "0xC4",
211        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
212        "PEBS": "1",
213        "SampleAfterValue": "400009",
214        "UMask": "0x20"
215    },
216    {
217        "BriefDescription": "Not taken branch instructions retired.",
218        "Counter": "0,1,2,3",
219        "CounterHTOff": "0,1,2,3,4,5,6,7",
220        "EventCode": "0xC4",
221        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
222        "SampleAfterValue": "400009",
223        "UMask": "0x10"
224    },
225    {
226        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
227        "Counter": "0,1,2,3",
228        "CounterHTOff": "0,1,2,3,4,5,6,7",
229        "EventCode": "0x89",
230        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
231        "SampleAfterValue": "200003",
232        "UMask": "0xff"
233    },
234    {
235        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
236        "Counter": "0,1,2,3",
237        "CounterHTOff": "0,1,2,3,4,5,6,7",
238        "EventCode": "0x89",
239        "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
240        "SampleAfterValue": "200003",
241        "UMask": "0xc1"
242    },
243    {
244        "BriefDescription": "Speculative and retired mispredicted direct near calls.",
245        "Counter": "0,1,2,3",
246        "CounterHTOff": "0,1,2,3,4,5,6,7",
247        "EventCode": "0x89",
248        "EventName": "BR_MISP_EXEC.ALL_DIRECT_NEAR_CALL",
249        "SampleAfterValue": "200003",
250        "UMask": "0xd0"
251    },
252    {
253        "BriefDescription": "Mispredicted indirect branches excluding calls and returns.",
254        "Counter": "0,1,2,3",
255        "CounterHTOff": "0,1,2,3,4,5,6,7",
256        "EventCode": "0x89",
257        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
258        "SampleAfterValue": "200003",
259        "UMask": "0xc4"
260    },
261    {
262        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
263        "Counter": "0,1,2,3",
264        "CounterHTOff": "0,1,2,3,4,5,6,7",
265        "EventCode": "0x89",
266        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
267        "SampleAfterValue": "200003",
268        "UMask": "0x41"
269    },
270    {
271        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.",
272        "Counter": "0,1,2,3",
273        "CounterHTOff": "0,1,2,3,4,5,6,7",
274        "EventCode": "0x89",
275        "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
276        "SampleAfterValue": "200003",
277        "UMask": "0x81"
278    },
279    {
280        "BriefDescription": "Taken speculative and retired mispredicted direct near calls.",
281        "Counter": "0,1,2,3",
282        "CounterHTOff": "0,1,2,3,4,5,6,7",
283        "EventCode": "0x89",
284        "EventName": "BR_MISP_EXEC.TAKEN_DIRECT_NEAR_CALL",
285        "SampleAfterValue": "200003",
286        "UMask": "0x90"
287    },
288    {
289        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
290        "Counter": "0,1,2,3",
291        "CounterHTOff": "0,1,2,3,4,5,6,7",
292        "EventCode": "0x89",
293        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
294        "SampleAfterValue": "200003",
295        "UMask": "0x84"
296    },
297    {
298        "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
299        "Counter": "0,1,2,3",
300        "CounterHTOff": "0,1,2,3,4,5,6,7",
301        "EventCode": "0x89",
302        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
303        "SampleAfterValue": "200003",
304        "UMask": "0xa0"
305    },
306    {
307        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
308        "Counter": "0,1,2,3",
309        "CounterHTOff": "0,1,2,3,4,5,6,7",
310        "EventCode": "0x89",
311        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
312        "SampleAfterValue": "200003",
313        "UMask": "0x88"
314    },
315    {
316        "BriefDescription": "All mispredicted macro branch instructions retired.",
317        "Counter": "0,1,2,3",
318        "CounterHTOff": "0,1,2,3,4,5,6,7",
319        "EventCode": "0xC5",
320        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
321        "SampleAfterValue": "400009"
322    },
323    {
324        "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS).",
325        "Counter": "0,1,2,3",
326        "CounterHTOff": "0,1,2,3",
327        "EventCode": "0xC5",
328        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
329        "PEBS": "2",
330        "PublicDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS)",
331        "SampleAfterValue": "400009",
332        "UMask": "0x4"
333    },
334    {
335        "BriefDescription": "Mispredicted conditional branch instructions retired.",
336        "Counter": "0,1,2,3",
337        "CounterHTOff": "0,1,2,3,4,5,6,7",
338        "EventCode": "0xC5",
339        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
340        "PEBS": "1",
341        "SampleAfterValue": "400009",
342        "UMask": "0x1"
343    },
344    {
345        "BriefDescription": "Direct and indirect mispredicted near call instructions retired.",
346        "Counter": "0,1,2,3",
347        "CounterHTOff": "0,1,2,3,4,5,6,7",
348        "EventCode": "0xC5",
349        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
350        "PEBS": "1",
351        "SampleAfterValue": "100007",
352        "UMask": "0x2"
353    },
354    {
355        "BriefDescription": "Mispredicted not taken branch instructions retired.",
356        "Counter": "0,1,2,3",
357        "CounterHTOff": "0,1,2,3,4,5,6,7",
358        "EventCode": "0xC5",
359        "EventName": "BR_MISP_RETIRED.NOT_TAKEN",
360        "PEBS": "1",
361        "SampleAfterValue": "400009",
362        "UMask": "0x10"
363    },
364    {
365        "BriefDescription": "Mispredicted taken branch instructions retired.",
366        "Counter": "0,1,2,3",
367        "CounterHTOff": "0,1,2,3,4,5,6,7",
368        "EventCode": "0xC5",
369        "EventName": "BR_MISP_RETIRED.TAKEN",
370        "PEBS": "1",
371        "SampleAfterValue": "400009",
372        "UMask": "0x20"
373    },
374    {
375        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other is halted.",
376        "Counter": "0,1,2,3",
377        "CounterHTOff": "0,1,2,3",
378        "EventCode": "0x3C",
379        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
380        "SampleAfterValue": "2000003",
381        "UMask": "0x2"
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_THREAD_UNHALTED.REF_XCLK",
389        "SampleAfterValue": "2000003",
390        "UMask": "0x1"
391    },
392    {
393        "AnyThread": "1",
394        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
395        "Counter": "0,1,2,3",
396        "CounterHTOff": "0,1,2,3,4,5,6,7",
397        "EventCode": "0x3C",
398        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
399        "SampleAfterValue": "2000003",
400        "UMask": "0x1"
401    },
402    {
403        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
404        "Counter": "0,1,2,3",
405        "CounterHTOff": "0,1,2,3,4,5,6,7",
406        "EventCode": "0x3C",
407        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
408        "SampleAfterValue": "2000003",
409        "UMask": "0x2"
410    },
411    {
412        "BriefDescription": "Reference cycles when the core is not in halt state.",
413        "Counter": "Fixed counter 3",
414        "CounterHTOff": "Fixed counter 3",
415        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
416        "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. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.",
417        "SampleAfterValue": "2000003",
418        "UMask": "0x3"
419    },
420    {
421        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
422        "Counter": "0,1,2,3",
423        "CounterHTOff": "0,1,2,3,4,5,6,7",
424        "EventCode": "0x3C",
425        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
426        "PublicDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
427        "SampleAfterValue": "2000003",
428        "UMask": "0x1"
429    },
430    {
431        "AnyThread": "1",
432        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
433        "Counter": "0,1,2,3",
434        "CounterHTOff": "0,1,2,3,4,5,6,7",
435        "EventCode": "0x3C",
436        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
437        "SampleAfterValue": "2000003",
438        "UMask": "0x1"
439    },
440    {
441        "BriefDescription": "Core cycles when the thread is not in halt state.",
442        "Counter": "Fixed counter 2",
443        "CounterHTOff": "Fixed counter 2",
444        "EventName": "CPU_CLK_UNHALTED.THREAD",
445        "PublicDescription": "This event counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.",
446        "SampleAfterValue": "2000003",
447        "UMask": "0x2"
448    },
449    {
450        "AnyThread": "1",
451        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
452        "Counter": "Fixed counter 2",
453        "CounterHTOff": "Fixed counter 2",
454        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
455        "SampleAfterValue": "2000003",
456        "UMask": "0x2"
457    },
458    {
459        "BriefDescription": "Thread cycles when thread is not in halt state.",
460        "Counter": "0,1,2,3",
461        "CounterHTOff": "0,1,2,3,4,5,6,7",
462        "EventCode": "0x3C",
463        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
464        "SampleAfterValue": "2000003"
465    },
466    {
467        "AnyThread": "1",
468        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
469        "Counter": "0,1,2,3",
470        "CounterHTOff": "0,1,2,3,4,5,6,7",
471        "EventCode": "0x3C",
472        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
473        "SampleAfterValue": "2000003"
474    },
475    {
476        "BriefDescription": "Each cycle there was a miss-pending demand load this thread, increment by 1. Note this is in DCU and connected to Umask 1. Miss Pending demand load should be deduced by OR-ing increment bits of DCACHE_MISS_PEND.PENDING.",
477        "Counter": "2",
478        "CounterHTOff": "2",
479        "CounterMask": "2",
480        "EventCode": "0xA3",
481        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
482        "SampleAfterValue": "2000003",
483        "UMask": "0x2"
484    },
485    {
486        "BriefDescription": "Each cycle there was a MLC-miss pending demand load this thread (i.e. Non-completed valid SQ entry allocated for demand load and waiting for Uncore), increment by 1. Note this is in MLC and connected to Umask 0.",
487        "Counter": "0,1,2,3",
488        "CounterHTOff": "0,1,2,3,4,5,6,7",
489        "CounterMask": "1",
490        "EventCode": "0xA3",
491        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
492        "SampleAfterValue": "2000003",
493        "UMask": "0x1"
494    },
495    {
496        "BriefDescription": "Each cycle there was no dispatch for this thread, increment by 1. Note this is connect to Umask 2. No dispatch can be deduced from the UOPS_EXECUTED event.",
497        "Counter": "0,1,2,3",
498        "CounterHTOff": "0,1,2,3",
499        "CounterMask": "4",
500        "EventCode": "0xA3",
501        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_DISPATCH",
502        "SampleAfterValue": "2000003",
503        "UMask": "0x4"
504    },
505    {
506        "BriefDescription": "Each cycle there was a miss-pending demand load this thread and no uops dispatched, increment by 1. Note this is in DCU and connected to Umask 1 and 2. Miss Pending demand load should be deduced by OR-ing increment bits of DCACHE_MISS_PEND.PENDING.",
507        "Counter": "2",
508        "CounterHTOff": "2",
509        "CounterMask": "6",
510        "EventCode": "0xA3",
511        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
512        "SampleAfterValue": "2000003",
513        "UMask": "0x6"
514    },
515    {
516        "BriefDescription": "Each cycle there was a MLC-miss pending demand load and no uops dispatched on this thread (i.e. Non-completed valid SQ entry allocated for demand load and waiting for Uncore), increment by 1. Note this is in MLC and connected to Umask 0 and 2.",
517        "Counter": "0,1,2,3",
518        "CounterHTOff": "0,1,2,3",
519        "CounterMask": "5",
520        "EventCode": "0xA3",
521        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
522        "SampleAfterValue": "2000003",
523        "UMask": "0x5"
524    },
525    {
526        "BriefDescription": "Stall cycles because IQ is full.",
527        "Counter": "0,1,2,3",
528        "CounterHTOff": "0,1,2,3,4,5,6,7",
529        "EventCode": "0x87",
530        "EventName": "ILD_STALL.IQ_FULL",
531        "SampleAfterValue": "2000003",
532        "UMask": "0x4"
533    },
534    {
535        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
536        "Counter": "0,1,2,3",
537        "CounterHTOff": "0,1,2,3,4,5,6,7",
538        "EventCode": "0x87",
539        "EventName": "ILD_STALL.LCP",
540        "SampleAfterValue": "2000003",
541        "UMask": "0x1"
542    },
543    {
544        "BriefDescription": "Instructions retired from execution.",
545        "Counter": "Fixed counter 1",
546        "CounterHTOff": "Fixed counter 1",
547        "EventName": "INST_RETIRED.ANY",
548        "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.",
549        "SampleAfterValue": "2000003",
550        "UMask": "0x1"
551    },
552    {
553        "BriefDescription": "Number of instructions retired. General Counter   - architectural event.",
554        "Counter": "0,1,2,3",
555        "CounterHTOff": "0,1,2,3,4,5,6,7",
556        "EventCode": "0xC0",
557        "EventName": "INST_RETIRED.ANY_P",
558        "SampleAfterValue": "2000003"
559    },
560    {
561        "BriefDescription": "Instructions retired. (Precise Event - PEBS).",
562        "Counter": "1",
563        "CounterHTOff": "1",
564        "EventCode": "0xC0",
565        "EventName": "INST_RETIRED.PREC_DIST",
566        "PEBS": "2",
567        "SampleAfterValue": "2000003",
568        "TakenAlone": "1",
569        "UMask": "0x1"
570    },
571    {
572        "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread.",
573        "Counter": "0,1,2,3",
574        "CounterHTOff": "0,1,2,3,4,5,6,7",
575        "EventCode": "0x0D",
576        "EventName": "INT_MISC.RAT_STALL_CYCLES",
577        "SampleAfterValue": "2000003",
578        "UMask": "0x40"
579    },
580    {
581        "BriefDescription": "Number of cycles waiting for the checkpoints in Resource Allocation Table (RAT) to be recovered after Nuke due to all other cases except JEClear (e.g. whenever a ucode assist is needed like SSE exception, memory disambiguation, etc...).",
582        "Counter": "0,1,2,3",
583        "CounterHTOff": "0,1,2,3,4,5,6,7",
584        "CounterMask": "1",
585        "EventCode": "0x0D",
586        "EventName": "INT_MISC.RECOVERY_CYCLES",
587        "SampleAfterValue": "2000003",
588        "UMask": "0x3"
589    },
590    {
591        "AnyThread": "1",
592        "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).",
593        "Counter": "0,1,2,3",
594        "CounterHTOff": "0,1,2,3,4,5,6,7",
595        "CounterMask": "1",
596        "EventCode": "0x0D",
597        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
598        "SampleAfterValue": "2000003",
599        "UMask": "0x3"
600    },
601    {
602        "BriefDescription": "Number of occurences waiting for the checkpoints in Resource Allocation Table (RAT) to be recovered after Nuke due to all other cases except JEClear (e.g. whenever a ucode assist is needed like SSE exception, memory disambiguation, etc...).",
603        "Counter": "0,1,2,3",
604        "CounterHTOff": "0,1,2,3,4,5,6,7",
605        "CounterMask": "1",
606        "EdgeDetect": "1",
607        "EventCode": "0x0D",
608        "EventName": "INT_MISC.RECOVERY_STALLS_COUNT",
609        "SampleAfterValue": "2000003",
610        "UMask": "0x3"
611    },
612    {
613        "BriefDescription": "Number of cases where any load ends up with a valid block-code written to the load buffer (including blocks due to Memory Order Buffer (MOB), Data Cache Unit (DCU), TLB, but load has no DCU miss).",
614        "Counter": "0,1,2,3",
615        "CounterHTOff": "0,1,2,3,4,5,6,7",
616        "EventCode": "0x03",
617        "EventName": "LD_BLOCKS.ALL_BLOCK",
618        "SampleAfterValue": "100003",
619        "UMask": "0x10"
620    },
621    {
622        "BriefDescription": "Loads delayed due to SB blocks, preceding store operations with known addresses but unknown data.",
623        "Counter": "0,1,2,3",
624        "CounterHTOff": "0,1,2,3,4,5,6,7",
625        "EventCode": "0x03",
626        "EventName": "LD_BLOCKS.DATA_UNKNOWN",
627        "SampleAfterValue": "100003",
628        "UMask": "0x1"
629    },
630    {
631        "BriefDescription": "This event counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
632        "Counter": "0,1,2,3",
633        "CounterHTOff": "0,1,2,3,4,5,6,7",
634        "EventCode": "0x03",
635        "EventName": "LD_BLOCKS.NO_SR",
636        "SampleAfterValue": "100003",
637        "UMask": "0x8"
638    },
639    {
640        "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding.",
641        "Counter": "0,1,2,3",
642        "CounterHTOff": "0,1,2,3,4,5,6,7",
643        "EventCode": "0x03",
644        "EventName": "LD_BLOCKS.STORE_FORWARD",
645        "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 preceeding smaller uncompleted store.  See the table of not supported store forwards in the Intel? 64 and IA-32 Architectures Optimization Reference Manual.  The penalty for blocked store forwarding is that the load must wait for the store to complete before it can be issued.",
646        "SampleAfterValue": "100003",
647        "UMask": "0x2"
648    },
649    {
650        "BriefDescription": "False dependencies in MOB due to partial compare.",
651        "Counter": "0,1,2,3",
652        "CounterHTOff": "0,1,2,3,4,5,6,7",
653        "EventCode": "0x07",
654        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
655        "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.  The enhanced address check typically has a performance penalty of 5 cycles.",
656        "SampleAfterValue": "100003",
657        "UMask": "0x1"
658    },
659    {
660        "BriefDescription": "This event counts the number of times that load operations are temporarily blocked because of older stores, with addresses that are not yet known. A load operation may incur more than one block of this type.",
661        "Counter": "0,1,2,3",
662        "CounterHTOff": "0,1,2,3,4,5,6,7",
663        "EventCode": "0x07",
664        "EventName": "LD_BLOCKS_PARTIAL.ALL_STA_BLOCK",
665        "SampleAfterValue": "100003",
666        "UMask": "0x8"
667    },
668    {
669        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch.",
670        "Counter": "0,1,2,3",
671        "CounterHTOff": "0,1,2,3,4,5,6,7",
672        "EventCode": "0x4C",
673        "EventName": "LOAD_HIT_PRE.HW_PF",
674        "SampleAfterValue": "100003",
675        "UMask": "0x2"
676    },
677    {
678        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch.",
679        "Counter": "0,1,2,3",
680        "CounterHTOff": "0,1,2,3,4,5,6,7",
681        "EventCode": "0x4C",
682        "EventName": "LOAD_HIT_PRE.SW_PF",
683        "SampleAfterValue": "100003",
684        "UMask": "0x1"
685    },
686    {
687        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
688        "Counter": "0,1,2,3",
689        "CounterHTOff": "0,1,2,3,4,5,6,7",
690        "CounterMask": "4",
691        "EventCode": "0xA8",
692        "EventName": "LSD.CYCLES_4_UOPS",
693        "SampleAfterValue": "2000003",
694        "UMask": "0x1"
695    },
696    {
697        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
698        "Counter": "0,1,2,3",
699        "CounterHTOff": "0,1,2,3,4,5,6,7",
700        "CounterMask": "1",
701        "EventCode": "0xA8",
702        "EventName": "LSD.CYCLES_ACTIVE",
703        "SampleAfterValue": "2000003",
704        "UMask": "0x1"
705    },
706    {
707        "BriefDescription": "Number of Uops delivered by the LSD.",
708        "Counter": "0,1,2,3",
709        "CounterHTOff": "0,1,2,3,4,5,6,7",
710        "EventCode": "0xA8",
711        "EventName": "LSD.UOPS",
712        "SampleAfterValue": "2000003",
713        "UMask": "0x1"
714    },
715    {
716        "BriefDescription": "Number of machine clears (nukes) of any type.",
717        "Counter": "0,1,2,3",
718        "CounterHTOff": "0,1,2,3,4,5,6,7",
719        "CounterMask": "1",
720        "EdgeDetect": "1",
721        "EventCode": "0xc3",
722        "EventName": "MACHINE_CLEARS.COUNT",
723        "SampleAfterValue": "100003",
724        "UMask": "0x1"
725    },
726    {
727        "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.",
728        "Counter": "0,1,2,3",
729        "CounterHTOff": "0,1,2,3,4,5,6,7",
730        "EventCode": "0xC3",
731        "EventName": "MACHINE_CLEARS.MASKMOV",
732        "PublicDescription": "Maskmov false fault - counts number of time ucode passes through Maskmov flow due to instruction's mask being 0 while the flow was completed without raising a fault.",
733        "SampleAfterValue": "100003",
734        "UMask": "0x20"
735    },
736    {
737        "BriefDescription": "Self-modifying code (SMC) detected.",
738        "Counter": "0,1,2,3",
739        "CounterHTOff": "0,1,2,3,4,5,6,7",
740        "EventCode": "0xC3",
741        "EventName": "MACHINE_CLEARS.SMC",
742        "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.",
743        "SampleAfterValue": "100003",
744        "UMask": "0x4"
745    },
746    {
747        "BriefDescription": "Retired instructions experiencing ITLB misses.",
748        "Counter": "0,1,2,3",
749        "CounterHTOff": "0,1,2,3,4,5,6,7",
750        "EventCode": "0xC1",
751        "EventName": "OTHER_ASSISTS.ITLB_MISS_RETIRED",
752        "SampleAfterValue": "100003",
753        "UMask": "0x2"
754    },
755    {
756        "BriefDescription": "Increments the number of flags-merge uops in flight each cycle.",
757        "Counter": "0,1,2,3",
758        "CounterHTOff": "0,1,2,3,4,5,6,7",
759        "EventCode": "0x59",
760        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP",
761        "SampleAfterValue": "2000003",
762        "UMask": "0x20"
763    },
764    {
765        "BriefDescription": "Performance sensitive flags-merging uops added by Sandy Bridge u-arch.",
766        "Counter": "0,1,2,3",
767        "CounterHTOff": "0,1,2,3,4,5,6,7",
768        "CounterMask": "1",
769        "EventCode": "0x59",
770        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP_CYCLES",
771        "PublicDescription": "This event counts the number of cycles spent executing performance-sensitive flags-merging uops. For example, shift CL (merge_arith_flags). For more details, See the Intel? 64 and IA-32 Architectures Optimization Reference Manual.",
772        "SampleAfterValue": "2000003",
773        "UMask": "0x20"
774    },
775    {
776        "BriefDescription": "Multiply packed/scalar single precision uops allocated.",
777        "Counter": "0,1,2,3",
778        "CounterHTOff": "0,1,2,3,4,5,6,7",
779        "EventCode": "0x59",
780        "EventName": "PARTIAL_RAT_STALLS.MUL_SINGLE_UOP",
781        "SampleAfterValue": "2000003",
782        "UMask": "0x80"
783    },
784    {
785        "BriefDescription": "Cycles with at least one slow LEA uop being allocated.",
786        "Counter": "0,1,2,3",
787        "CounterHTOff": "0,1,2,3,4,5,6,7",
788        "EventCode": "0x59",
789        "EventName": "PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW",
790        "PublicDescription": "This event counts the number of cycles with at least one slow LEA uop being allocated. A uop is generally considered as slow LEA if it has three sources (for example, two sources and immediate) regardless of whether it is a result of LEA instruction or not. Examples of the slow LEA uop are or uops with base, index, and offset source operands using base and index reqisters, where base is EBR/RBP/R13, using RIP relative or 16-bit addressing modes. See the Intel? 64 and IA-32 Architectures Optimization Reference Manual for more details about slow LEA instructions.",
791        "SampleAfterValue": "2000003",
792        "UMask": "0x40"
793    },
794    {
795        "BriefDescription": "Resource-related stall cycles.",
796        "Counter": "0,1,2,3",
797        "CounterHTOff": "0,1,2,3,4,5,6,7",
798        "EventCode": "0xA2",
799        "EventName": "RESOURCE_STALLS.ANY",
800        "SampleAfterValue": "2000003",
801        "UMask": "0x1"
802    },
803    {
804        "BriefDescription": "Counts the cycles of stall due to lack of load buffers.",
805        "Counter": "0,1,2,3",
806        "CounterHTOff": "0,1,2,3,4,5,6,7",
807        "EventCode": "0xA2",
808        "EventName": "RESOURCE_STALLS.LB",
809        "SampleAfterValue": "2000003",
810        "UMask": "0x2"
811    },
812    {
813        "BriefDescription": "Resource stalls due to load or store buffers all being in use.",
814        "Counter": "0,1,2,3",
815        "CounterHTOff": "0,1,2,3,4,5,6,7",
816        "EventCode": "0xA2",
817        "EventName": "RESOURCE_STALLS.LB_SB",
818        "SampleAfterValue": "2000003",
819        "UMask": "0xa"
820    },
821    {
822        "BriefDescription": "Resource stalls due to memory buffers or Reservation Station (RS) being fully utilized.",
823        "Counter": "0,1,2,3",
824        "CounterHTOff": "0,1,2,3,4,5,6,7",
825        "EventCode": "0xA2",
826        "EventName": "RESOURCE_STALLS.MEM_RS",
827        "SampleAfterValue": "2000003",
828        "UMask": "0xe"
829    },
830    {
831        "BriefDescription": "Resource stalls due to Rob being full, FCSW, MXCSR and OTHER.",
832        "Counter": "0,1,2,3",
833        "CounterHTOff": "0,1,2,3,4,5,6,7",
834        "EventCode": "0xA2",
835        "EventName": "RESOURCE_STALLS.OOO_RSRC",
836        "SampleAfterValue": "2000003",
837        "UMask": "0xf0"
838    },
839    {
840        "BriefDescription": "Cycles stalled due to re-order buffer full.",
841        "Counter": "0,1,2,3",
842        "CounterHTOff": "0,1,2,3,4,5,6,7",
843        "EventCode": "0xA2",
844        "EventName": "RESOURCE_STALLS.ROB",
845        "SampleAfterValue": "2000003",
846        "UMask": "0x10"
847    },
848    {
849        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
850        "Counter": "0,1,2,3",
851        "CounterHTOff": "0,1,2,3,4,5,6,7",
852        "EventCode": "0xA2",
853        "EventName": "RESOURCE_STALLS.RS",
854        "SampleAfterValue": "2000003",
855        "UMask": "0x4"
856    },
857    {
858        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
859        "Counter": "0,1,2,3",
860        "CounterHTOff": "0,1,2,3,4,5,6,7",
861        "EventCode": "0xA2",
862        "EventName": "RESOURCE_STALLS.SB",
863        "SampleAfterValue": "2000003",
864        "UMask": "0x8"
865    },
866    {
867        "BriefDescription": "Cycles with either free list is empty.",
868        "Counter": "0,1,2,3",
869        "CounterHTOff": "0,1,2,3,4,5,6,7",
870        "EventCode": "0x5B",
871        "EventName": "RESOURCE_STALLS2.ALL_FL_EMPTY",
872        "SampleAfterValue": "2000003",
873        "UMask": "0xc"
874    },
875    {
876        "BriefDescription": "Resource stalls2 control structures full for physical registers.",
877        "Counter": "0,1,2,3",
878        "CounterHTOff": "0,1,2,3,4,5,6,7",
879        "EventCode": "0x5B",
880        "EventName": "RESOURCE_STALLS2.ALL_PRF_CONTROL",
881        "SampleAfterValue": "2000003",
882        "UMask": "0xf"
883    },
884    {
885        "BriefDescription": "Cycles when Allocator is stalled if BOB is full and new branch needs it.",
886        "Counter": "0,1,2,3",
887        "CounterHTOff": "0,1,2,3,4,5,6,7",
888        "EventCode": "0x5B",
889        "EventName": "RESOURCE_STALLS2.BOB_FULL",
890        "SampleAfterValue": "2000003",
891        "UMask": "0x40"
892    },
893    {
894        "BriefDescription": "Resource stalls out of order resources full.",
895        "Counter": "0,1,2,3",
896        "CounterHTOff": "0,1,2,3,4,5,6,7",
897        "EventCode": "0x5B",
898        "EventName": "RESOURCE_STALLS2.OOO_RSRC",
899        "SampleAfterValue": "2000003",
900        "UMask": "0x4f"
901    },
902    {
903        "BriefDescription": "Count cases of saving new LBR.",
904        "Counter": "0,1,2,3",
905        "CounterHTOff": "0,1,2,3,4,5,6,7",
906        "EventCode": "0xCC",
907        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
908        "SampleAfterValue": "2000003",
909        "UMask": "0x20"
910    },
911    {
912        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread.",
913        "Counter": "0,1,2,3",
914        "CounterHTOff": "0,1,2,3,4,5,6,7",
915        "EventCode": "0x5E",
916        "EventName": "RS_EVENTS.EMPTY_CYCLES",
917        "SampleAfterValue": "2000003",
918        "UMask": "0x1"
919    },
920    {
921        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
922        "Counter": "0,1,2,3",
923        "CounterHTOff": "0,1,2,3,4,5,6,7",
924        "CounterMask": "1",
925        "EdgeDetect": "1",
926        "EventCode": "0x5E",
927        "EventName": "RS_EVENTS.EMPTY_END",
928        "Invert": "1",
929        "SampleAfterValue": "2000003",
930        "UMask": "0x1"
931    },
932    {
933        "BriefDescription": "Uops dispatched from any thread.",
934        "Counter": "0,1,2,3",
935        "CounterHTOff": "0,1,2,3,4,5,6,7",
936        "EventCode": "0xB1",
937        "EventName": "UOPS_DISPATCHED.CORE",
938        "SampleAfterValue": "2000003",
939        "UMask": "0x2"
940    },
941    {
942        "BriefDescription": "Uops dispatched per thread.",
943        "Counter": "0,1,2,3",
944        "CounterHTOff": "0,1,2,3,4,5,6,7",
945        "EventCode": "0xB1",
946        "EventName": "UOPS_DISPATCHED.THREAD",
947        "SampleAfterValue": "2000003",
948        "UMask": "0x1"
949    },
950    {
951        "BriefDescription": "Cycles per thread when uops are dispatched to port 0.",
952        "Counter": "0,1,2,3",
953        "CounterHTOff": "0,1,2,3,4,5,6,7",
954        "EventCode": "0xA1",
955        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
956        "SampleAfterValue": "2000003",
957        "UMask": "0x1"
958    },
959    {
960        "AnyThread": "1",
961        "BriefDescription": "Cycles per core when uops are dispatched to port 0.",
962        "Counter": "0,1,2,3",
963        "CounterHTOff": "0,1,2,3,4,5,6,7",
964        "EventCode": "0xA1",
965        "EventName": "UOPS_DISPATCHED_PORT.PORT_0_CORE",
966        "SampleAfterValue": "2000003",
967        "UMask": "0x1"
968    },
969    {
970        "BriefDescription": "Cycles per thread when uops are dispatched to port 1.",
971        "Counter": "0,1,2,3",
972        "CounterHTOff": "0,1,2,3,4,5,6,7",
973        "EventCode": "0xA1",
974        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
975        "SampleAfterValue": "2000003",
976        "UMask": "0x2"
977    },
978    {
979        "AnyThread": "1",
980        "BriefDescription": "Cycles per core when uops are dispatched to port 1.",
981        "Counter": "0,1,2,3",
982        "CounterHTOff": "0,1,2,3,4,5,6,7",
983        "EventCode": "0xA1",
984        "EventName": "UOPS_DISPATCHED_PORT.PORT_1_CORE",
985        "SampleAfterValue": "2000003",
986        "UMask": "0x2"
987    },
988    {
989        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 2.",
990        "Counter": "0,1,2,3",
991        "CounterHTOff": "0,1,2,3,4,5,6,7",
992        "EventCode": "0xA1",
993        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
994        "SampleAfterValue": "2000003",
995        "UMask": "0xc"
996    },
997    {
998        "AnyThread": "1",
999        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 2.",
1000        "Counter": "0,1,2,3",
1001        "CounterHTOff": "0,1,2,3,4,5,6,7",
1002        "EventCode": "0xA1",
1003        "EventName": "UOPS_DISPATCHED_PORT.PORT_2_CORE",
1004        "SampleAfterValue": "2000003",
1005        "UMask": "0xc"
1006    },
1007    {
1008        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 3.",
1009        "Counter": "0,1,2,3",
1010        "CounterHTOff": "0,1,2,3,4,5,6,7",
1011        "EventCode": "0xA1",
1012        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
1013        "SampleAfterValue": "2000003",
1014        "UMask": "0x30"
1015    },
1016    {
1017        "AnyThread": "1",
1018        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 3.",
1019        "Counter": "0,1,2,3",
1020        "CounterHTOff": "0,1,2,3,4,5,6,7",
1021        "EventCode": "0xA1",
1022        "EventName": "UOPS_DISPATCHED_PORT.PORT_3_CORE",
1023        "SampleAfterValue": "2000003",
1024        "UMask": "0x30"
1025    },
1026    {
1027        "BriefDescription": "Cycles per thread when uops are dispatched to port 4.",
1028        "Counter": "0,1,2,3",
1029        "CounterHTOff": "0,1,2,3,4,5,6,7",
1030        "EventCode": "0xA1",
1031        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
1032        "SampleAfterValue": "2000003",
1033        "UMask": "0x40"
1034    },
1035    {
1036        "AnyThread": "1",
1037        "BriefDescription": "Cycles per core when uops are dispatched to port 4.",
1038        "Counter": "0,1,2,3",
1039        "CounterHTOff": "0,1,2,3,4,5,6,7",
1040        "EventCode": "0xA1",
1041        "EventName": "UOPS_DISPATCHED_PORT.PORT_4_CORE",
1042        "SampleAfterValue": "2000003",
1043        "UMask": "0x40"
1044    },
1045    {
1046        "BriefDescription": "Cycles per thread when uops are dispatched to port 5.",
1047        "Counter": "0,1,2,3",
1048        "CounterHTOff": "0,1,2,3,4,5,6,7",
1049        "EventCode": "0xA1",
1050        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
1051        "SampleAfterValue": "2000003",
1052        "UMask": "0x80"
1053    },
1054    {
1055        "AnyThread": "1",
1056        "BriefDescription": "Cycles per core when uops are dispatched to port 5.",
1057        "Counter": "0,1,2,3",
1058        "CounterHTOff": "0,1,2,3,4,5,6,7",
1059        "EventCode": "0xA1",
1060        "EventName": "UOPS_DISPATCHED_PORT.PORT_5_CORE",
1061        "SampleAfterValue": "2000003",
1062        "UMask": "0x80"
1063    },
1064    {
1065        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
1066        "Counter": "0,1,2,3",
1067        "CounterHTOff": "0,1,2,3,4,5,6,7",
1068        "CounterMask": "1",
1069        "EventCode": "0xB1",
1070        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
1071        "SampleAfterValue": "2000003",
1072        "UMask": "0x2"
1073    },
1074    {
1075        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
1076        "Counter": "0,1,2,3",
1077        "CounterHTOff": "0,1,2,3,4,5,6,7",
1078        "CounterMask": "2",
1079        "EventCode": "0xB1",
1080        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
1081        "SampleAfterValue": "2000003",
1082        "UMask": "0x2"
1083    },
1084    {
1085        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
1086        "Counter": "0,1,2,3",
1087        "CounterHTOff": "0,1,2,3,4,5,6,7",
1088        "CounterMask": "3",
1089        "EventCode": "0xB1",
1090        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
1091        "SampleAfterValue": "2000003",
1092        "UMask": "0x2"
1093    },
1094    {
1095        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
1096        "Counter": "0,1,2,3",
1097        "CounterHTOff": "0,1,2,3,4,5,6,7",
1098        "CounterMask": "4",
1099        "EventCode": "0xB1",
1100        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
1101        "SampleAfterValue": "2000003",
1102        "UMask": "0x2"
1103    },
1104    {
1105        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
1106        "Counter": "0,1,2,3",
1107        "CounterHTOff": "0,1,2,3,4,5,6,7",
1108        "EventCode": "0xB1",
1109        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
1110        "Invert": "1",
1111        "SampleAfterValue": "2000003",
1112        "UMask": "0x2"
1113    },
1114    {
1115        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS).",
1116        "Counter": "0,1,2,3",
1117        "CounterHTOff": "0,1,2,3,4,5,6,7",
1118        "EventCode": "0x0E",
1119        "EventName": "UOPS_ISSUED.ANY",
1120        "PublicDescription": "This event counts the number of Uops issued by the front-end of the pipeilne to the back-end.",
1121        "SampleAfterValue": "2000003",
1122        "UMask": "0x1"
1123    },
1124    {
1125        "AnyThread": "1",
1126        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
1127        "Counter": "0,1,2,3",
1128        "CounterHTOff": "0,1,2,3",
1129        "CounterMask": "1",
1130        "EventCode": "0x0E",
1131        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
1132        "Invert": "1",
1133        "SampleAfterValue": "2000003",
1134        "UMask": "0x1"
1135    },
1136    {
1137        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
1138        "Counter": "0,1,2,3",
1139        "CounterHTOff": "0,1,2,3",
1140        "CounterMask": "1",
1141        "EventCode": "0x0E",
1142        "EventName": "UOPS_ISSUED.STALL_CYCLES",
1143        "Invert": "1",
1144        "SampleAfterValue": "2000003",
1145        "UMask": "0x1"
1146    },
1147    {
1148        "BriefDescription": "Actually retired uops.",
1149        "Counter": "0,1,2,3",
1150        "CounterHTOff": "0,1,2,3,4,5,6,7",
1151        "EventCode": "0xC2",
1152        "EventName": "UOPS_RETIRED.ALL",
1153        "PEBS": "1",
1154        "PublicDescription": "This event counts the number of micro-ops retired.",
1155        "SampleAfterValue": "2000003",
1156        "UMask": "0x1"
1157    },
1158    {
1159        "BriefDescription": "Cycles without actually retired uops.",
1160        "Counter": "0,1,2,3",
1161        "CounterHTOff": "0,1,2,3",
1162        "CounterMask": "1",
1163        "EventCode": "0xC2",
1164        "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
1165        "Invert": "1",
1166        "SampleAfterValue": "2000003",
1167        "UMask": "0x1"
1168    },
1169    {
1170        "BriefDescription": "Retirement slots used.",
1171        "Counter": "0,1,2,3",
1172        "CounterHTOff": "0,1,2,3,4,5,6,7",
1173        "EventCode": "0xC2",
1174        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
1175        "PEBS": "1",
1176        "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 micro-ops or 4 instructions could retire each cycle.  This event is used in determining the 'Retiring' category of the Top-Down pipeline slots characterization.",
1177        "SampleAfterValue": "2000003",
1178        "UMask": "0x2"
1179    },
1180    {
1181        "BriefDescription": "Cycles without actually retired uops.",
1182        "Counter": "0,1,2,3",
1183        "CounterHTOff": "0,1,2,3",
1184        "CounterMask": "1",
1185        "EventCode": "0xC2",
1186        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1187        "Invert": "1",
1188        "SampleAfterValue": "2000003",
1189        "UMask": "0x1"
1190    },
1191    {
1192        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1193        "Counter": "0,1,2,3",
1194        "CounterHTOff": "0,1,2,3",
1195        "CounterMask": "10",
1196        "EventCode": "0xC2",
1197        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1198        "Invert": "1",
1199        "SampleAfterValue": "2000003",
1200        "UMask": "0x1"
1201    }
1202]