1[
2    {
3        "BriefDescription": "Cycles when divider is busy executing divide operations",
4        "Counter": "0,1,2,3",
5        "CounterHTOff": "0,1,2,3,4,5,6,7",
6        "EventCode": "0x14",
7        "EventName": "ARITH.FPU_DIV_ACTIVE",
8        "PublicDescription": "This event counts the number of the divide operations executed. Uses edge-detect and a cmask value of 1 on ARITH.FPU_DIV_ACTIVE to get the number of the divide operations executed.",
9        "SampleAfterValue": "2000003",
10        "UMask": "0x1"
11    },
12    {
13        "BriefDescription": "Speculative and retired  branches",
14        "Counter": "0,1,2,3",
15        "CounterHTOff": "0,1,2,3,4,5,6,7",
16        "EventCode": "0x88",
17        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
18        "PublicDescription": "This event counts both taken and not taken speculative and retired branch instructions.",
19        "SampleAfterValue": "200003",
20        "UMask": "0xff"
21    },
22    {
23        "BriefDescription": "Speculative and retired macro-conditional branches",
24        "Counter": "0,1,2,3",
25        "CounterHTOff": "0,1,2,3,4,5,6,7",
26        "EventCode": "0x88",
27        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
28        "PublicDescription": "This event counts both taken and not taken speculative and retired macro-conditional branch instructions.",
29        "SampleAfterValue": "200003",
30        "UMask": "0xc1"
31    },
32    {
33        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects",
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_DIRECT_JMP",
38        "PublicDescription": "This event counts both taken and not taken speculative and retired macro-unconditional branch instructions, excluding calls and indirects.",
39        "SampleAfterValue": "200003",
40        "UMask": "0xc2"
41    },
42    {
43        "BriefDescription": "Speculative and retired direct near calls",
44        "Counter": "0,1,2,3",
45        "CounterHTOff": "0,1,2,3,4,5,6,7",
46        "EventCode": "0x88",
47        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
48        "PublicDescription": "This event counts both taken and not taken speculative and retired direct near calls.",
49        "SampleAfterValue": "200003",
50        "UMask": "0xd0"
51    },
52    {
53        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns",
54        "Counter": "0,1,2,3",
55        "CounterHTOff": "0,1,2,3,4,5,6,7",
56        "EventCode": "0x88",
57        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
58        "PublicDescription": "This event counts both taken and not taken speculative and retired indirect branches excluding calls and return branches.",
59        "SampleAfterValue": "200003",
60        "UMask": "0xc4"
61    },
62    {
63        "BriefDescription": "Speculative and retired indirect return branches.",
64        "Counter": "0,1,2,3",
65        "CounterHTOff": "0,1,2,3,4,5,6,7",
66        "EventCode": "0x88",
67        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
68        "PublicDescription": "This event counts both taken and not taken speculative and retired indirect branches that have a return mnemonic.",
69        "SampleAfterValue": "200003",
70        "UMask": "0xc8"
71    },
72    {
73        "BriefDescription": "Not taken macro-conditional branches",
74        "Counter": "0,1,2,3",
75        "CounterHTOff": "0,1,2,3,4,5,6,7",
76        "EventCode": "0x88",
77        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
78        "PublicDescription": "This event counts not taken macro-conditional branch instructions.",
79        "SampleAfterValue": "200003",
80        "UMask": "0x41"
81    },
82    {
83        "BriefDescription": "Taken speculative and retired macro-conditional branches",
84        "Counter": "0,1,2,3",
85        "CounterHTOff": "0,1,2,3,4,5,6,7",
86        "EventCode": "0x88",
87        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
88        "PublicDescription": "This event counts taken speculative and retired macro-conditional branch instructions.",
89        "SampleAfterValue": "200003",
90        "UMask": "0x81"
91    },
92    {
93        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects",
94        "Counter": "0,1,2,3",
95        "CounterHTOff": "0,1,2,3,4,5,6,7",
96        "EventCode": "0x88",
97        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
98        "PublicDescription": "This event counts taken speculative and retired macro-conditional branch instructions excluding calls and indirect branches.",
99        "SampleAfterValue": "200003",
100        "UMask": "0x82"
101    },
102    {
103        "BriefDescription": "Taken speculative and retired direct near calls",
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_DIRECT_NEAR_CALL",
108        "PublicDescription": "This event counts taken speculative and retired direct near calls.",
109        "SampleAfterValue": "200003",
110        "UMask": "0x90"
111    },
112    {
113        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns",
114        "Counter": "0,1,2,3",
115        "CounterHTOff": "0,1,2,3,4,5,6,7",
116        "EventCode": "0x88",
117        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
118        "PublicDescription": "This event counts taken speculative and retired indirect branches excluding calls and return branches.",
119        "SampleAfterValue": "200003",
120        "UMask": "0x84"
121    },
122    {
123        "BriefDescription": "Taken speculative and retired indirect calls",
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_NEAR_CALL",
128        "PublicDescription": "This event counts taken speculative and retired indirect calls including both register and memory indirect.",
129        "SampleAfterValue": "200003",
130        "UMask": "0xa0"
131    },
132    {
133        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic",
134        "Counter": "0,1,2,3",
135        "CounterHTOff": "0,1,2,3,4,5,6,7",
136        "EventCode": "0x88",
137        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
138        "PublicDescription": "This event counts taken speculative and retired indirect branches that have a return mnemonic.",
139        "SampleAfterValue": "200003",
140        "UMask": "0x88"
141    },
142    {
143        "BriefDescription": "All (macro) branch instructions retired.",
144        "Counter": "0,1,2,3",
145        "CounterHTOff": "0,1,2,3,4,5,6,7",
146        "EventCode": "0xC4",
147        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
148        "PublicDescription": "This event counts all (macro) branch instructions retired.",
149        "SampleAfterValue": "400009"
150    },
151    {
152        "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS)",
153        "Counter": "0,1,2,3",
154        "CounterHTOff": "0,1,2,3",
155        "Errata": "BDW98",
156        "EventCode": "0xC4",
157        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
158        "PEBS": "2",
159        "PublicDescription": "This is a precise version of BR_INST_RETIRED.ALL_BRANCHES that counts all (macro) branch instructions retired.",
160        "SampleAfterValue": "400009",
161        "UMask": "0x4"
162    },
163    {
164        "BriefDescription": "Conditional branch instructions retired. (Precise Event - PEBS)",
165        "Counter": "0,1,2,3",
166        "CounterHTOff": "0,1,2,3,4,5,6,7",
167        "EventCode": "0xC4",
168        "EventName": "BR_INST_RETIRED.CONDITIONAL",
169        "PEBS": "1",
170        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts conditional branch instructions retired.",
171        "SampleAfterValue": "400009",
172        "UMask": "0x1"
173    },
174    {
175        "BriefDescription": "Far branch instructions retired.",
176        "Counter": "0,1,2,3",
177        "CounterHTOff": "0,1,2,3,4,5,6,7",
178        "Errata": "BDW98",
179        "EventCode": "0xC4",
180        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
181        "PublicDescription": "This event counts far branch instructions retired.",
182        "SampleAfterValue": "100007",
183        "UMask": "0x40"
184    },
185    {
186        "BriefDescription": "Direct and indirect near call instructions retired. (Precise Event - PEBS)",
187        "Counter": "0,1,2,3",
188        "CounterHTOff": "0,1,2,3,4,5,6,7",
189        "EventCode": "0xC4",
190        "EventName": "BR_INST_RETIRED.NEAR_CALL",
191        "PEBS": "1",
192        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts both direct and indirect near call instructions retired.",
193        "SampleAfterValue": "100007",
194        "UMask": "0x2"
195    },
196    {
197        "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3). (Precise Event - PEBS)",
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_CALL_R3",
202        "PEBS": "1",
203        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts both direct and indirect macro near call instructions retired (captured in ring 3).",
204        "SampleAfterValue": "100007",
205        "UMask": "0x2"
206    },
207    {
208        "BriefDescription": "Return instructions retired. (Precise Event - PEBS)",
209        "Counter": "0,1,2,3",
210        "CounterHTOff": "0,1,2,3,4,5,6,7",
211        "EventCode": "0xC4",
212        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
213        "PEBS": "1",
214        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts return instructions retired.",
215        "SampleAfterValue": "100007",
216        "UMask": "0x8"
217    },
218    {
219        "BriefDescription": "Taken branch instructions retired. (Precise Event - PEBS)",
220        "Counter": "0,1,2,3",
221        "CounterHTOff": "0,1,2,3,4,5,6,7",
222        "EventCode": "0xC4",
223        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
224        "PEBS": "1",
225        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts taken branch instructions retired.",
226        "SampleAfterValue": "400009",
227        "UMask": "0x20"
228    },
229    {
230        "BriefDescription": "Not taken branch instructions retired.",
231        "Counter": "0,1,2,3",
232        "CounterHTOff": "0,1,2,3,4,5,6,7",
233        "EventCode": "0xC4",
234        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
235        "PublicDescription": "This event counts not taken branch instructions retired.",
236        "SampleAfterValue": "400009",
237        "UMask": "0x10"
238    },
239    {
240        "BriefDescription": "Speculative and retired mispredicted macro conditional branches",
241        "Counter": "0,1,2,3",
242        "CounterHTOff": "0,1,2,3,4,5,6,7",
243        "EventCode": "0x89",
244        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
245        "PublicDescription": "This event counts both taken and not taken speculative and retired mispredicted branch instructions.",
246        "SampleAfterValue": "200003",
247        "UMask": "0xff"
248    },
249    {
250        "BriefDescription": "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.ALL_CONDITIONAL",
255        "PublicDescription": "This event counts both taken and not taken speculative and retired mispredicted macro conditional branch instructions.",
256        "SampleAfterValue": "200003",
257        "UMask": "0xc1"
258    },
259    {
260        "BriefDescription": "Mispredicted indirect branches excluding calls and returns",
261        "Counter": "0,1,2,3",
262        "CounterHTOff": "0,1,2,3,4,5,6,7",
263        "EventCode": "0x89",
264        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
265        "PublicDescription": "This event counts both taken and not taken mispredicted indirect branches excluding calls and returns.",
266        "SampleAfterValue": "200003",
267        "UMask": "0xc4"
268    },
269    {
270        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches",
271        "Counter": "0,1,2,3",
272        "CounterHTOff": "0,1,2,3,4,5,6,7",
273        "EventCode": "0x89",
274        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
275        "PublicDescription": "This event counts not taken speculative and retired mispredicted macro conditional branch instructions.",
276        "SampleAfterValue": "200003",
277        "UMask": "0x41"
278    },
279    {
280        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches",
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_CONDITIONAL",
285        "PublicDescription": "This event counts taken speculative and retired mispredicted macro conditional branch instructions.",
286        "SampleAfterValue": "200003",
287        "UMask": "0x81"
288    },
289    {
290        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns",
291        "Counter": "0,1,2,3",
292        "CounterHTOff": "0,1,2,3,4,5,6,7",
293        "EventCode": "0x89",
294        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
295        "PublicDescription": "This event counts taken speculative and retired mispredicted indirect branches excluding calls and returns.",
296        "SampleAfterValue": "200003",
297        "UMask": "0x84"
298    },
299    {
300        "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
301        "Counter": "0,1,2,3",
302        "CounterHTOff": "0,1,2,3,4,5,6,7",
303        "EventCode": "0x89",
304        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
305        "SampleAfterValue": "200003",
306        "UMask": "0xa0"
307    },
308    {
309        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic",
310        "Counter": "0,1,2,3",
311        "CounterHTOff": "0,1,2,3,4,5,6,7",
312        "EventCode": "0x89",
313        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
314        "PublicDescription": "This event counts taken speculative and retired mispredicted indirect branches that have a return mnemonic.",
315        "SampleAfterValue": "200003",
316        "UMask": "0x88"
317    },
318    {
319        "BriefDescription": "All mispredicted macro branch instructions retired.",
320        "Counter": "0,1,2,3",
321        "CounterHTOff": "0,1,2,3,4,5,6,7",
322        "EventCode": "0xC5",
323        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
324        "PublicDescription": "This event counts all mispredicted macro branch instructions retired.",
325        "SampleAfterValue": "400009"
326    },
327    {
328        "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS)",
329        "Counter": "0,1,2,3",
330        "CounterHTOff": "0,1,2,3",
331        "EventCode": "0xC5",
332        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
333        "PEBS": "2",
334        "PublicDescription": "This is a precise version of BR_MISP_RETIRED.ALL_BRANCHES that counts all mispredicted macro branch instructions retired.",
335        "SampleAfterValue": "400009",
336        "UMask": "0x4"
337    },
338    {
339        "BriefDescription": "Mispredicted conditional branch instructions retired. (Precise Event - PEBS)",
340        "Counter": "0,1,2,3",
341        "CounterHTOff": "0,1,2,3,4,5,6,7",
342        "EventCode": "0xC5",
343        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
344        "PEBS": "1",
345        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts mispredicted conditional branch instructions retired.",
346        "SampleAfterValue": "400009",
347        "UMask": "0x1"
348    },
349    {
350        "BriefDescription": "number of near branch instructions retired that were mispredicted and taken. (Precise Event - PEBS).",
351        "Counter": "0,1,2,3",
352        "CounterHTOff": "0,1,2,3,4,5,6,7",
353        "EventCode": "0xC5",
354        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
355        "PEBS": "1",
356        "PublicDescription": "Number of near branch instructions retired that were mispredicted and taken. (Precise Event - PEBS).",
357        "SampleAfterValue": "400009",
358        "UMask": "0x20"
359    },
360    {
361        "BriefDescription": "This event counts the number of mispredicted ret instructions retired.(Precise Event)",
362        "Counter": "0,1,2,3",
363        "CounterHTOff": "0,1,2,3,4,5,6,7",
364        "EventCode": "0xC5",
365        "EventName": "BR_MISP_RETIRED.RET",
366        "PEBS": "1",
367        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts mispredicted return instructions retired.",
368        "SampleAfterValue": "100007",
369        "UMask": "0x8"
370    },
371    {
372        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
373        "Counter": "0,1,2,3",
374        "CounterHTOff": "0,1,2,3",
375        "EventCode": "0x3c",
376        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
377        "SampleAfterValue": "2000003",
378        "UMask": "0x2"
379    },
380    {
381        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
382        "Counter": "0,1,2,3",
383        "CounterHTOff": "0,1,2,3,4,5,6,7",
384        "EventCode": "0x3C",
385        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
386        "PublicDescription": "This is a fixed-frequency event programmed to general counters. It counts when the core is unhalted at 100 Mhz.",
387        "SampleAfterValue": "2000003",
388        "UMask": "0x1"
389    },
390    {
391        "AnyThread": "1",
392        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
393        "Counter": "0,1,2,3",
394        "CounterHTOff": "0,1,2,3,4,5,6,7",
395        "EventCode": "0x3C",
396        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
397        "SampleAfterValue": "2000003",
398        "UMask": "0x1"
399    },
400    {
401        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
402        "Counter": "0,1,2,3",
403        "CounterHTOff": "0,1,2,3,4,5,6,7",
404        "EventCode": "0x3C",
405        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
406        "SampleAfterValue": "2000003",
407        "UMask": "0x2"
408    },
409    {
410        "BriefDescription": "Reference cycles when the core is not in halt state.",
411        "Counter": "Fixed counter 2",
412        "CounterHTOff": "Fixed counter 2",
413        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
414        "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. \nNote: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'.  This event is clocked by base clock (100 Mhz) on Sandy Bridge. The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'.  After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.",
415        "SampleAfterValue": "2000003",
416        "UMask": "0x3"
417    },
418    {
419        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
420        "Counter": "0,1,2,3",
421        "CounterHTOff": "0,1,2,3,4,5,6,7",
422        "EventCode": "0x3C",
423        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
424        "PublicDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
425        "SampleAfterValue": "2000003",
426        "UMask": "0x1"
427    },
428    {
429        "AnyThread": "1",
430        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
431        "Counter": "0,1,2,3",
432        "CounterHTOff": "0,1,2,3,4,5,6,7",
433        "EventCode": "0x3C",
434        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
435        "SampleAfterValue": "2000003",
436        "UMask": "0x1"
437    },
438    {
439        "BriefDescription": "Core cycles when the thread is not in halt state",
440        "Counter": "Fixed counter 1",
441        "CounterHTOff": "Fixed counter 1",
442        "EventName": "CPU_CLK_UNHALTED.THREAD",
443        "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.",
444        "SampleAfterValue": "2000003",
445        "UMask": "0x2"
446    },
447    {
448        "AnyThread": "1",
449        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
450        "Counter": "Fixed counter 1",
451        "CounterHTOff": "Fixed counter 1",
452        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
453        "SampleAfterValue": "2000003",
454        "UMask": "0x2"
455    },
456    {
457        "BriefDescription": "Thread cycles when thread is not in halt state",
458        "Counter": "0,1,2,3",
459        "CounterHTOff": "0,1,2,3,4,5,6,7",
460        "EventCode": "0x3C",
461        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
462        "PublicDescription": "This is an architectural event that counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling. For this reason, this event may have a changing ratio with regards to wall clock time.",
463        "SampleAfterValue": "2000003"
464    },
465    {
466        "AnyThread": "1",
467        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
468        "Counter": "0,1,2,3",
469        "CounterHTOff": "0,1,2,3,4,5,6,7",
470        "EventCode": "0x3C",
471        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
472        "SampleAfterValue": "2000003"
473    },
474    {
475        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
476        "Counter": "2",
477        "CounterHTOff": "2",
478        "CounterMask": "8",
479        "EventCode": "0xA3",
480        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
481        "SampleAfterValue": "2000003",
482        "UMask": "0x8"
483    },
484    {
485        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
486        "Counter": "2",
487        "CounterHTOff": "2",
488        "CounterMask": "8",
489        "EventCode": "0xA3",
490        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
491        "PublicDescription": "Counts number of cycles the CPU has at least one pending  demand load request missing the L1 data cache.",
492        "SampleAfterValue": "2000003",
493        "UMask": "0x8"
494    },
495    {
496        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
497        "Counter": "0,1,2,3",
498        "CounterHTOff": "0,1,2,3,4,5,6,7",
499        "CounterMask": "1",
500        "EventCode": "0xA3",
501        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
502        "SampleAfterValue": "2000003",
503        "UMask": "0x1"
504    },
505    {
506        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
507        "Counter": "0,1,2,3",
508        "CounterHTOff": "0,1,2,3,4,5,6,7",
509        "CounterMask": "1",
510        "EventCode": "0xA3",
511        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
512        "PublicDescription": "Counts number of cycles the CPU has at least one pending  demand* load request missing the L2 cache.",
513        "SampleAfterValue": "2000003",
514        "UMask": "0x1"
515    },
516    {
517        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
518        "Counter": "0,1,2,3",
519        "CounterHTOff": "0,1,2,3,4,5,6,7",
520        "CounterMask": "2",
521        "EventCode": "0xA3",
522        "EventName": "CYCLE_ACTIVITY.CYCLES_LDM_PENDING",
523        "PublicDescription": "Counts number of cycles the CPU has at least one pending  demand load request (that is cycles with non-completed load waiting for its data from memory subsystem).",
524        "SampleAfterValue": "2000003",
525        "UMask": "0x2"
526    },
527    {
528        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
529        "Counter": "0,1,2,3",
530        "CounterHTOff": "0,1,2,3",
531        "CounterMask": "2",
532        "EventCode": "0xA3",
533        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
534        "SampleAfterValue": "2000003",
535        "UMask": "0x2"
536    },
537    {
538        "BriefDescription": "This event increments by 1 for every cycle where there was no execute for this thread.",
539        "Counter": "0,1,2,3",
540        "CounterHTOff": "0,1,2,3",
541        "CounterMask": "4",
542        "EventCode": "0xA3",
543        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_EXECUTE",
544        "PublicDescription": "Counts number of cycles nothing is executed on any execution port.",
545        "SampleAfterValue": "2000003",
546        "UMask": "0x4"
547    },
548    {
549        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
550        "Counter": "2",
551        "CounterHTOff": "2",
552        "CounterMask": "12",
553        "EventCode": "0xA3",
554        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
555        "SampleAfterValue": "2000003",
556        "UMask": "0xc"
557    },
558    {
559        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
560        "Counter": "2",
561        "CounterHTOff": "2",
562        "CounterMask": "12",
563        "EventCode": "0xA3",
564        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
565        "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand load request missing the L1 data cache.",
566        "SampleAfterValue": "2000003",
567        "UMask": "0xc"
568    },
569    {
570        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
571        "Counter": "0,1,2,3",
572        "CounterHTOff": "0,1,2,3,4,5,6,7",
573        "CounterMask": "5",
574        "EventCode": "0xA3",
575        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
576        "SampleAfterValue": "2000003",
577        "UMask": "0x5"
578    },
579    {
580        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
581        "Counter": "0,1,2,3",
582        "CounterHTOff": "0,1,2,3",
583        "CounterMask": "5",
584        "EventCode": "0xA3",
585        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
586        "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand* load request missing the L2 cache.(as a footprint) * includes also L1 HW prefetch requests that may or may not be required by demands.",
587        "SampleAfterValue": "2000003",
588        "UMask": "0x5"
589    },
590    {
591        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
592        "Counter": "0,1,2,3",
593        "CounterHTOff": "0,1,2,3",
594        "CounterMask": "6",
595        "EventCode": "0xA3",
596        "EventName": "CYCLE_ACTIVITY.STALLS_LDM_PENDING",
597        "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand load request.",
598        "SampleAfterValue": "2000003",
599        "UMask": "0x6"
600    },
601    {
602        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
603        "Counter": "0,1,2,3",
604        "CounterHTOff": "0,1,2,3,4,5,6,7",
605        "CounterMask": "6",
606        "EventCode": "0xA3",
607        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
608        "SampleAfterValue": "2000003",
609        "UMask": "0x6"
610    },
611    {
612        "BriefDescription": "Total execution stalls.",
613        "Counter": "0,1,2,3",
614        "CounterHTOff": "0,1,2,3,4,5,6,7",
615        "CounterMask": "4",
616        "EventCode": "0xA3",
617        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
618        "SampleAfterValue": "2000003",
619        "UMask": "0x4"
620    },
621    {
622        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
623        "Counter": "0,1,2,3",
624        "CounterHTOff": "0,1,2,3,4,5,6,7",
625        "EventCode": "0x87",
626        "EventName": "ILD_STALL.LCP",
627        "PublicDescription": "This event counts stalls occured due to changing prefix length (66, 67 or REX.W when they change the length of the decoded instruction). Occurrences counting is proportional to the number of prefixes in a 16B-line. This may result in the following penalties: three-cycle penalty for each LCP in a 16-byte chunk.",
628        "SampleAfterValue": "2000003",
629        "UMask": "0x1"
630    },
631    {
632        "BriefDescription": "Instructions retired from execution.",
633        "Counter": "Fixed counter 0",
634        "CounterHTOff": "Fixed counter 0",
635        "EventName": "INST_RETIRED.ANY",
636        "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. \nNotes: INST_RETIRED.ANY is counted by a designated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. INST_RETIRED.ANY_P is counted by a programmable counter and it is an architectural performance event. \nCounting: Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.",
637        "SampleAfterValue": "2000003",
638        "UMask": "0x1"
639    },
640    {
641        "BriefDescription": "Number of instructions retired. General Counter   - architectural event",
642        "Counter": "0,1,2,3",
643        "CounterHTOff": "0,1,2,3,4,5,6,7",
644        "Errata": "BDM61",
645        "EventCode": "0xC0",
646        "EventName": "INST_RETIRED.ANY_P",
647        "PublicDescription": "This event counts the number of instructions (EOMs) retired. Counting covers macro-fused instructions individually (that is, increments by two).",
648        "SampleAfterValue": "2000003"
649    },
650    {
651        "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution",
652        "Counter": "1",
653        "CounterHTOff": "1",
654        "Errata": "BDM11, BDM55",
655        "EventCode": "0xC0",
656        "EventName": "INST_RETIRED.PREC_DIST",
657        "PEBS": "2",
658        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts instructions retired.",
659        "SampleAfterValue": "2000003",
660        "UMask": "0x1"
661    },
662    {
663        "BriefDescription": "FP operations  retired. X87 FP operations that have no exceptions:",
664        "Counter": "0,1,2,3",
665        "CounterHTOff": "0,1,2,3,4,5,6,7",
666        "EventCode": "0xC0",
667        "EventName": "INST_RETIRED.X87",
668        "PublicDescription": "This event 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.",
669        "SampleAfterValue": "2000003",
670        "UMask": "0x2"
671    },
672    {
673        "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread",
674        "Counter": "0,1,2,3",
675        "CounterHTOff": "0,1,2,3,4,5,6,7",
676        "EventCode": "0x0D",
677        "EventName": "INT_MISC.RAT_STALL_CYCLES",
678        "PublicDescription": "This event counts the number of cycles during which Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the current thread. This also includes the cycles during which the Allocator is serving another thread.",
679        "SampleAfterValue": "2000003",
680        "UMask": "0x8"
681    },
682    {
683        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)",
684        "Counter": "0,1,2,3",
685        "CounterHTOff": "0,1,2,3,4,5,6,7",
686        "CounterMask": "1",
687        "EventCode": "0x0D",
688        "EventName": "INT_MISC.RECOVERY_CYCLES",
689        "PublicDescription": "Cycles checkpoints in Resource Allocation Table (RAT) are recovering from JEClear or machine clear.",
690        "SampleAfterValue": "2000003",
691        "UMask": "0x3"
692    },
693    {
694        "AnyThread": "1",
695        "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).",
696        "Counter": "0,1,2,3",
697        "CounterHTOff": "0,1,2,3,4,5,6,7",
698        "CounterMask": "1",
699        "EventCode": "0x0D",
700        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
701        "SampleAfterValue": "2000003",
702        "UMask": "0x3"
703    },
704    {
705        "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.",
706        "Counter": "0,1,2,3",
707        "CounterHTOff": "0,1,2,3,4,5,6,7",
708        "EventCode": "0x03",
709        "EventName": "LD_BLOCKS.NO_SR",
710        "SampleAfterValue": "100003",
711        "UMask": "0x8"
712    },
713    {
714        "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding",
715        "Counter": "0,1,2,3",
716        "CounterHTOff": "0,1,2,3,4,5,6,7",
717        "EventCode": "0x03",
718        "EventName": "LD_BLOCKS.STORE_FORWARD",
719        "PublicDescription": "This event counts how many times the load operation got the true Block-on-Store blocking code preventing store forwarding. This includes cases when:\n - preceding store conflicts with the load (incomplete overlap);\n - store forwarding is impossible due to u-arch limitations;\n - preceding lock RMW operations are not forwarded;\n - store has the no-forward bit set (uncacheable/page-split/masked stores);\n - all-blocking stores are used (mostly, fences and port I/O);\nand others.\nThe most common case is a load blocked due to its address range overlapping with a preceding smaller uncompleted store. Note: This event does not take into account cases of out-of-SW-control (for example, SbTailHit), unknown physical STA, and cases of blocking loads on store due to being non-WB memory type or a lock. These cases are covered by other events.\nSee the table of not supported store forwards in the Optimization Guide.",
720        "SampleAfterValue": "100003",
721        "UMask": "0x2"
722    },
723    {
724        "BriefDescription": "False dependencies in MOB due to partial compare",
725        "Counter": "0,1,2,3",
726        "CounterHTOff": "0,1,2,3,4,5,6,7",
727        "EventCode": "0x07",
728        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
729        "PublicDescription": "This event counts false dependencies in MOB when the partial comparison upon loose net check and dependency was resolved by the Enhanced Loose net mechanism. This may not result in high performance penalties. Loose net checks can fail when loads and stores are 4k aliased.",
730        "SampleAfterValue": "100003",
731        "UMask": "0x1"
732    },
733    {
734        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch",
735        "Counter": "0,1,2,3",
736        "CounterHTOff": "0,1,2,3,4,5,6,7",
737        "EventCode": "0x4C",
738        "EventName": "LOAD_HIT_PRE.HW_PF",
739        "PublicDescription": "This event counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the hardware prefetch.",
740        "SampleAfterValue": "100003",
741        "UMask": "0x2"
742    },
743    {
744        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch",
745        "Counter": "0,1,2,3",
746        "CounterHTOff": "0,1,2,3,4,5,6,7",
747        "EventCode": "0x4c",
748        "EventName": "LOAD_HIT_PRE.SW_PF",
749        "PublicDescription": "This event counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by asm inspection of the nearby instructions.",
750        "SampleAfterValue": "100003",
751        "UMask": "0x1"
752    },
753    {
754        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
755        "Counter": "0,1,2,3",
756        "CounterHTOff": "0,1,2,3,4,5,6,7",
757        "CounterMask": "4",
758        "EventCode": "0xA8",
759        "EventName": "LSD.CYCLES_4_UOPS",
760        "SampleAfterValue": "2000003",
761        "UMask": "0x1"
762    },
763    {
764        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
765        "Counter": "0,1,2,3",
766        "CounterHTOff": "0,1,2,3,4,5,6,7",
767        "CounterMask": "1",
768        "EventCode": "0xA8",
769        "EventName": "LSD.CYCLES_ACTIVE",
770        "SampleAfterValue": "2000003",
771        "UMask": "0x1"
772    },
773    {
774        "BriefDescription": "Number of Uops delivered by the LSD.",
775        "Counter": "0,1,2,3",
776        "CounterHTOff": "0,1,2,3,4,5,6,7",
777        "EventCode": "0xA8",
778        "EventName": "LSD.UOPS",
779        "SampleAfterValue": "2000003",
780        "UMask": "0x1"
781    },
782    {
783        "BriefDescription": "Number of machine clears (nukes) of any type.",
784        "Counter": "0,1,2,3",
785        "CounterHTOff": "0,1,2,3,4,5,6,7",
786        "CounterMask": "1",
787        "EdgeDetect": "1",
788        "EventCode": "0xC3",
789        "EventName": "MACHINE_CLEARS.COUNT",
790        "SampleAfterValue": "100003",
791        "UMask": "0x1"
792    },
793    {
794        "BriefDescription": "Cycles there was a Nuke. Account for both thread-specific and All Thread Nukes.",
795        "Counter": "0,1,2,3",
796        "CounterHTOff": "0,1,2,3,4,5,6,7",
797        "EventCode": "0xC3",
798        "EventName": "MACHINE_CLEARS.CYCLES",
799        "PublicDescription": "This event counts both thread-specific (TS) and all-thread (AT) nukes.",
800        "SampleAfterValue": "2000003",
801        "UMask": "0x1"
802    },
803    {
804        "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.",
805        "Counter": "0,1,2,3",
806        "CounterHTOff": "0,1,2,3,4,5,6,7",
807        "EventCode": "0xC3",
808        "EventName": "MACHINE_CLEARS.MASKMOV",
809        "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.",
810        "SampleAfterValue": "100003",
811        "UMask": "0x20"
812    },
813    {
814        "BriefDescription": "Self-modifying code (SMC) detected.",
815        "Counter": "0,1,2,3",
816        "CounterHTOff": "0,1,2,3,4,5,6,7",
817        "EventCode": "0xC3",
818        "EventName": "MACHINE_CLEARS.SMC",
819        "PublicDescription": "This event counts self-modifying code (SMC) detected, which causes a machine clear.",
820        "SampleAfterValue": "100003",
821        "UMask": "0x4"
822    },
823    {
824        "BriefDescription": "Number of integer Move Elimination candidate uops that were eliminated.",
825        "Counter": "0,1,2,3",
826        "CounterHTOff": "0,1,2,3,4,5,6,7",
827        "EventCode": "0x58",
828        "EventName": "MOVE_ELIMINATION.INT_ELIMINATED",
829        "SampleAfterValue": "1000003",
830        "UMask": "0x1"
831    },
832    {
833        "BriefDescription": "Number of integer Move Elimination candidate uops that were not eliminated.",
834        "Counter": "0,1,2,3",
835        "CounterHTOff": "0,1,2,3,4,5,6,7",
836        "EventCode": "0x58",
837        "EventName": "MOVE_ELIMINATION.INT_NOT_ELIMINATED",
838        "SampleAfterValue": "1000003",
839        "UMask": "0x4"
840    },
841    {
842        "BriefDescription": "Number of times any microcode assist is invoked by HW upon uop writeback.",
843        "Counter": "0,1,2,3",
844        "CounterHTOff": "0,1,2,3,4,5,6,7",
845        "EventCode": "0xC1",
846        "EventName": "OTHER_ASSISTS.ANY_WB_ASSIST",
847        "SampleAfterValue": "100003",
848        "UMask": "0x40"
849    },
850    {
851        "BriefDescription": "Resource-related stall cycles",
852        "Counter": "0,1,2,3",
853        "CounterHTOff": "0,1,2,3,4,5,6,7",
854        "EventCode": "0xA2",
855        "EventName": "RESOURCE_STALLS.ANY",
856        "PublicDescription": "This event counts resource-related stall cycles. Reasons for stalls can be as follows:\n - *any* u-arch structure got full (LB, SB, RS, ROB, BOB, LM, Physical Register Reclaim Table (PRRT), or Physical History Table (PHT) slots)\n - *any* u-arch structure got empty (like INT/SIMD FreeLists)\n - FPU control word (FPCW), MXCSR\nand others. This counts cycles that the pipeline backend blocked uop delivery from the front end.",
857        "SampleAfterValue": "2000003",
858        "UMask": "0x1"
859    },
860    {
861        "BriefDescription": "Cycles stalled due to re-order buffer full.",
862        "Counter": "0,1,2,3",
863        "CounterHTOff": "0,1,2,3,4,5,6,7",
864        "EventCode": "0xA2",
865        "EventName": "RESOURCE_STALLS.ROB",
866        "PublicDescription": "This event counts ROB full stall cycles. This counts cycles that the pipeline backend blocked uop delivery from the front end.",
867        "SampleAfterValue": "2000003",
868        "UMask": "0x10"
869    },
870    {
871        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
872        "Counter": "0,1,2,3",
873        "CounterHTOff": "0,1,2,3,4,5,6,7",
874        "EventCode": "0xA2",
875        "EventName": "RESOURCE_STALLS.RS",
876        "PublicDescription": "This event counts stall cycles caused by absence of eligible entries in the reservation station (RS). This may result from RS overflow, or from RS deallocation because of the RS array Write Port allocation scheme (each RS entry has two write ports instead of four. As a result, empty entries could not be used, although RS is not really full). This counts cycles that the pipeline backend blocked uop delivery from the front end.",
877        "SampleAfterValue": "2000003",
878        "UMask": "0x4"
879    },
880    {
881        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
882        "Counter": "0,1,2,3",
883        "CounterHTOff": "0,1,2,3,4,5,6,7",
884        "EventCode": "0xA2",
885        "EventName": "RESOURCE_STALLS.SB",
886        "PublicDescription": "This event counts stall cycles caused by the store buffer (SB) overflow (excluding draining from synch). This counts cycles that the pipeline backend blocked uop delivery from the front end.",
887        "SampleAfterValue": "2000003",
888        "UMask": "0x8"
889    },
890    {
891        "BriefDescription": "Count cases of saving new LBR",
892        "Counter": "0,1,2,3",
893        "CounterHTOff": "0,1,2,3,4,5,6,7",
894        "EventCode": "0xCC",
895        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
896        "PublicDescription": "This event counts cases of saving new LBR records by hardware. This assumes proper enabling of LBRs and takes into account LBR filtering done by the LBR_SELECT register.",
897        "SampleAfterValue": "2000003",
898        "UMask": "0x20"
899    },
900    {
901        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
902        "Counter": "0,1,2,3",
903        "CounterHTOff": "0,1,2,3,4,5,6,7",
904        "EventCode": "0x5E",
905        "EventName": "RS_EVENTS.EMPTY_CYCLES",
906        "PublicDescription": "This event counts cycles during which the reservation station (RS) is empty for the thread.\nNote: In ST-mode, not active thread should drive 0. This is usually caused by severely costly branch mispredictions, or allocator/FE issues.",
907        "SampleAfterValue": "2000003",
908        "UMask": "0x1"
909    },
910    {
911        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
912        "Counter": "0,1,2,3",
913        "CounterHTOff": "0,1,2,3,4,5,6,7",
914        "CounterMask": "1",
915        "EdgeDetect": "1",
916        "EventCode": "0x5E",
917        "EventName": "RS_EVENTS.EMPTY_END",
918        "Invert": "1",
919        "SampleAfterValue": "200003",
920        "UMask": "0x1"
921    },
922    {
923        "BriefDescription": "Cycles per thread when uops are executed in port 0",
924        "Counter": "0,1,2,3",
925        "CounterHTOff": "0,1,2,3,4,5,6,7",
926        "EventCode": "0xA1",
927        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
928        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.",
929        "SampleAfterValue": "2000003",
930        "UMask": "0x1"
931    },
932    {
933        "BriefDescription": "Cycles per thread when uops are executed in port 1",
934        "Counter": "0,1,2,3",
935        "CounterHTOff": "0,1,2,3,4,5,6,7",
936        "EventCode": "0xA1",
937        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
938        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.",
939        "SampleAfterValue": "2000003",
940        "UMask": "0x2"
941    },
942    {
943        "BriefDescription": "Cycles per thread when uops are executed in port 2",
944        "Counter": "0,1,2,3",
945        "CounterHTOff": "0,1,2,3,4,5,6,7",
946        "EventCode": "0xA1",
947        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
948        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.",
949        "SampleAfterValue": "2000003",
950        "UMask": "0x4"
951    },
952    {
953        "BriefDescription": "Cycles per thread when uops are executed in port 3",
954        "Counter": "0,1,2,3",
955        "CounterHTOff": "0,1,2,3,4,5,6,7",
956        "EventCode": "0xA1",
957        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
958        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.",
959        "SampleAfterValue": "2000003",
960        "UMask": "0x8"
961    },
962    {
963        "BriefDescription": "Cycles per thread when uops are executed in port 4",
964        "Counter": "0,1,2,3",
965        "CounterHTOff": "0,1,2,3,4,5,6,7",
966        "EventCode": "0xA1",
967        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
968        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.",
969        "SampleAfterValue": "2000003",
970        "UMask": "0x10"
971    },
972    {
973        "BriefDescription": "Cycles per thread when uops are executed in port 5",
974        "Counter": "0,1,2,3",
975        "CounterHTOff": "0,1,2,3,4,5,6,7",
976        "EventCode": "0xA1",
977        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
978        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 5.",
979        "SampleAfterValue": "2000003",
980        "UMask": "0x20"
981    },
982    {
983        "BriefDescription": "Cycles per thread when uops are executed in port 6",
984        "Counter": "0,1,2,3",
985        "CounterHTOff": "0,1,2,3,4,5,6,7",
986        "EventCode": "0xA1",
987        "EventName": "UOPS_DISPATCHED_PORT.PORT_6",
988        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 6.",
989        "SampleAfterValue": "2000003",
990        "UMask": "0x40"
991    },
992    {
993        "BriefDescription": "Cycles per thread when uops are executed in port 7",
994        "Counter": "0,1,2,3",
995        "CounterHTOff": "0,1,2,3,4,5,6,7",
996        "EventCode": "0xA1",
997        "EventName": "UOPS_DISPATCHED_PORT.PORT_7",
998        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 7.",
999        "SampleAfterValue": "2000003",
1000        "UMask": "0x80"
1001    },
1002    {
1003        "BriefDescription": "Number of uops executed on the core.",
1004        "Counter": "0,1,2,3",
1005        "CounterHTOff": "0,1,2,3,4,5,6,7",
1006        "EventCode": "0xB1",
1007        "EventName": "UOPS_EXECUTED.CORE",
1008        "PublicDescription": "Number of uops executed from any thread.",
1009        "SampleAfterValue": "2000003",
1010        "UMask": "0x2"
1011    },
1012    {
1013        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
1014        "Counter": "0,1,2,3",
1015        "CounterHTOff": "0,1,2,3,4,5,6,7",
1016        "CounterMask": "1",
1017        "EventCode": "0xb1",
1018        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
1019        "SampleAfterValue": "2000003",
1020        "UMask": "0x2"
1021    },
1022    {
1023        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
1024        "Counter": "0,1,2,3",
1025        "CounterHTOff": "0,1,2,3,4,5,6,7",
1026        "CounterMask": "2",
1027        "EventCode": "0xb1",
1028        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
1029        "SampleAfterValue": "2000003",
1030        "UMask": "0x2"
1031    },
1032    {
1033        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
1034        "Counter": "0,1,2,3",
1035        "CounterHTOff": "0,1,2,3,4,5,6,7",
1036        "CounterMask": "3",
1037        "EventCode": "0xb1",
1038        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
1039        "SampleAfterValue": "2000003",
1040        "UMask": "0x2"
1041    },
1042    {
1043        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
1044        "Counter": "0,1,2,3",
1045        "CounterHTOff": "0,1,2,3,4,5,6,7",
1046        "CounterMask": "4",
1047        "EventCode": "0xb1",
1048        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
1049        "SampleAfterValue": "2000003",
1050        "UMask": "0x2"
1051    },
1052    {
1053        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
1054        "Counter": "0,1,2,3",
1055        "CounterHTOff": "0,1,2,3,4,5,6,7",
1056        "EventCode": "0xb1",
1057        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
1058        "Invert": "1",
1059        "SampleAfterValue": "2000003",
1060        "UMask": "0x2"
1061    },
1062    {
1063        "BriefDescription": "Cycles where at least 1 uop was executed per-thread.",
1064        "Counter": "0,1,2,3",
1065        "CounterHTOff": "0,1,2,3",
1066        "CounterMask": "1",
1067        "EventCode": "0xB1",
1068        "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC",
1069        "SampleAfterValue": "2000003",
1070        "UMask": "0x1"
1071    },
1072    {
1073        "BriefDescription": "Cycles where at least 2 uops were executed per-thread.",
1074        "Counter": "0,1,2,3",
1075        "CounterHTOff": "0,1,2,3",
1076        "CounterMask": "2",
1077        "EventCode": "0xB1",
1078        "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC",
1079        "SampleAfterValue": "2000003",
1080        "UMask": "0x1"
1081    },
1082    {
1083        "BriefDescription": "Cycles where at least 3 uops were executed per-thread.",
1084        "Counter": "0,1,2,3",
1085        "CounterHTOff": "0,1,2,3",
1086        "CounterMask": "3",
1087        "EventCode": "0xB1",
1088        "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC",
1089        "SampleAfterValue": "2000003",
1090        "UMask": "0x1"
1091    },
1092    {
1093        "BriefDescription": "Cycles where at least 4 uops were executed per-thread.",
1094        "Counter": "0,1,2,3",
1095        "CounterHTOff": "0,1,2,3",
1096        "CounterMask": "4",
1097        "EventCode": "0xB1",
1098        "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC",
1099        "SampleAfterValue": "2000003",
1100        "UMask": "0x1"
1101    },
1102    {
1103        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
1104        "Counter": "0,1,2,3",
1105        "CounterHTOff": "0,1,2,3",
1106        "CounterMask": "1",
1107        "EventCode": "0xB1",
1108        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
1109        "Invert": "1",
1110        "PublicDescription": "This event counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
1111        "SampleAfterValue": "2000003",
1112        "UMask": "0x1"
1113    },
1114    {
1115        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
1116        "Counter": "0,1,2,3",
1117        "CounterHTOff": "0,1,2,3,4,5,6,7",
1118        "EventCode": "0xB1",
1119        "EventName": "UOPS_EXECUTED.THREAD",
1120        "PublicDescription": "Number of uops to be executed per-thread each cycle.",
1121        "SampleAfterValue": "2000003",
1122        "UMask": "0x1"
1123    },
1124    {
1125        "BriefDescription": "Cycles per thread when uops are executed in port 0",
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_0",
1130        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.",
1131        "SampleAfterValue": "2000003",
1132        "UMask": "0x1"
1133    },
1134    {
1135        "AnyThread": "1",
1136        "BriefDescription": "Cycles per core when uops are exectuted in port 0.",
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_0_CORE",
1141        "SampleAfterValue": "2000003",
1142        "UMask": "0x1"
1143    },
1144    {
1145        "BriefDescription": "Cycles per thread when uops are executed in port 1",
1146        "Counter": "0,1,2,3",
1147        "CounterHTOff": "0,1,2,3,4,5,6,7",
1148        "EventCode": "0xA1",
1149        "EventName": "UOPS_EXECUTED_PORT.PORT_1",
1150        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.",
1151        "SampleAfterValue": "2000003",
1152        "UMask": "0x2"
1153    },
1154    {
1155        "AnyThread": "1",
1156        "BriefDescription": "Cycles per core when uops are exectuted in port 1.",
1157        "Counter": "0,1,2,3",
1158        "CounterHTOff": "0,1,2,3,4,5,6,7",
1159        "EventCode": "0xA1",
1160        "EventName": "UOPS_EXECUTED_PORT.PORT_1_CORE",
1161        "SampleAfterValue": "2000003",
1162        "UMask": "0x2"
1163    },
1164    {
1165        "BriefDescription": "Cycles per thread when uops are executed in port 2",
1166        "Counter": "0,1,2,3",
1167        "CounterHTOff": "0,1,2,3,4,5,6,7",
1168        "EventCode": "0xA1",
1169        "EventName": "UOPS_EXECUTED_PORT.PORT_2",
1170        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.",
1171        "SampleAfterValue": "2000003",
1172        "UMask": "0x4"
1173    },
1174    {
1175        "AnyThread": "1",
1176        "BriefDescription": "Cycles per core when uops are dispatched to port 2.",
1177        "Counter": "0,1,2,3",
1178        "CounterHTOff": "0,1,2,3,4,5,6,7",
1179        "EventCode": "0xA1",
1180        "EventName": "UOPS_EXECUTED_PORT.PORT_2_CORE",
1181        "SampleAfterValue": "2000003",
1182        "UMask": "0x4"
1183    },
1184    {
1185        "BriefDescription": "Cycles per thread when uops are executed in port 3",
1186        "Counter": "0,1,2,3",
1187        "CounterHTOff": "0,1,2,3,4,5,6,7",
1188        "EventCode": "0xA1",
1189        "EventName": "UOPS_EXECUTED_PORT.PORT_3",
1190        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.",
1191        "SampleAfterValue": "2000003",
1192        "UMask": "0x8"
1193    },
1194    {
1195        "AnyThread": "1",
1196        "BriefDescription": "Cycles per core when uops are dispatched to port 3.",
1197        "Counter": "0,1,2,3",
1198        "CounterHTOff": "0,1,2,3,4,5,6,7",
1199        "EventCode": "0xA1",
1200        "EventName": "UOPS_EXECUTED_PORT.PORT_3_CORE",
1201        "SampleAfterValue": "2000003",
1202        "UMask": "0x8"
1203    },
1204    {
1205        "BriefDescription": "Cycles per thread when uops are executed in port 4",
1206        "Counter": "0,1,2,3",
1207        "CounterHTOff": "0,1,2,3,4,5,6,7",
1208        "EventCode": "0xA1",
1209        "EventName": "UOPS_EXECUTED_PORT.PORT_4",
1210        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.",
1211        "SampleAfterValue": "2000003",
1212        "UMask": "0x10"
1213    },
1214    {
1215        "AnyThread": "1",
1216        "BriefDescription": "Cycles per core when uops are exectuted in port 4.",
1217        "Counter": "0,1,2,3",
1218        "CounterHTOff": "0,1,2,3,4,5,6,7",
1219        "EventCode": "0xA1",
1220        "EventName": "UOPS_EXECUTED_PORT.PORT_4_CORE",
1221        "SampleAfterValue": "2000003",
1222        "UMask": "0x10"
1223    },
1224    {
1225        "BriefDescription": "Cycles per thread when uops are executed in port 5",
1226        "Counter": "0,1,2,3",
1227        "CounterHTOff": "0,1,2,3,4,5,6,7",
1228        "EventCode": "0xA1",
1229        "EventName": "UOPS_EXECUTED_PORT.PORT_5",
1230        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 5.",
1231        "SampleAfterValue": "2000003",
1232        "UMask": "0x20"
1233    },
1234    {
1235        "AnyThread": "1",
1236        "BriefDescription": "Cycles per core when uops are exectuted in port 5.",
1237        "Counter": "0,1,2,3",
1238        "CounterHTOff": "0,1,2,3,4,5,6,7",
1239        "EventCode": "0xA1",
1240        "EventName": "UOPS_EXECUTED_PORT.PORT_5_CORE",
1241        "SampleAfterValue": "2000003",
1242        "UMask": "0x20"
1243    },
1244    {
1245        "BriefDescription": "Cycles per thread when uops are executed in port 6",
1246        "Counter": "0,1,2,3",
1247        "CounterHTOff": "0,1,2,3,4,5,6,7",
1248        "EventCode": "0xA1",
1249        "EventName": "UOPS_EXECUTED_PORT.PORT_6",
1250        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 6.",
1251        "SampleAfterValue": "2000003",
1252        "UMask": "0x40"
1253    },
1254    {
1255        "AnyThread": "1",
1256        "BriefDescription": "Cycles per core when uops are exectuted in port 6.",
1257        "Counter": "0,1,2,3",
1258        "CounterHTOff": "0,1,2,3,4,5,6,7",
1259        "EventCode": "0xA1",
1260        "EventName": "UOPS_EXECUTED_PORT.PORT_6_CORE",
1261        "SampleAfterValue": "2000003",
1262        "UMask": "0x40"
1263    },
1264    {
1265        "BriefDescription": "Cycles per thread when uops are executed in port 7",
1266        "Counter": "0,1,2,3",
1267        "CounterHTOff": "0,1,2,3,4,5,6,7",
1268        "EventCode": "0xA1",
1269        "EventName": "UOPS_EXECUTED_PORT.PORT_7",
1270        "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 7.",
1271        "SampleAfterValue": "2000003",
1272        "UMask": "0x80"
1273    },
1274    {
1275        "AnyThread": "1",
1276        "BriefDescription": "Cycles per core when uops are dispatched to port 7.",
1277        "Counter": "0,1,2,3",
1278        "CounterHTOff": "0,1,2,3,4,5,6,7",
1279        "EventCode": "0xA1",
1280        "EventName": "UOPS_EXECUTED_PORT.PORT_7_CORE",
1281        "SampleAfterValue": "2000003",
1282        "UMask": "0x80"
1283    },
1284    {
1285        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)",
1286        "Counter": "0,1,2,3",
1287        "CounterHTOff": "0,1,2,3,4,5,6,7",
1288        "EventCode": "0x0E",
1289        "EventName": "UOPS_ISSUED.ANY",
1290        "PublicDescription": "This event counts the number of Uops issued by the Resource Allocation Table (RAT) to the reservation station (RS).",
1291        "SampleAfterValue": "2000003",
1292        "UMask": "0x1"
1293    },
1294    {
1295        "BriefDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive; added by GSR u-arch.",
1296        "Counter": "0,1,2,3",
1297        "CounterHTOff": "0,1,2,3,4,5,6,7",
1298        "EventCode": "0x0E",
1299        "EventName": "UOPS_ISSUED.FLAGS_MERGE",
1300        "PublicDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive\n added by GSR u-arch.",
1301        "SampleAfterValue": "2000003",
1302        "UMask": "0x10"
1303    },
1304    {
1305        "BriefDescription": "Number of Multiply packed/scalar single precision uops allocated.",
1306        "Counter": "0,1,2,3",
1307        "CounterHTOff": "0,1,2,3,4,5,6,7",
1308        "EventCode": "0x0E",
1309        "EventName": "UOPS_ISSUED.SINGLE_MUL",
1310        "SampleAfterValue": "2000003",
1311        "UMask": "0x40"
1312    },
1313    {
1314        "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.",
1315        "Counter": "0,1,2,3",
1316        "CounterHTOff": "0,1,2,3,4,5,6,7",
1317        "EventCode": "0x0E",
1318        "EventName": "UOPS_ISSUED.SLOW_LEA",
1319        "SampleAfterValue": "2000003",
1320        "UMask": "0x20"
1321    },
1322    {
1323        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread",
1324        "Counter": "0,1,2,3",
1325        "CounterHTOff": "0,1,2,3",
1326        "CounterMask": "1",
1327        "EventCode": "0x0E",
1328        "EventName": "UOPS_ISSUED.STALL_CYCLES",
1329        "Invert": "1",
1330        "PublicDescription": "This event counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
1331        "SampleAfterValue": "2000003",
1332        "UMask": "0x1"
1333    },
1334    {
1335        "BriefDescription": "Actually retired uops. (Precise Event - PEBS)",
1336        "Counter": "0,1,2,3",
1337        "CounterHTOff": "0,1,2,3,4,5,6,7",
1338        "Data_LA": "1",
1339        "EventCode": "0xC2",
1340        "EventName": "UOPS_RETIRED.ALL",
1341        "PEBS": "1",
1342        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts all actually retired uops. Counting increments by two for micro-fused uops, and by one for macro-fused and other uops. Maximal increment value for one cycle is eight.",
1343        "SampleAfterValue": "2000003",
1344        "UMask": "0x1"
1345    },
1346    {
1347        "BriefDescription": "Retirement slots used. (Precise Event - PEBS)",
1348        "Counter": "0,1,2,3",
1349        "CounterHTOff": "0,1,2,3,4,5,6,7",
1350        "EventCode": "0xC2",
1351        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
1352        "PEBS": "1",
1353        "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts the number of retirement slots used.",
1354        "SampleAfterValue": "2000003",
1355        "UMask": "0x2"
1356    },
1357    {
1358        "BriefDescription": "Cycles without actually retired uops.",
1359        "Counter": "0,1,2,3",
1360        "CounterHTOff": "0,1,2,3",
1361        "CounterMask": "1",
1362        "EventCode": "0xC2",
1363        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1364        "Invert": "1",
1365        "PublicDescription": "This event counts cycles without actually retired uops.",
1366        "SampleAfterValue": "2000003",
1367        "UMask": "0x1"
1368    },
1369    {
1370        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1371        "Counter": "0,1,2,3",
1372        "CounterHTOff": "0,1,2,3",
1373        "CounterMask": "10",
1374        "EventCode": "0xC2",
1375        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1376        "Invert": "1",
1377        "PublicDescription": "Number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
1378        "SampleAfterValue": "2000003",
1379        "UMask": "0x1"
1380    }
1381]