xref: /linux/tools/perf/pmu-events/arch/x86/alderlake/pipeline.json (revision 40ccd6aa3e2e05be93394e3cd560c718dedfcc77)
1[
2    {
3        "BriefDescription": "This event is deprecated. Refer to new event ARITH.DIV_ACTIVE",
4        "Counter": "0,1,2,3,4,5,6,7",
5        "CounterMask": "1",
6        "Deprecated": "1",
7        "EventCode": "0xb0",
8        "EventName": "ARITH.DIVIDER_ACTIVE",
9        "SampleAfterValue": "1000003",
10        "UMask": "0x9",
11        "Unit": "cpu_core"
12    },
13    {
14        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
15        "Counter": "0,1,2,3,4,5,6,7",
16        "CounterMask": "1",
17        "EventCode": "0xb0",
18        "EventName": "ARITH.DIV_ACTIVE",
19        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
20        "SampleAfterValue": "1000003",
21        "UMask": "0x9",
22        "Unit": "cpu_core"
23    },
24    {
25        "BriefDescription": "This event is deprecated. Refer to new event ARITH.FPDIV_ACTIVE",
26        "Counter": "0,1,2,3,4,5,6,7",
27        "CounterMask": "1",
28        "Deprecated": "1",
29        "EventCode": "0xb0",
30        "EventName": "ARITH.FP_DIVIDER_ACTIVE",
31        "SampleAfterValue": "1000003",
32        "UMask": "0x1",
33        "Unit": "cpu_core"
34    },
35    {
36        "BriefDescription": "This event counts the cycles the integer divider is busy.",
37        "Counter": "0,1,2,3,4,5,6,7",
38        "CounterMask": "1",
39        "EventCode": "0xb0",
40        "EventName": "ARITH.IDIV_ACTIVE",
41        "SampleAfterValue": "1000003",
42        "UMask": "0x8",
43        "Unit": "cpu_core"
44    },
45    {
46        "BriefDescription": "This event is deprecated. Refer to new event ARITH.IDIV_ACTIVE",
47        "Counter": "0,1,2,3,4,5,6,7",
48        "CounterMask": "1",
49        "Deprecated": "1",
50        "EventCode": "0xb0",
51        "EventName": "ARITH.INT_DIVIDER_ACTIVE",
52        "SampleAfterValue": "1000003",
53        "UMask": "0x8",
54        "Unit": "cpu_core"
55    },
56    {
57        "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.",
58        "Counter": "0,1,2,3,4,5,6,7",
59        "EventCode": "0xc1",
60        "EventName": "ASSISTS.ANY",
61        "PublicDescription": "Counts the number of occurrences where a microcode assist is invoked by hardware. Examples include AD (page Access Dirty), FP and AVX related assists.",
62        "SampleAfterValue": "100003",
63        "UMask": "0x1b",
64        "Unit": "cpu_core"
65    },
66    {
67        "BriefDescription": "Counts the total number of branch instructions retired for all branch types.",
68        "Counter": "0,1,2,3,4,5",
69        "EventCode": "0xc4",
70        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
71        "PEBS": "1",
72        "PublicDescription": "Counts the total number of instructions in which the instruction pointer (IP) of the processor is resteered due to a branch instruction and the branch instruction successfully retires.  All branch type instructions are accounted for.",
73        "SampleAfterValue": "200003",
74        "Unit": "cpu_atom"
75    },
76    {
77        "BriefDescription": "All branch instructions retired.",
78        "Counter": "0,1,2,3,4,5,6,7",
79        "EventCode": "0xc4",
80        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
81        "PEBS": "1",
82        "PublicDescription": "Counts all branch instructions retired.",
83        "SampleAfterValue": "400009",
84        "Unit": "cpu_core"
85    },
86    {
87        "BriefDescription": "This event is deprecated. Refer to new event BR_INST_RETIRED.NEAR_CALL",
88        "Counter": "0,1,2,3,4,5",
89        "Deprecated": "1",
90        "EventCode": "0xc4",
91        "EventName": "BR_INST_RETIRED.CALL",
92        "PEBS": "1",
93        "SampleAfterValue": "200003",
94        "UMask": "0xf9",
95        "Unit": "cpu_atom"
96    },
97    {
98        "BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructions retired, includes both taken and not taken branches.",
99        "Counter": "0,1,2,3,4,5",
100        "EventCode": "0xc4",
101        "EventName": "BR_INST_RETIRED.COND",
102        "PEBS": "1",
103        "SampleAfterValue": "200003",
104        "UMask": "0x7e",
105        "Unit": "cpu_atom"
106    },
107    {
108        "BriefDescription": "Conditional branch instructions retired.",
109        "Counter": "0,1,2,3,4,5,6,7",
110        "EventCode": "0xc4",
111        "EventName": "BR_INST_RETIRED.COND",
112        "PEBS": "1",
113        "PublicDescription": "Counts conditional branch instructions retired.",
114        "SampleAfterValue": "400009",
115        "UMask": "0x11",
116        "Unit": "cpu_core"
117    },
118    {
119        "BriefDescription": "Not taken branch instructions retired.",
120        "Counter": "0,1,2,3,4,5,6,7",
121        "EventCode": "0xc4",
122        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
123        "PEBS": "1",
124        "PublicDescription": "Counts not taken branch instructions retired.",
125        "SampleAfterValue": "400009",
126        "UMask": "0x10",
127        "Unit": "cpu_core"
128    },
129    {
130        "BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions retired.",
131        "Counter": "0,1,2,3,4,5",
132        "EventCode": "0xc4",
133        "EventName": "BR_INST_RETIRED.COND_TAKEN",
134        "PEBS": "1",
135        "SampleAfterValue": "200003",
136        "UMask": "0xfe",
137        "Unit": "cpu_atom"
138    },
139    {
140        "BriefDescription": "Taken conditional branch instructions retired.",
141        "Counter": "0,1,2,3,4,5,6,7",
142        "EventCode": "0xc4",
143        "EventName": "BR_INST_RETIRED.COND_TAKEN",
144        "PEBS": "1",
145        "PublicDescription": "Counts taken conditional branch instructions retired.",
146        "SampleAfterValue": "400009",
147        "UMask": "0x1",
148        "Unit": "cpu_core"
149    },
150    {
151        "BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far call and return, and interrupt call and return.",
152        "Counter": "0,1,2,3,4,5",
153        "EventCode": "0xc4",
154        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
155        "PEBS": "1",
156        "SampleAfterValue": "200003",
157        "UMask": "0xbf",
158        "Unit": "cpu_atom"
159    },
160    {
161        "BriefDescription": "Far branch instructions retired.",
162        "Counter": "0,1,2,3,4,5,6,7",
163        "EventCode": "0xc4",
164        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
165        "PEBS": "1",
166        "PublicDescription": "Counts far branch instructions retired.",
167        "SampleAfterValue": "100007",
168        "UMask": "0x40",
169        "Unit": "cpu_core"
170    },
171    {
172        "BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instructions retired.",
173        "Counter": "0,1,2,3,4,5",
174        "EventCode": "0xc4",
175        "EventName": "BR_INST_RETIRED.INDIRECT",
176        "PEBS": "1",
177        "SampleAfterValue": "200003",
178        "UMask": "0xeb",
179        "Unit": "cpu_atom"
180    },
181    {
182        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
183        "Counter": "0,1,2,3,4,5,6,7",
184        "EventCode": "0xc4",
185        "EventName": "BR_INST_RETIRED.INDIRECT",
186        "PEBS": "1",
187        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
188        "SampleAfterValue": "100003",
189        "UMask": "0x80",
190        "Unit": "cpu_core"
191    },
192    {
193        "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.",
194        "Counter": "0,1,2,3,4,5",
195        "EventCode": "0xc4",
196        "EventName": "BR_INST_RETIRED.INDIRECT_CALL",
197        "PEBS": "1",
198        "SampleAfterValue": "200003",
199        "UMask": "0xfb",
200        "Unit": "cpu_atom"
201    },
202    {
203        "BriefDescription": "This event is deprecated. Refer to new event BR_INST_RETIRED.INDIRECT_CALL",
204        "Counter": "0,1,2,3,4,5",
205        "Deprecated": "1",
206        "EventCode": "0xc4",
207        "EventName": "BR_INST_RETIRED.IND_CALL",
208        "PEBS": "1",
209        "SampleAfterValue": "200003",
210        "UMask": "0xfb",
211        "Unit": "cpu_atom"
212    },
213    {
214        "BriefDescription": "This event is deprecated. Refer to new event BR_INST_RETIRED.COND",
215        "Counter": "0,1,2,3,4,5",
216        "Deprecated": "1",
217        "EventCode": "0xc4",
218        "EventName": "BR_INST_RETIRED.JCC",
219        "PEBS": "1",
220        "SampleAfterValue": "200003",
221        "UMask": "0x7e",
222        "Unit": "cpu_atom"
223    },
224    {
225        "BriefDescription": "Counts the number of near CALL branch instructions retired.",
226        "Counter": "0,1,2,3,4,5",
227        "EventCode": "0xc4",
228        "EventName": "BR_INST_RETIRED.NEAR_CALL",
229        "PEBS": "1",
230        "SampleAfterValue": "200003",
231        "UMask": "0xf9",
232        "Unit": "cpu_atom"
233    },
234    {
235        "BriefDescription": "Direct and indirect near call instructions retired.",
236        "Counter": "0,1,2,3,4,5,6,7",
237        "EventCode": "0xc4",
238        "EventName": "BR_INST_RETIRED.NEAR_CALL",
239        "PEBS": "1",
240        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
241        "SampleAfterValue": "100007",
242        "UMask": "0x2",
243        "Unit": "cpu_core"
244    },
245    {
246        "BriefDescription": "Counts the number of near RET branch instructions retired.",
247        "Counter": "0,1,2,3,4,5",
248        "EventCode": "0xc4",
249        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
250        "PEBS": "1",
251        "SampleAfterValue": "200003",
252        "UMask": "0xf7",
253        "Unit": "cpu_atom"
254    },
255    {
256        "BriefDescription": "Return instructions retired.",
257        "Counter": "0,1,2,3,4,5,6,7",
258        "EventCode": "0xc4",
259        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
260        "PEBS": "1",
261        "PublicDescription": "Counts return instructions retired.",
262        "SampleAfterValue": "100007",
263        "UMask": "0x8",
264        "Unit": "cpu_core"
265    },
266    {
267        "BriefDescription": "Counts the number of near taken branch instructions retired.",
268        "Counter": "0,1,2,3,4,5",
269        "EventCode": "0xc4",
270        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
271        "PEBS": "1",
272        "SampleAfterValue": "200003",
273        "UMask": "0xc0",
274        "Unit": "cpu_atom"
275    },
276    {
277        "BriefDescription": "Taken branch instructions retired.",
278        "Counter": "0,1,2,3,4,5,6,7",
279        "EventCode": "0xc4",
280        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
281        "PEBS": "1",
282        "PublicDescription": "Counts taken branch instructions retired.",
283        "SampleAfterValue": "400009",
284        "UMask": "0x20",
285        "Unit": "cpu_core"
286    },
287    {
288        "BriefDescription": "This event is deprecated. Refer to new event BR_INST_RETIRED.INDIRECT",
289        "Counter": "0,1,2,3,4,5",
290        "Deprecated": "1",
291        "EventCode": "0xc4",
292        "EventName": "BR_INST_RETIRED.NON_RETURN_IND",
293        "PEBS": "1",
294        "SampleAfterValue": "200003",
295        "UMask": "0xeb",
296        "Unit": "cpu_atom"
297    },
298    {
299        "BriefDescription": "Counts the number of near relative CALL branch instructions retired.",
300        "Counter": "0,1,2,3,4,5",
301        "EventCode": "0xc4",
302        "EventName": "BR_INST_RETIRED.REL_CALL",
303        "PEBS": "1",
304        "SampleAfterValue": "200003",
305        "UMask": "0xfd",
306        "Unit": "cpu_atom"
307    },
308    {
309        "BriefDescription": "This event is deprecated. Refer to new event BR_INST_RETIRED.NEAR_RETURN",
310        "Counter": "0,1,2,3,4,5",
311        "Deprecated": "1",
312        "EventCode": "0xc4",
313        "EventName": "BR_INST_RETIRED.RETURN",
314        "PEBS": "1",
315        "SampleAfterValue": "200003",
316        "UMask": "0xf7",
317        "Unit": "cpu_atom"
318    },
319    {
320        "BriefDescription": "This event is deprecated. Refer to new event BR_INST_RETIRED.COND_TAKEN",
321        "Counter": "0,1,2,3,4,5",
322        "Deprecated": "1",
323        "EventCode": "0xc4",
324        "EventName": "BR_INST_RETIRED.TAKEN_JCC",
325        "PEBS": "1",
326        "SampleAfterValue": "200003",
327        "UMask": "0xfe",
328        "Unit": "cpu_atom"
329    },
330    {
331        "BriefDescription": "Counts the total number of mispredicted branch instructions retired for all branch types.",
332        "Counter": "0,1,2,3,4,5",
333        "EventCode": "0xc5",
334        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
335        "PEBS": "1",
336        "PublicDescription": "Counts the total number of mispredicted branch instructions retired.  All branch type instructions are accounted for.  Prediction of the branch target address enables the processor to begin executing instructions before the non-speculative execution path is known. The branch prediction unit (BPU) predicts the target address based on the instruction pointer (IP) of the branch and on the execution path through which execution reached this IP.    A branch misprediction occurs when the prediction is wrong, and results in discarding all instructions executed in the speculative path and re-fetching from the correct path.",
337        "SampleAfterValue": "200003",
338        "Unit": "cpu_atom"
339    },
340    {
341        "BriefDescription": "All mispredicted branch instructions retired.",
342        "Counter": "0,1,2,3,4,5,6,7",
343        "EventCode": "0xc5",
344        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
345        "PEBS": "1",
346        "PublicDescription": "Counts all the retired branch instructions that were mispredicted by the processor. A branch misprediction occurs when the processor incorrectly predicts the destination of the branch.  When the misprediction is discovered at execution, all the instructions executed in the wrong (speculative) path must be discarded, and the processor must start fetching from the correct path.",
347        "SampleAfterValue": "400009",
348        "Unit": "cpu_core"
349    },
350    {
351        "BriefDescription": "Counts the number of mispredicted JCC (Jump on Conditional Code) branch instructions retired.",
352        "Counter": "0,1,2,3,4,5",
353        "EventCode": "0xc5",
354        "EventName": "BR_MISP_RETIRED.COND",
355        "PEBS": "1",
356        "SampleAfterValue": "200003",
357        "UMask": "0x7e",
358        "Unit": "cpu_atom"
359    },
360    {
361        "BriefDescription": "Mispredicted conditional branch instructions retired.",
362        "Counter": "0,1,2,3,4,5,6,7",
363        "EventCode": "0xc5",
364        "EventName": "BR_MISP_RETIRED.COND",
365        "PEBS": "1",
366        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
367        "SampleAfterValue": "400009",
368        "UMask": "0x11",
369        "Unit": "cpu_core"
370    },
371    {
372        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
373        "Counter": "0,1,2,3,4,5,6,7",
374        "EventCode": "0xc5",
375        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
376        "PEBS": "1",
377        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
378        "SampleAfterValue": "400009",
379        "UMask": "0x10",
380        "Unit": "cpu_core"
381    },
382    {
383        "BriefDescription": "Counts the number of mispredicted taken JCC (Jump on Conditional Code) branch instructions retired.",
384        "Counter": "0,1,2,3,4,5",
385        "EventCode": "0xc5",
386        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
387        "PEBS": "1",
388        "SampleAfterValue": "200003",
389        "UMask": "0xfe",
390        "Unit": "cpu_atom"
391    },
392    {
393        "BriefDescription": "number of branch instructions retired that were mispredicted and taken.",
394        "Counter": "0,1,2,3,4,5,6,7",
395        "EventCode": "0xc5",
396        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
397        "PEBS": "1",
398        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
399        "SampleAfterValue": "400009",
400        "UMask": "0x1",
401        "Unit": "cpu_core"
402    },
403    {
404        "BriefDescription": "Counts the number of mispredicted near indirect JMP and near indirect CALL branch instructions retired.",
405        "Counter": "0,1,2,3,4,5",
406        "EventCode": "0xc5",
407        "EventName": "BR_MISP_RETIRED.INDIRECT",
408        "PEBS": "1",
409        "SampleAfterValue": "200003",
410        "UMask": "0xeb",
411        "Unit": "cpu_atom"
412    },
413    {
414        "BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)",
415        "Counter": "0,1,2,3,4,5,6,7",
416        "EventCode": "0xc5",
417        "EventName": "BR_MISP_RETIRED.INDIRECT",
418        "PEBS": "1",
419        "PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
420        "SampleAfterValue": "100003",
421        "UMask": "0x80",
422        "Unit": "cpu_core"
423    },
424    {
425        "BriefDescription": "Counts the number of mispredicted near indirect CALL branch instructions retired.",
426        "Counter": "0,1,2,3,4,5",
427        "EventCode": "0xc5",
428        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
429        "PEBS": "1",
430        "SampleAfterValue": "200003",
431        "UMask": "0xfb",
432        "Unit": "cpu_atom"
433    },
434    {
435        "BriefDescription": "Mispredicted indirect CALL retired.",
436        "Counter": "0,1,2,3,4,5,6,7",
437        "EventCode": "0xc5",
438        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
439        "PEBS": "1",
440        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
441        "SampleAfterValue": "400009",
442        "UMask": "0x2",
443        "Unit": "cpu_core"
444    },
445    {
446        "BriefDescription": "This event is deprecated. Refer to new event BR_MISP_RETIRED.INDIRECT_CALL",
447        "Counter": "0,1,2,3,4,5",
448        "Deprecated": "1",
449        "EventCode": "0xc5",
450        "EventName": "BR_MISP_RETIRED.IND_CALL",
451        "PEBS": "1",
452        "SampleAfterValue": "200003",
453        "UMask": "0xfb",
454        "Unit": "cpu_atom"
455    },
456    {
457        "BriefDescription": "This event is deprecated. Refer to new event BR_MISP_RETIRED.COND",
458        "Counter": "0,1,2,3,4,5",
459        "Deprecated": "1",
460        "EventCode": "0xc5",
461        "EventName": "BR_MISP_RETIRED.JCC",
462        "PEBS": "1",
463        "SampleAfterValue": "200003",
464        "UMask": "0x7e",
465        "Unit": "cpu_atom"
466    },
467    {
468        "BriefDescription": "Counts the number of mispredicted near taken branch instructions retired.",
469        "Counter": "0,1,2,3,4,5",
470        "EventCode": "0xc5",
471        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
472        "PEBS": "1",
473        "SampleAfterValue": "200003",
474        "UMask": "0x80",
475        "Unit": "cpu_atom"
476    },
477    {
478        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
479        "Counter": "0,1,2,3,4,5,6,7",
480        "EventCode": "0xc5",
481        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
482        "PEBS": "1",
483        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
484        "SampleAfterValue": "400009",
485        "UMask": "0x20",
486        "Unit": "cpu_core"
487    },
488    {
489        "BriefDescription": "This event is deprecated. Refer to new event BR_MISP_RETIRED.INDIRECT",
490        "Counter": "0,1,2,3,4,5",
491        "Deprecated": "1",
492        "EventCode": "0xc5",
493        "EventName": "BR_MISP_RETIRED.NON_RETURN_IND",
494        "PEBS": "1",
495        "SampleAfterValue": "200003",
496        "UMask": "0xeb",
497        "Unit": "cpu_atom"
498    },
499    {
500        "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
501        "Counter": "0,1,2,3,4,5,6,7",
502        "EventCode": "0xc5",
503        "EventName": "BR_MISP_RETIRED.RET",
504        "PEBS": "1",
505        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.",
506        "SampleAfterValue": "100007",
507        "UMask": "0x8",
508        "Unit": "cpu_core"
509    },
510    {
511        "BriefDescription": "Counts the number of mispredicted near RET branch instructions retired.",
512        "Counter": "0,1,2,3,4,5",
513        "EventCode": "0xc5",
514        "EventName": "BR_MISP_RETIRED.RETURN",
515        "PEBS": "1",
516        "SampleAfterValue": "200003",
517        "UMask": "0xf7",
518        "Unit": "cpu_atom"
519    },
520    {
521        "BriefDescription": "This event is deprecated. Refer to new event BR_MISP_RETIRED.COND_TAKEN",
522        "Counter": "0,1,2,3,4,5",
523        "Deprecated": "1",
524        "EventCode": "0xc5",
525        "EventName": "BR_MISP_RETIRED.TAKEN_JCC",
526        "PEBS": "1",
527        "SampleAfterValue": "200003",
528        "UMask": "0xfe",
529        "Unit": "cpu_atom"
530    },
531    {
532        "BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time but more power saving optimized state.",
533        "Counter": "0,1,2,3,4,5,6,7",
534        "EventCode": "0xec",
535        "EventName": "CPU_CLK_UNHALTED.C01",
536        "PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup time but more power saving optimized state.  This state can be entered via the TPAUSE or UMWAIT instructions.",
537        "SampleAfterValue": "2000003",
538        "UMask": "0x10",
539        "Unit": "cpu_core"
540    },
541    {
542        "BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time but less power saving optimized state.",
543        "Counter": "0,1,2,3,4,5,6,7",
544        "EventCode": "0xec",
545        "EventName": "CPU_CLK_UNHALTED.C02",
546        "PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup time but less power saving optimized state.  This state can be entered via the TPAUSE or UMWAIT instructions.",
547        "SampleAfterValue": "2000003",
548        "UMask": "0x20",
549        "Unit": "cpu_core"
550    },
551    {
552        "BriefDescription": "Core clocks when the thread is in the C0.1 or C0.2 or running a PAUSE in C0 ACPI state.",
553        "Counter": "0,1,2,3,4,5,6,7",
554        "EventCode": "0xec",
555        "EventName": "CPU_CLK_UNHALTED.C0_WAIT",
556        "PublicDescription": "Counts core clocks when the thread is in the C0.1 or C0.2 power saving optimized states (TPAUSE or UMWAIT instructions) or running the PAUSE instruction.",
557        "SampleAfterValue": "2000003",
558        "UMask": "0x70",
559        "Unit": "cpu_core"
560    },
561    {
562        "BriefDescription": "Counts the number of unhalted core clock cycles. (Fixed event)",
563        "Counter": "Fixed counter 1",
564        "EventName": "CPU_CLK_UNHALTED.CORE",
565        "PublicDescription": "Counts the number of core cycles while the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. The core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time. This event uses fixed counter 1.",
566        "SampleAfterValue": "2000003",
567        "UMask": "0x2",
568        "Unit": "cpu_atom"
569    },
570    {
571        "BriefDescription": "Counts the number of unhalted core clock cycles.",
572        "Counter": "0,1,2,3,4,5",
573        "EventCode": "0x3c",
574        "EventName": "CPU_CLK_UNHALTED.CORE_P",
575        "PublicDescription": "Counts the number of core cycles while the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. The core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time. This event uses a programmable general purpose performance counter.",
576        "SampleAfterValue": "2000003",
577        "Unit": "cpu_atom"
578    },
579    {
580        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
581        "Counter": "0,1,2,3,4,5,6,7",
582        "EventCode": "0xec",
583        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
584        "PublicDescription": "This event distributes cycle counts between active hyperthreads, i.e., those in C0.  A hyperthread becomes inactive when it executes the HLT or MWAIT instructions.  If all other hyperthreads are inactive (or disabled or do not exist), all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.",
585        "SampleAfterValue": "2000003",
586        "UMask": "0x2",
587        "Unit": "cpu_core"
588    },
589    {
590        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
591        "Counter": "0,1,2,3,4,5,6,7",
592        "EventCode": "0x3c",
593        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
594        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
595        "SampleAfterValue": "25003",
596        "UMask": "0x2",
597        "Unit": "cpu_core"
598    },
599    {
600        "BriefDescription": "CPU_CLK_UNHALTED.PAUSE",
601        "Counter": "0,1,2,3,4,5,6,7",
602        "EventCode": "0xec",
603        "EventName": "CPU_CLK_UNHALTED.PAUSE",
604        "SampleAfterValue": "2000003",
605        "UMask": "0x40",
606        "Unit": "cpu_core"
607    },
608    {
609        "BriefDescription": "CPU_CLK_UNHALTED.PAUSE_INST",
610        "Counter": "0,1,2,3,4,5,6,7",
611        "CounterMask": "1",
612        "EdgeDetect": "1",
613        "EventCode": "0xec",
614        "EventName": "CPU_CLK_UNHALTED.PAUSE_INST",
615        "SampleAfterValue": "2000003",
616        "UMask": "0x40",
617        "Unit": "cpu_core"
618    },
619    {
620        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
621        "Counter": "0,1,2,3,4,5,6,7",
622        "EventCode": "0x3c",
623        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
624        "PublicDescription": "This event distributes Core crystal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread becomes inactive when it executes the HLT or MWAIT instructions. If one thread is active in a core, all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.",
625        "SampleAfterValue": "2000003",
626        "UMask": "0x8",
627        "Unit": "cpu_core"
628    },
629    {
630        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency. (Fixed event)",
631        "Counter": "Fixed counter 2",
632        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
633        "PublicDescription": "Counts the number of reference cycles that the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. This event is not affected by core frequency changes and increments at a fixed frequency that is also used for the Time Stamp Counter (TSC). This event uses fixed counter 2.",
634        "SampleAfterValue": "2000003",
635        "UMask": "0x3",
636        "Unit": "cpu_atom"
637    },
638    {
639        "BriefDescription": "Reference cycles when the core is not in halt state.",
640        "Counter": "Fixed counter 2",
641        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
642        "PublicDescription": "Counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events. Note: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'.  The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'.  After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.",
643        "SampleAfterValue": "2000003",
644        "UMask": "0x3",
645        "Unit": "cpu_core"
646    },
647    {
648        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency.",
649        "Counter": "0,1,2,3,4,5",
650        "EventCode": "0x3c",
651        "EventName": "CPU_CLK_UNHALTED.REF_TSC_P",
652        "PublicDescription": "Counts the number of reference cycles that the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. This event is not affected by core frequency changes and increments at a fixed frequency that is also used for the Time Stamp Counter (TSC). This event uses a programmable general purpose performance counter.",
653        "SampleAfterValue": "2000003",
654        "UMask": "0x1",
655        "Unit": "cpu_atom"
656    },
657    {
658        "BriefDescription": "Reference cycles when the core is not in halt state.",
659        "Counter": "0,1,2,3,4,5,6,7",
660        "EventCode": "0x3c",
661        "EventName": "CPU_CLK_UNHALTED.REF_TSC_P",
662        "PublicDescription": "Counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. Note: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'.  The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'.  After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.",
663        "SampleAfterValue": "2000003",
664        "UMask": "0x1",
665        "Unit": "cpu_core"
666    },
667    {
668        "BriefDescription": "Counts the number of unhalted core clock cycles. (Fixed event)",
669        "Counter": "Fixed counter 1",
670        "EventName": "CPU_CLK_UNHALTED.THREAD",
671        "PublicDescription": "Counts the number of core cycles while the core is not in a halt state.  The core enters the halt state when it is running the HLT instruction. The core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time.  This event uses fixed counter 1.",
672        "SampleAfterValue": "2000003",
673        "UMask": "0x2",
674        "Unit": "cpu_atom"
675    },
676    {
677        "BriefDescription": "Core cycles when the thread is not in halt state",
678        "Counter": "Fixed counter 1",
679        "EventName": "CPU_CLK_UNHALTED.THREAD",
680        "PublicDescription": "Counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events.",
681        "SampleAfterValue": "2000003",
682        "UMask": "0x2",
683        "Unit": "cpu_core"
684    },
685    {
686        "BriefDescription": "Counts the number of unhalted core clock cycles.",
687        "Counter": "0,1,2,3,4,5",
688        "EventCode": "0x3c",
689        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
690        "PublicDescription": "Counts the number of core cycles while the core is not in a halt state.  The core enters the halt state when it is running the HLT instruction. The core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time. This event uses a programmable general purpose performance counter.",
691        "SampleAfterValue": "2000003",
692        "Unit": "cpu_atom"
693    },
694    {
695        "BriefDescription": "Thread cycles when thread is not in halt state",
696        "Counter": "0,1,2,3,4,5,6,7",
697        "EventCode": "0x3c",
698        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
699        "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.",
700        "SampleAfterValue": "2000003",
701        "Unit": "cpu_core"
702    },
703    {
704        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
705        "Counter": "0,1,2,3",
706        "CounterMask": "8",
707        "EventCode": "0xa3",
708        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
709        "SampleAfterValue": "1000003",
710        "UMask": "0x8",
711        "Unit": "cpu_core"
712    },
713    {
714        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
715        "Counter": "0,1,2,3",
716        "CounterMask": "1",
717        "EventCode": "0xa3",
718        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
719        "SampleAfterValue": "1000003",
720        "UMask": "0x1",
721        "Unit": "cpu_core"
722    },
723    {
724        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
725        "Counter": "0,1,2,3,4,5,6,7",
726        "CounterMask": "16",
727        "EventCode": "0xa3",
728        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
729        "SampleAfterValue": "1000003",
730        "UMask": "0x10",
731        "Unit": "cpu_core"
732    },
733    {
734        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
735        "Counter": "0,1,2,3",
736        "CounterMask": "12",
737        "EventCode": "0xa3",
738        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
739        "SampleAfterValue": "1000003",
740        "UMask": "0xc",
741        "Unit": "cpu_core"
742    },
743    {
744        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
745        "Counter": "0,1,2,3",
746        "CounterMask": "5",
747        "EventCode": "0xa3",
748        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
749        "SampleAfterValue": "1000003",
750        "UMask": "0x5",
751        "Unit": "cpu_core"
752    },
753    {
754        "BriefDescription": "Total execution stalls.",
755        "Counter": "0,1,2,3,4,5,6,7",
756        "CounterMask": "4",
757        "EventCode": "0xa3",
758        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
759        "SampleAfterValue": "1000003",
760        "UMask": "0x4",
761        "Unit": "cpu_core"
762    },
763    {
764        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
765        "Counter": "0,1,2,3,4,5,6,7",
766        "EventCode": "0xa6",
767        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
768        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
769        "SampleAfterValue": "2000003",
770        "UMask": "0x2",
771        "Unit": "cpu_core"
772    },
773    {
774        "BriefDescription": "Cycles total of 2 or 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
775        "Counter": "0,1,2,3,4,5,6,7",
776        "EventCode": "0xa6",
777        "EventName": "EXE_ACTIVITY.2_3_PORTS_UTIL",
778        "SampleAfterValue": "2000003",
779        "UMask": "0xc",
780        "Unit": "cpu_core"
781    },
782    {
783        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
784        "Counter": "0,1,2,3,4,5,6,7",
785        "EventCode": "0xa6",
786        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
787        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
788        "SampleAfterValue": "2000003",
789        "UMask": "0x4",
790        "Unit": "cpu_core"
791    },
792    {
793        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
794        "Counter": "0,1,2,3,4,5,6,7",
795        "EventCode": "0xa6",
796        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
797        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
798        "SampleAfterValue": "2000003",
799        "UMask": "0x8",
800        "Unit": "cpu_core"
801    },
802    {
803        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
804        "Counter": "0,1,2,3,4,5,6,7",
805        "EventCode": "0xa6",
806        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
807        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
808        "SampleAfterValue": "2000003",
809        "UMask": "0x10",
810        "Unit": "cpu_core"
811    },
812    {
813        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
814        "Counter": "0,1,2,3,4,5,6,7",
815        "CounterMask": "5",
816        "EventCode": "0xa6",
817        "EventName": "EXE_ACTIVITY.BOUND_ON_LOADS",
818        "SampleAfterValue": "2000003",
819        "UMask": "0x21",
820        "Unit": "cpu_core"
821    },
822    {
823        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
824        "Counter": "0,1,2,3,4,5,6,7",
825        "CounterMask": "2",
826        "EventCode": "0xa6",
827        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
828        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
829        "SampleAfterValue": "1000003",
830        "UMask": "0x40",
831        "Unit": "cpu_core"
832    },
833    {
834        "BriefDescription": "Cycles no uop executed while RS was not empty, the SB was not full and there was no outstanding load.",
835        "Counter": "0,1,2,3,4,5,6,7",
836        "EventCode": "0xa6",
837        "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS",
838        "PublicDescription": "Number of cycles total of 0 uops executed on all ports, Reservation Station (RS) was not empty, the Store Buffer (SB) was not full and there was no outstanding load.",
839        "SampleAfterValue": "1000003",
840        "UMask": "0x80",
841        "Unit": "cpu_core"
842    },
843    {
844        "BriefDescription": "Instruction decoders utilized in a cycle",
845        "Counter": "0,1,2,3",
846        "EventCode": "0x75",
847        "EventName": "INST_DECODED.DECODERS",
848        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
849        "SampleAfterValue": "2000003",
850        "UMask": "0x1",
851        "Unit": "cpu_core"
852    },
853    {
854        "BriefDescription": "Counts the total number of instructions retired. (Fixed event)",
855        "Counter": "Fixed counter 0",
856        "EventName": "INST_RETIRED.ANY",
857        "PEBS": "1",
858        "PublicDescription": "Counts the total number of instructions that retired. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. This event continues counting during hardware interrupts, traps, and inside interrupt handlers. This event uses fixed counter 0.",
859        "SampleAfterValue": "2000003",
860        "UMask": "0x1",
861        "Unit": "cpu_atom"
862    },
863    {
864        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
865        "Counter": "Fixed counter 0",
866        "EventName": "INST_RETIRED.ANY",
867        "PEBS": "1",
868        "PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.",
869        "SampleAfterValue": "2000003",
870        "UMask": "0x1",
871        "Unit": "cpu_core"
872    },
873    {
874        "BriefDescription": "Counts the total number of instructions retired.",
875        "Counter": "0,1,2,3,4,5",
876        "EventCode": "0xc0",
877        "EventName": "INST_RETIRED.ANY_P",
878        "PEBS": "1",
879        "PublicDescription": "Counts the total number of instructions that retired. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. This event continues counting during hardware interrupts, traps, and inside interrupt handlers. This event uses a programmable general purpose performance counter.",
880        "SampleAfterValue": "2000003",
881        "Unit": "cpu_atom"
882    },
883    {
884        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
885        "Counter": "0,1,2,3,4,5,6,7",
886        "EventCode": "0xc0",
887        "EventName": "INST_RETIRED.ANY_P",
888        "PEBS": "1",
889        "PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.",
890        "SampleAfterValue": "2000003",
891        "Unit": "cpu_core"
892    },
893    {
894        "BriefDescription": "INST_RETIRED.MACRO_FUSED",
895        "Counter": "0,1,2,3,4,5,6,7",
896        "EventCode": "0xc0",
897        "EventName": "INST_RETIRED.MACRO_FUSED",
898        "PEBS": "1",
899        "SampleAfterValue": "2000003",
900        "UMask": "0x10",
901        "Unit": "cpu_core"
902    },
903    {
904        "BriefDescription": "Retired NOP instructions.",
905        "Counter": "0,1,2,3,4,5,6,7",
906        "EventCode": "0xc0",
907        "EventName": "INST_RETIRED.NOP",
908        "PEBS": "1",
909        "PublicDescription": "Counts all retired NOP or ENDBR32/64 instructions",
910        "SampleAfterValue": "2000003",
911        "UMask": "0x2",
912        "Unit": "cpu_core"
913    },
914    {
915        "BriefDescription": "Precise instruction retired with PEBS precise-distribution",
916        "Counter": "Fixed counter 0",
917        "EventName": "INST_RETIRED.PREC_DIST",
918        "PEBS": "1",
919        "PublicDescription": "A version of INST_RETIRED that allows for a precise distribution of samples across instructions retired. It utilizes the Precise Distribution of Instructions Retired (PDIR++) feature to fix bias in how retired instructions get sampled. Use on Fixed Counter 0.",
920        "SampleAfterValue": "2000003",
921        "UMask": "0x1",
922        "Unit": "cpu_core"
923    },
924    {
925        "BriefDescription": "Iterations of Repeat string retired instructions.",
926        "Counter": "0,1,2,3,4,5,6,7",
927        "EventCode": "0xc0",
928        "EventName": "INST_RETIRED.REP_ITERATION",
929        "PEBS": "1",
930        "PublicDescription": "Number of iterations of Repeat (REP) string retired instructions such as MOVS, CMPS, and SCAS. Each has a byte, word, and doubleword version and string instructions can be repeated using a repetition prefix, REP, that allows their architectural execution to be repeated a number of times as specified by the RCX register. Note the number of iterations is implementation-dependent.",
931        "SampleAfterValue": "2000003",
932        "UMask": "0x8",
933        "Unit": "cpu_core"
934    },
935    {
936        "BriefDescription": "Clears speculative count",
937        "Counter": "0,1,2,3,4,5,6,7",
938        "CounterMask": "1",
939        "EdgeDetect": "1",
940        "EventCode": "0xad",
941        "EventName": "INT_MISC.CLEARS_COUNT",
942        "PublicDescription": "Counts the number of speculative clears due to any type of branch misprediction or machine clears",
943        "SampleAfterValue": "500009",
944        "UMask": "0x1",
945        "Unit": "cpu_core"
946    },
947    {
948        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
949        "Counter": "0,1,2,3,4,5,6,7",
950        "EventCode": "0xad",
951        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
952        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
953        "SampleAfterValue": "500009",
954        "UMask": "0x80",
955        "Unit": "cpu_core"
956    },
957    {
958        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
959        "Counter": "0,1,2,3,4,5,6,7",
960        "EventCode": "0xad",
961        "EventName": "INT_MISC.RECOVERY_CYCLES",
962        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
963        "SampleAfterValue": "500009",
964        "UMask": "0x1",
965        "Unit": "cpu_core"
966    },
967    {
968        "BriefDescription": "Bubble cycles of BAClear (Unknown Branch).",
969        "Counter": "0,1,2,3,4,5,6,7",
970        "EventCode": "0xad",
971        "EventName": "INT_MISC.UNKNOWN_BRANCH_CYCLES",
972        "MSRIndex": "0x3F7",
973        "MSRValue": "0x7",
974        "SampleAfterValue": "1000003",
975        "UMask": "0x40",
976        "Unit": "cpu_core"
977    },
978    {
979        "BriefDescription": "TMA slots where uops got dropped",
980        "Counter": "0,1,2,3,4,5,6,7",
981        "EventCode": "0xad",
982        "EventName": "INT_MISC.UOP_DROPPING",
983        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
984        "SampleAfterValue": "1000003",
985        "UMask": "0x10",
986        "Unit": "cpu_core"
987    },
988    {
989        "BriefDescription": "INT_VEC_RETIRED.128BIT",
990        "Counter": "0,1,2,3,4,5,6,7",
991        "EventCode": "0xe7",
992        "EventName": "INT_VEC_RETIRED.128BIT",
993        "SampleAfterValue": "1000003",
994        "UMask": "0x13",
995        "Unit": "cpu_core"
996    },
997    {
998        "BriefDescription": "INT_VEC_RETIRED.256BIT",
999        "Counter": "0,1,2,3,4,5,6,7",
1000        "EventCode": "0xe7",
1001        "EventName": "INT_VEC_RETIRED.256BIT",
1002        "SampleAfterValue": "1000003",
1003        "UMask": "0xac",
1004        "Unit": "cpu_core"
1005    },
1006    {
1007        "BriefDescription": "integer ADD, SUB, SAD 128-bit vector instructions.",
1008        "Counter": "0,1,2,3,4,5,6,7",
1009        "EventCode": "0xe7",
1010        "EventName": "INT_VEC_RETIRED.ADD_128",
1011        "PublicDescription": "Number of retired integer ADD/SUB (regular or horizontal), SAD 128-bit vector instructions.",
1012        "SampleAfterValue": "1000003",
1013        "UMask": "0x3",
1014        "Unit": "cpu_core"
1015    },
1016    {
1017        "BriefDescription": "integer ADD, SUB, SAD 256-bit vector instructions.",
1018        "Counter": "0,1,2,3,4,5,6,7",
1019        "EventCode": "0xe7",
1020        "EventName": "INT_VEC_RETIRED.ADD_256",
1021        "PublicDescription": "Number of retired integer ADD/SUB (regular or horizontal), SAD 256-bit vector instructions.",
1022        "SampleAfterValue": "1000003",
1023        "UMask": "0xc",
1024        "Unit": "cpu_core"
1025    },
1026    {
1027        "BriefDescription": "INT_VEC_RETIRED.MUL_256",
1028        "Counter": "0,1,2,3,4,5,6,7",
1029        "EventCode": "0xe7",
1030        "EventName": "INT_VEC_RETIRED.MUL_256",
1031        "SampleAfterValue": "1000003",
1032        "UMask": "0x80",
1033        "Unit": "cpu_core"
1034    },
1035    {
1036        "BriefDescription": "INT_VEC_RETIRED.SHUFFLES",
1037        "Counter": "0,1,2,3,4,5,6,7",
1038        "EventCode": "0xe7",
1039        "EventName": "INT_VEC_RETIRED.SHUFFLES",
1040        "SampleAfterValue": "1000003",
1041        "UMask": "0x40",
1042        "Unit": "cpu_core"
1043    },
1044    {
1045        "BriefDescription": "INT_VEC_RETIRED.VNNI_128",
1046        "Counter": "0,1,2,3,4,5,6,7",
1047        "EventCode": "0xe7",
1048        "EventName": "INT_VEC_RETIRED.VNNI_128",
1049        "SampleAfterValue": "1000003",
1050        "UMask": "0x10",
1051        "Unit": "cpu_core"
1052    },
1053    {
1054        "BriefDescription": "INT_VEC_RETIRED.VNNI_256",
1055        "Counter": "0,1,2,3,4,5,6,7",
1056        "EventCode": "0xe7",
1057        "EventName": "INT_VEC_RETIRED.VNNI_256",
1058        "SampleAfterValue": "1000003",
1059        "UMask": "0x20",
1060        "Unit": "cpu_core"
1061    },
1062    {
1063        "BriefDescription": "This event is deprecated. Refer to new event LD_BLOCKS.ADDRESS_ALIAS",
1064        "Counter": "0,1,2,3,4,5",
1065        "Deprecated": "1",
1066        "EventCode": "0x03",
1067        "EventName": "LD_BLOCKS.4K_ALIAS",
1068        "PEBS": "1",
1069        "SampleAfterValue": "1000003",
1070        "UMask": "0x4",
1071        "Unit": "cpu_atom"
1072    },
1073    {
1074        "BriefDescription": "Counts the number of retired loads that are blocked because it initially appears to be store forward blocked, but subsequently is shown not to be blocked based on 4K alias check.",
1075        "Counter": "0,1,2,3,4,5",
1076        "EventCode": "0x03",
1077        "EventName": "LD_BLOCKS.ADDRESS_ALIAS",
1078        "PEBS": "1",
1079        "SampleAfterValue": "1000003",
1080        "UMask": "0x4",
1081        "Unit": "cpu_atom"
1082    },
1083    {
1084        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
1085        "Counter": "0,1,2,3",
1086        "EventCode": "0x03",
1087        "EventName": "LD_BLOCKS.ADDRESS_ALIAS",
1088        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies in MOB due to partial compare on address.",
1089        "SampleAfterValue": "100003",
1090        "UMask": "0x4",
1091        "Unit": "cpu_core"
1092    },
1093    {
1094        "BriefDescription": "Counts the number of retired loads that are blocked because its address exactly matches an older store whose data is not ready.",
1095        "Counter": "0,1,2,3,4,5",
1096        "EventCode": "0x03",
1097        "EventName": "LD_BLOCKS.DATA_UNKNOWN",
1098        "PEBS": "1",
1099        "SampleAfterValue": "1000003",
1100        "UMask": "0x1",
1101        "Unit": "cpu_atom"
1102    },
1103    {
1104        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
1105        "Counter": "0,1,2,3",
1106        "EventCode": "0x03",
1107        "EventName": "LD_BLOCKS.NO_SR",
1108        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
1109        "SampleAfterValue": "100003",
1110        "UMask": "0x88",
1111        "Unit": "cpu_core"
1112    },
1113    {
1114        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
1115        "Counter": "0,1,2,3",
1116        "EventCode": "0x03",
1117        "EventName": "LD_BLOCKS.STORE_FORWARD",
1118        "PublicDescription": "Counts the number of times where store forwarding was prevented for a load operation. The most common case is a load blocked due to the address of memory access (partially) overlapping with a preceding uncompleted store. Note: See the table of not supported store forwards in the Optimization Guide.",
1119        "SampleAfterValue": "100003",
1120        "UMask": "0x82",
1121        "Unit": "cpu_core"
1122    },
1123    {
1124        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
1125        "Counter": "0,1,2,3",
1126        "EventCode": "0x4c",
1127        "EventName": "LOAD_HIT_PREFETCH.SWPF",
1128        "PublicDescription": "Counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by ASM (Assembly File) inspection of the nearby instructions.",
1129        "SampleAfterValue": "100003",
1130        "UMask": "0x1",
1131        "Unit": "cpu_core"
1132    },
1133    {
1134        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
1135        "Counter": "0,1,2,3,4,5,6,7",
1136        "CounterMask": "1",
1137        "EventCode": "0xa8",
1138        "EventName": "LSD.CYCLES_ACTIVE",
1139        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
1140        "SampleAfterValue": "2000003",
1141        "UMask": "0x1",
1142        "Unit": "cpu_core"
1143    },
1144    {
1145        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
1146        "Counter": "0,1,2,3,4,5,6,7",
1147        "CounterMask": "6",
1148        "EventCode": "0xa8",
1149        "EventName": "LSD.CYCLES_OK",
1150        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
1151        "SampleAfterValue": "2000003",
1152        "UMask": "0x1",
1153        "Unit": "cpu_core"
1154    },
1155    {
1156        "BriefDescription": "Number of Uops delivered by the LSD.",
1157        "Counter": "0,1,2,3,4,5,6,7",
1158        "EventCode": "0xa8",
1159        "EventName": "LSD.UOPS",
1160        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
1161        "SampleAfterValue": "2000003",
1162        "UMask": "0x1",
1163        "Unit": "cpu_core"
1164    },
1165    {
1166        "BriefDescription": "Number of machine clears (nukes) of any type.",
1167        "Counter": "0,1,2,3,4,5,6,7",
1168        "CounterMask": "1",
1169        "EdgeDetect": "1",
1170        "EventCode": "0xc3",
1171        "EventName": "MACHINE_CLEARS.COUNT",
1172        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
1173        "SampleAfterValue": "100003",
1174        "UMask": "0x1",
1175        "Unit": "cpu_core"
1176    },
1177    {
1178        "BriefDescription": "Counts the number of machine clears due to memory ordering in which an internal load passes an older store within the same CPU.",
1179        "Counter": "0,1,2,3,4,5",
1180        "EventCode": "0xc3",
1181        "EventName": "MACHINE_CLEARS.DISAMBIGUATION",
1182        "SampleAfterValue": "20003",
1183        "UMask": "0x8",
1184        "Unit": "cpu_atom"
1185    },
1186    {
1187        "BriefDescription": "Counts the number of machines clears due to memory renaming.",
1188        "Counter": "0,1,2,3,4,5",
1189        "EventCode": "0xc3",
1190        "EventName": "MACHINE_CLEARS.MRN_NUKE",
1191        "SampleAfterValue": "1000003",
1192        "UMask": "0x80",
1193        "Unit": "cpu_atom"
1194    },
1195    {
1196        "BriefDescription": "Counts the number of machine clears due to a page fault.  Counts both I-Side and D-Side (Loads/Stores) page faults.  A page fault occurs when either the page is not present, or an access violation occurs.",
1197        "Counter": "0,1,2,3,4,5",
1198        "EventCode": "0xc3",
1199        "EventName": "MACHINE_CLEARS.PAGE_FAULT",
1200        "SampleAfterValue": "20003",
1201        "UMask": "0x20",
1202        "Unit": "cpu_atom"
1203    },
1204    {
1205        "BriefDescription": "Counts the number of machine clears that flush the pipeline and restart the machine with the use of microcode due to SMC, MEMORY_ORDERING, FP_ASSISTS, PAGE_FAULT, DISAMBIGUATION, and FPC_VIRTUAL_TRAP.",
1206        "Counter": "0,1,2,3,4,5",
1207        "EventCode": "0xc3",
1208        "EventName": "MACHINE_CLEARS.SLOW",
1209        "SampleAfterValue": "20003",
1210        "UMask": "0x6f",
1211        "Unit": "cpu_atom"
1212    },
1213    {
1214        "BriefDescription": "Counts the number of machine clears due to program modifying data (self modifying code) within 1K of a recently fetched code page.",
1215        "Counter": "0,1,2,3,4,5",
1216        "EventCode": "0xc3",
1217        "EventName": "MACHINE_CLEARS.SMC",
1218        "SampleAfterValue": "20003",
1219        "UMask": "0x1",
1220        "Unit": "cpu_atom"
1221    },
1222    {
1223        "BriefDescription": "Self-modifying code (SMC) detected.",
1224        "Counter": "0,1,2,3,4,5,6,7",
1225        "EventCode": "0xc3",
1226        "EventName": "MACHINE_CLEARS.SMC",
1227        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
1228        "SampleAfterValue": "100003",
1229        "UMask": "0x4",
1230        "Unit": "cpu_core"
1231    },
1232    {
1233        "BriefDescription": "LFENCE instructions retired",
1234        "Counter": "0,1,2,3,4,5,6,7",
1235        "EventCode": "0xe0",
1236        "EventName": "MISC2_RETIRED.LFENCE",
1237        "PublicDescription": "number of LFENCE retired instructions",
1238        "SampleAfterValue": "400009",
1239        "UMask": "0x20",
1240        "Unit": "cpu_core"
1241    },
1242    {
1243        "BriefDescription": "Counts the number of LBR entries recorded. Requires LBRs to be enabled in IA32_LBR_CTL. [This event is alias to LBR_INSERTS.ANY]",
1244        "Counter": "0,1,2,3,4,5",
1245        "EventCode": "0xe4",
1246        "EventName": "MISC_RETIRED.LBR_INSERTS",
1247        "PEBS": "1",
1248        "PublicDescription": "Counts the number of LBR entries recorded. Requires LBRs to be enabled in IA32_LBR_CTL. This event is PDIR on GP0 and NPEBS on all other GPs [This event is alias to LBR_INSERTS.ANY]",
1249        "SampleAfterValue": "1000003",
1250        "UMask": "0x1",
1251        "Unit": "cpu_atom"
1252    },
1253    {
1254        "BriefDescription": "Increments whenever there is an update to the LBR array.",
1255        "Counter": "0,1,2,3,4,5,6,7",
1256        "EventCode": "0xcc",
1257        "EventName": "MISC_RETIRED.LBR_INSERTS",
1258        "PublicDescription": "Increments when an entry is added to the Last Branch Record (LBR) array (or removed from the array in case of RETURNs in call stack mode). The event requires LBR enable via IA32_DEBUGCTL MSR and branch type selection via MSR_LBR_SELECT.",
1259        "SampleAfterValue": "100003",
1260        "UMask": "0x20",
1261        "Unit": "cpu_core"
1262    },
1263    {
1264        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
1265        "Counter": "0,1,2,3,4,5,6,7",
1266        "EventCode": "0xa2",
1267        "EventName": "RESOURCE_STALLS.SB",
1268        "PublicDescription": "Counts allocation stall cycles caused by the store buffer (SB) being full. This counts cycles that the pipeline back-end blocked uop delivery from the front-end.",
1269        "SampleAfterValue": "100003",
1270        "UMask": "0x8",
1271        "Unit": "cpu_core"
1272    },
1273    {
1274        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
1275        "Counter": "0,1,2,3,4,5,6,7",
1276        "EventCode": "0xa2",
1277        "EventName": "RESOURCE_STALLS.SCOREBOARD",
1278        "SampleAfterValue": "100003",
1279        "UMask": "0x2",
1280        "Unit": "cpu_core"
1281    },
1282    {
1283        "BriefDescription": "Counts the number of issue slots not consumed by the backend due to a micro-sequencer (MS) scoreboard, which stalls the front-end from issuing from the UROM until a specified older uop retires.",
1284        "Counter": "0,1,2,3,4,5",
1285        "EventCode": "0x75",
1286        "EventName": "SERIALIZATION.NON_C01_MS_SCB",
1287        "PublicDescription": "Counts the number of issue slots not consumed by the backend due to a micro-sequencer (MS) scoreboard, which stalls the front-end from issuing from the UROM until a specified older uop retires. The most commonly executed instruction with an MS scoreboard is PAUSE.",
1288        "SampleAfterValue": "200003",
1289        "UMask": "0x2",
1290        "Unit": "cpu_atom"
1291    },
1292    {
1293        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
1294        "Counter": "0,1,2,3,4,5,6,7",
1295        "EventCode": "0xa4",
1296        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
1297        "PublicDescription": "Number of slots in TMA method where no micro-operations were being issued from front-end to back-end of the machine due to lack of back-end resources.",
1298        "SampleAfterValue": "10000003",
1299        "UMask": "0x2",
1300        "Unit": "cpu_core"
1301    },
1302    {
1303        "BriefDescription": "TMA slots wasted due to incorrect speculations.",
1304        "Counter": "0",
1305        "EventCode": "0xa4",
1306        "EventName": "TOPDOWN.BAD_SPEC_SLOTS",
1307        "PublicDescription": "Number of slots of TMA method that were wasted due to incorrect speculation. It covers all types of control-flow or data-related mis-speculations.",
1308        "SampleAfterValue": "10000003",
1309        "UMask": "0x4",
1310        "Unit": "cpu_core"
1311    },
1312    {
1313        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
1314        "Counter": "0",
1315        "EventCode": "0xa4",
1316        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
1317        "PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by (any type of) branch mispredictions. This event estimates number of speculative operations that were issued but not retired as well as the out-of-order engine recovery past a branch misprediction.",
1318        "SampleAfterValue": "10000003",
1319        "UMask": "0x8",
1320        "Unit": "cpu_core"
1321    },
1322    {
1323        "BriefDescription": "TOPDOWN.MEMORY_BOUND_SLOTS",
1324        "Counter": "0,1,2,3,4,5,6,7",
1325        "EventCode": "0xa4",
1326        "EventName": "TOPDOWN.MEMORY_BOUND_SLOTS",
1327        "SampleAfterValue": "10000003",
1328        "UMask": "0x10",
1329        "Unit": "cpu_core"
1330    },
1331    {
1332        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
1333        "Counter": "Fixed counter 3",
1334        "EventName": "TOPDOWN.SLOTS",
1335        "PublicDescription": "Number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method (TMA). The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core. Software can use this event as the denominator for the top-level metrics of the TMA method. This architectural event is counted on a designated fixed counter (Fixed Counter 3).",
1336        "SampleAfterValue": "10000003",
1337        "UMask": "0x4",
1338        "Unit": "cpu_core"
1339    },
1340    {
1341        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
1342        "Counter": "0,1,2,3,4,5,6,7",
1343        "EventCode": "0xa4",
1344        "EventName": "TOPDOWN.SLOTS_P",
1345        "PublicDescription": "Counts the number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method. The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core.",
1346        "SampleAfterValue": "10000003",
1347        "UMask": "0x1",
1348        "Unit": "cpu_core"
1349    },
1350    {
1351        "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear.",
1352        "Counter": "0,1,2,3,4,5",
1353        "EventCode": "0x73",
1354        "EventName": "TOPDOWN_BAD_SPECULATION.ALL",
1355        "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window including relevant microcode flows and while uops are not yet available in the instruction queue (IQ) even if an FE_bound event occurs during this period. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear.",
1356        "SampleAfterValue": "1000003",
1357        "Unit": "cpu_atom"
1358    },
1359    {
1360        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to fast nukes such as memory ordering and memory disambiguation machine clears.",
1361        "Counter": "0,1,2,3,4,5",
1362        "EventCode": "0x73",
1363        "EventName": "TOPDOWN_BAD_SPECULATION.FASTNUKE",
1364        "SampleAfterValue": "1000003",
1365        "UMask": "0x2",
1366        "Unit": "cpu_atom"
1367    },
1368    {
1369        "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
1370        "Counter": "0,1,2,3,4,5",
1371        "EventCode": "0x73",
1372        "EventName": "TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS",
1373        "SampleAfterValue": "1000003",
1374        "UMask": "0x3",
1375        "Unit": "cpu_atom"
1376    },
1377    {
1378        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to branch mispredicts.",
1379        "Counter": "0,1,2,3,4,5",
1380        "EventCode": "0x73",
1381        "EventName": "TOPDOWN_BAD_SPECULATION.MISPREDICT",
1382        "SampleAfterValue": "1000003",
1383        "UMask": "0x4",
1384        "Unit": "cpu_atom"
1385    },
1386    {
1387        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to a machine clear (nuke).",
1388        "Counter": "0,1,2,3,4,5",
1389        "EventCode": "0x73",
1390        "EventName": "TOPDOWN_BAD_SPECULATION.NUKE",
1391        "SampleAfterValue": "1000003",
1392        "UMask": "0x1",
1393        "Unit": "cpu_atom"
1394    },
1395    {
1396        "BriefDescription": "Counts the total number of issue slots every cycle that were not consumed by the backend due to backend stalls.",
1397        "Counter": "0,1,2,3,4,5",
1398        "EventCode": "0x74",
1399        "EventName": "TOPDOWN_BE_BOUND.ALL",
1400        "SampleAfterValue": "1000003",
1401        "Unit": "cpu_atom"
1402    },
1403    {
1404        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to certain allocation restrictions.",
1405        "Counter": "0,1,2,3,4,5",
1406        "EventCode": "0x74",
1407        "EventName": "TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS",
1408        "SampleAfterValue": "1000003",
1409        "UMask": "0x1",
1410        "Unit": "cpu_atom"
1411    },
1412    {
1413        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to memory reservation stalls in which a scheduler is not able to accept uops.",
1414        "Counter": "0,1,2,3,4,5",
1415        "EventCode": "0x74",
1416        "EventName": "TOPDOWN_BE_BOUND.MEM_SCHEDULER",
1417        "SampleAfterValue": "1000003",
1418        "UMask": "0x2",
1419        "Unit": "cpu_atom"
1420    },
1421    {
1422        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to IEC or FPC RAT stalls, which can be due to FIQ or IEC reservation stalls in which the integer, floating point or SIMD scheduler is not able to accept uops.",
1423        "Counter": "0,1,2,3,4,5",
1424        "EventCode": "0x74",
1425        "EventName": "TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER",
1426        "SampleAfterValue": "1000003",
1427        "UMask": "0x8",
1428        "Unit": "cpu_atom"
1429    },
1430    {
1431        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to the physical register file unable to accept an entry (marble stalls).",
1432        "Counter": "0,1,2,3,4,5",
1433        "EventCode": "0x74",
1434        "EventName": "TOPDOWN_BE_BOUND.REGISTER",
1435        "SampleAfterValue": "1000003",
1436        "UMask": "0x20",
1437        "Unit": "cpu_atom"
1438    },
1439    {
1440        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to the reorder buffer being full (ROB stalls).",
1441        "Counter": "0,1,2,3,4,5",
1442        "EventCode": "0x74",
1443        "EventName": "TOPDOWN_BE_BOUND.REORDER_BUFFER",
1444        "SampleAfterValue": "1000003",
1445        "UMask": "0x40",
1446        "Unit": "cpu_atom"
1447    },
1448    {
1449        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to scoreboards from the instruction queue (IQ), jump execution unit (JEU), or microcode sequencer (MS).",
1450        "Counter": "0,1,2,3,4,5",
1451        "EventCode": "0x74",
1452        "EventName": "TOPDOWN_BE_BOUND.SERIALIZATION",
1453        "SampleAfterValue": "1000003",
1454        "UMask": "0x10",
1455        "Unit": "cpu_atom"
1456    },
1457    {
1458        "BriefDescription": "Counts the total number of issue slots every cycle that were not consumed by the backend due to frontend stalls.",
1459        "Counter": "0,1,2,3,4,5",
1460        "EventCode": "0x71",
1461        "EventName": "TOPDOWN_FE_BOUND.ALL",
1462        "SampleAfterValue": "1000003",
1463        "Unit": "cpu_atom"
1464    },
1465    {
1466        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to BACLEARS.",
1467        "Counter": "0,1,2,3,4,5",
1468        "EventCode": "0x71",
1469        "EventName": "TOPDOWN_FE_BOUND.BRANCH_DETECT",
1470        "PublicDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
1471        "SampleAfterValue": "1000003",
1472        "UMask": "0x2",
1473        "Unit": "cpu_atom"
1474    },
1475    {
1476        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to BTCLEARS.",
1477        "Counter": "0,1,2,3,4,5",
1478        "EventCode": "0x71",
1479        "EventName": "TOPDOWN_FE_BOUND.BRANCH_RESTEER",
1480        "PublicDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to BTCLEARS, which occurs when the Branch Target Buffer (BTB) predicts a taken branch.",
1481        "SampleAfterValue": "1000003",
1482        "UMask": "0x40",
1483        "Unit": "cpu_atom"
1484    },
1485    {
1486        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to the microcode sequencer (MS).",
1487        "Counter": "0,1,2,3,4,5",
1488        "EventCode": "0x71",
1489        "EventName": "TOPDOWN_FE_BOUND.CISC",
1490        "SampleAfterValue": "1000003",
1491        "UMask": "0x1",
1492        "Unit": "cpu_atom"
1493    },
1494    {
1495        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to decode stalls.",
1496        "Counter": "0,1,2,3,4,5",
1497        "EventCode": "0x71",
1498        "EventName": "TOPDOWN_FE_BOUND.DECODE",
1499        "SampleAfterValue": "1000003",
1500        "UMask": "0x8",
1501        "Unit": "cpu_atom"
1502    },
1503    {
1504        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
1505        "Counter": "0,1,2,3,4,5",
1506        "EventCode": "0x71",
1507        "EventName": "TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH",
1508        "SampleAfterValue": "1000003",
1509        "UMask": "0x8d",
1510        "Unit": "cpu_atom"
1511    },
1512    {
1513        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to a latency related stalls including BACLEARs, BTCLEARs, ITLB misses, and ICache misses.",
1514        "Counter": "0,1,2,3,4,5",
1515        "EventCode": "0x71",
1516        "EventName": "TOPDOWN_FE_BOUND.FRONTEND_LATENCY",
1517        "SampleAfterValue": "1000003",
1518        "UMask": "0x72",
1519        "Unit": "cpu_atom"
1520    },
1521    {
1522        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to ITLB misses.",
1523        "Counter": "0,1,2,3,4,5",
1524        "EventCode": "0x71",
1525        "EventName": "TOPDOWN_FE_BOUND.ITLB",
1526        "PublicDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.",
1527        "SampleAfterValue": "1000003",
1528        "UMask": "0x10",
1529        "Unit": "cpu_atom"
1530    },
1531    {
1532        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to other common frontend stalls not categorized.",
1533        "Counter": "0,1,2,3,4,5",
1534        "EventCode": "0x71",
1535        "EventName": "TOPDOWN_FE_BOUND.OTHER",
1536        "SampleAfterValue": "1000003",
1537        "UMask": "0x80",
1538        "Unit": "cpu_atom"
1539    },
1540    {
1541        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to wrong predecodes.",
1542        "Counter": "0,1,2,3,4,5",
1543        "EventCode": "0x71",
1544        "EventName": "TOPDOWN_FE_BOUND.PREDECODE",
1545        "SampleAfterValue": "1000003",
1546        "UMask": "0x4",
1547        "Unit": "cpu_atom"
1548    },
1549    {
1550        "BriefDescription": "Counts the total number of consumed retirement slots.",
1551        "Counter": "0,1,2,3,4,5",
1552        "EventCode": "0xc2",
1553        "EventName": "TOPDOWN_RETIRING.ALL",
1554        "PEBS": "1",
1555        "SampleAfterValue": "1000003",
1556        "Unit": "cpu_atom"
1557    },
1558    {
1559        "BriefDescription": "UOPS_DECODED.DEC0_UOPS",
1560        "Counter": "0,1,2,3",
1561        "EventCode": "0x76",
1562        "EventName": "UOPS_DECODED.DEC0_UOPS",
1563        "SampleAfterValue": "1000003",
1564        "UMask": "0x1",
1565        "Unit": "cpu_core"
1566    },
1567    {
1568        "BriefDescription": "Uops executed on port 0",
1569        "Counter": "0,1,2,3,4,5,6,7",
1570        "EventCode": "0xb2",
1571        "EventName": "UOPS_DISPATCHED.PORT_0",
1572        "PublicDescription": "Number of uops dispatch to execution  port 0.",
1573        "SampleAfterValue": "2000003",
1574        "UMask": "0x1",
1575        "Unit": "cpu_core"
1576    },
1577    {
1578        "BriefDescription": "Uops executed on port 1",
1579        "Counter": "0,1,2,3,4,5,6,7",
1580        "EventCode": "0xb2",
1581        "EventName": "UOPS_DISPATCHED.PORT_1",
1582        "PublicDescription": "Number of uops dispatch to execution  port 1.",
1583        "SampleAfterValue": "2000003",
1584        "UMask": "0x2",
1585        "Unit": "cpu_core"
1586    },
1587    {
1588        "BriefDescription": "Uops executed on ports 2, 3 and 10",
1589        "Counter": "0,1,2,3,4,5,6,7",
1590        "EventCode": "0xb2",
1591        "EventName": "UOPS_DISPATCHED.PORT_2_3_10",
1592        "PublicDescription": "Number of uops dispatch to execution ports 2, 3 and 10",
1593        "SampleAfterValue": "2000003",
1594        "UMask": "0x4",
1595        "Unit": "cpu_core"
1596    },
1597    {
1598        "BriefDescription": "Uops executed on ports 4 and 9",
1599        "Counter": "0,1,2,3,4,5,6,7",
1600        "EventCode": "0xb2",
1601        "EventName": "UOPS_DISPATCHED.PORT_4_9",
1602        "PublicDescription": "Number of uops dispatch to execution ports 4 and 9",
1603        "SampleAfterValue": "2000003",
1604        "UMask": "0x10",
1605        "Unit": "cpu_core"
1606    },
1607    {
1608        "BriefDescription": "Uops executed on ports 5 and 11",
1609        "Counter": "0,1,2,3,4,5,6,7",
1610        "EventCode": "0xb2",
1611        "EventName": "UOPS_DISPATCHED.PORT_5_11",
1612        "PublicDescription": "Number of uops dispatch to execution ports 5 and 11",
1613        "SampleAfterValue": "2000003",
1614        "UMask": "0x20",
1615        "Unit": "cpu_core"
1616    },
1617    {
1618        "BriefDescription": "Uops executed on port 6",
1619        "Counter": "0,1,2,3,4,5,6,7",
1620        "EventCode": "0xb2",
1621        "EventName": "UOPS_DISPATCHED.PORT_6",
1622        "PublicDescription": "Number of uops dispatch to execution  port 6.",
1623        "SampleAfterValue": "2000003",
1624        "UMask": "0x40",
1625        "Unit": "cpu_core"
1626    },
1627    {
1628        "BriefDescription": "Uops executed on ports 7 and 8",
1629        "Counter": "0,1,2,3,4,5,6,7",
1630        "EventCode": "0xb2",
1631        "EventName": "UOPS_DISPATCHED.PORT_7_8",
1632        "PublicDescription": "Number of uops dispatch to execution  ports 7 and 8.",
1633        "SampleAfterValue": "2000003",
1634        "UMask": "0x80",
1635        "Unit": "cpu_core"
1636    },
1637    {
1638        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
1639        "Counter": "0,1,2,3,4,5,6,7",
1640        "CounterMask": "1",
1641        "EventCode": "0xb1",
1642        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
1643        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
1644        "SampleAfterValue": "2000003",
1645        "UMask": "0x2",
1646        "Unit": "cpu_core"
1647    },
1648    {
1649        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
1650        "Counter": "0,1,2,3,4,5,6,7",
1651        "CounterMask": "2",
1652        "EventCode": "0xb1",
1653        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
1654        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
1655        "SampleAfterValue": "2000003",
1656        "UMask": "0x2",
1657        "Unit": "cpu_core"
1658    },
1659    {
1660        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
1661        "Counter": "0,1,2,3,4,5,6,7",
1662        "CounterMask": "3",
1663        "EventCode": "0xb1",
1664        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
1665        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
1666        "SampleAfterValue": "2000003",
1667        "UMask": "0x2",
1668        "Unit": "cpu_core"
1669    },
1670    {
1671        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
1672        "Counter": "0,1,2,3,4,5,6,7",
1673        "CounterMask": "4",
1674        "EventCode": "0xb1",
1675        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
1676        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
1677        "SampleAfterValue": "2000003",
1678        "UMask": "0x2",
1679        "Unit": "cpu_core"
1680    },
1681    {
1682        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
1683        "Counter": "0,1,2,3,4,5,6,7",
1684        "CounterMask": "1",
1685        "EventCode": "0xb1",
1686        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
1687        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
1688        "SampleAfterValue": "2000003",
1689        "UMask": "0x1",
1690        "Unit": "cpu_core"
1691    },
1692    {
1693        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
1694        "Counter": "0,1,2,3,4,5,6,7",
1695        "CounterMask": "2",
1696        "EventCode": "0xb1",
1697        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
1698        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
1699        "SampleAfterValue": "2000003",
1700        "UMask": "0x1",
1701        "Unit": "cpu_core"
1702    },
1703    {
1704        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
1705        "Counter": "0,1,2,3,4,5,6,7",
1706        "CounterMask": "3",
1707        "EventCode": "0xb1",
1708        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
1709        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
1710        "SampleAfterValue": "2000003",
1711        "UMask": "0x1",
1712        "Unit": "cpu_core"
1713    },
1714    {
1715        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
1716        "Counter": "0,1,2,3,4,5,6,7",
1717        "CounterMask": "4",
1718        "EventCode": "0xb1",
1719        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
1720        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
1721        "SampleAfterValue": "2000003",
1722        "UMask": "0x1",
1723        "Unit": "cpu_core"
1724    },
1725    {
1726        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
1727        "Counter": "0,1,2,3,4,5,6,7",
1728        "CounterMask": "1",
1729        "EventCode": "0xb1",
1730        "EventName": "UOPS_EXECUTED.STALLS",
1731        "Invert": "1",
1732        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
1733        "SampleAfterValue": "2000003",
1734        "UMask": "0x1",
1735        "Unit": "cpu_core"
1736    },
1737    {
1738        "BriefDescription": "This event is deprecated. Refer to new event UOPS_EXECUTED.STALLS",
1739        "Counter": "0,1,2,3,4,5,6,7",
1740        "CounterMask": "1",
1741        "Deprecated": "1",
1742        "EventCode": "0xb1",
1743        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
1744        "Invert": "1",
1745        "SampleAfterValue": "2000003",
1746        "UMask": "0x1",
1747        "Unit": "cpu_core"
1748    },
1749    {
1750        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
1751        "Counter": "0,1,2,3,4,5,6,7",
1752        "EventCode": "0xb1",
1753        "EventName": "UOPS_EXECUTED.THREAD",
1754        "SampleAfterValue": "2000003",
1755        "UMask": "0x1",
1756        "Unit": "cpu_core"
1757    },
1758    {
1759        "BriefDescription": "Counts the number of x87 uops dispatched.",
1760        "Counter": "0,1,2,3,4,5,6,7",
1761        "EventCode": "0xb1",
1762        "EventName": "UOPS_EXECUTED.X87",
1763        "PublicDescription": "Counts the number of x87 uops executed.",
1764        "SampleAfterValue": "2000003",
1765        "UMask": "0x10",
1766        "Unit": "cpu_core"
1767    },
1768    {
1769        "BriefDescription": "Counts the number of uops issued by the front end every cycle.",
1770        "Counter": "0,1,2,3,4,5",
1771        "EventCode": "0x0e",
1772        "EventName": "UOPS_ISSUED.ANY",
1773        "PublicDescription": "Counts the number of uops issued by the front end every cycle. When 4-uops are requested and only 2-uops are delivered, the event counts 2.  Uops_issued correlates to the number of ROB entries.  If uop takes 2 ROB slots it counts as 2 uops_issued.",
1774        "SampleAfterValue": "200003",
1775        "Unit": "cpu_atom"
1776    },
1777    {
1778        "BriefDescription": "Uops that RAT issues to RS",
1779        "Counter": "0,1,2,3,4,5,6,7",
1780        "EventCode": "0xae",
1781        "EventName": "UOPS_ISSUED.ANY",
1782        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
1783        "SampleAfterValue": "2000003",
1784        "UMask": "0x1",
1785        "Unit": "cpu_core"
1786    },
1787    {
1788        "BriefDescription": "UOPS_ISSUED.CYCLES",
1789        "Counter": "0,1,2,3,4,5,6,7",
1790        "CounterMask": "1",
1791        "EventCode": "0xae",
1792        "EventName": "UOPS_ISSUED.CYCLES",
1793        "SampleAfterValue": "2000003",
1794        "UMask": "0x1",
1795        "Unit": "cpu_core"
1796    },
1797    {
1798        "BriefDescription": "Counts the total number of uops retired.",
1799        "Counter": "0,1,2,3,4,5",
1800        "EventCode": "0xc2",
1801        "EventName": "UOPS_RETIRED.ALL",
1802        "PEBS": "1",
1803        "SampleAfterValue": "2000003",
1804        "Unit": "cpu_atom"
1805    },
1806    {
1807        "BriefDescription": "Cycles with retired uop(s).",
1808        "Counter": "0,1,2,3,4,5,6,7",
1809        "CounterMask": "1",
1810        "EventCode": "0xc2",
1811        "EventName": "UOPS_RETIRED.CYCLES",
1812        "PublicDescription": "Counts cycles where at least one uop has retired.",
1813        "SampleAfterValue": "1000003",
1814        "UMask": "0x2",
1815        "Unit": "cpu_core"
1816    },
1817    {
1818        "BriefDescription": "Retired uops except the last uop of each instruction.",
1819        "Counter": "0,1,2,3,4,5,6,7",
1820        "EventCode": "0xc2",
1821        "EventName": "UOPS_RETIRED.HEAVY",
1822        "PublicDescription": "Counts the number of retired micro-operations (uops) except the last uop of each instruction. An instruction that is decoded into less than two uops does not contribute to the count.",
1823        "SampleAfterValue": "2000003",
1824        "UMask": "0x1",
1825        "Unit": "cpu_core"
1826    },
1827    {
1828        "BriefDescription": "Counts the number of integer divide uops retired.",
1829        "Counter": "0,1,2,3,4,5",
1830        "EventCode": "0xc2",
1831        "EventName": "UOPS_RETIRED.IDIV",
1832        "PEBS": "1",
1833        "SampleAfterValue": "2000003",
1834        "UMask": "0x10",
1835        "Unit": "cpu_atom"
1836    },
1837    {
1838        "BriefDescription": "Counts the number of uops that are from complex flows issued by the micro-sequencer (MS).",
1839        "Counter": "0,1,2,3,4,5",
1840        "EventCode": "0xc2",
1841        "EventName": "UOPS_RETIRED.MS",
1842        "PEBS": "1",
1843        "PublicDescription": "Counts the number of uops that are from complex flows issued by the Microcode Sequencer (MS). This includes uops from flows due to complex instructions, faults, assists, and inserted flows.",
1844        "SampleAfterValue": "2000003",
1845        "UMask": "0x1",
1846        "Unit": "cpu_atom"
1847    },
1848    {
1849        "BriefDescription": "UOPS_RETIRED.MS",
1850        "Counter": "0,1,2,3,4,5,6,7",
1851        "EventCode": "0xc2",
1852        "EventName": "UOPS_RETIRED.MS",
1853        "MSRIndex": "0x3F7",
1854        "MSRValue": "0x8",
1855        "SampleAfterValue": "2000003",
1856        "UMask": "0x4",
1857        "Unit": "cpu_core"
1858    },
1859    {
1860        "BriefDescription": "Retirement slots used.",
1861        "Counter": "0,1,2,3,4,5,6,7",
1862        "EventCode": "0xc2",
1863        "EventName": "UOPS_RETIRED.SLOTS",
1864        "PublicDescription": "Counts the retirement slots used each cycle.",
1865        "SampleAfterValue": "2000003",
1866        "UMask": "0x2",
1867        "Unit": "cpu_core"
1868    },
1869    {
1870        "BriefDescription": "Cycles without actually retired uops.",
1871        "Counter": "0,1,2,3,4,5,6,7",
1872        "CounterMask": "1",
1873        "EventCode": "0xc2",
1874        "EventName": "UOPS_RETIRED.STALLS",
1875        "Invert": "1",
1876        "PublicDescription": "This event counts cycles without actually retired uops.",
1877        "SampleAfterValue": "1000003",
1878        "UMask": "0x2",
1879        "Unit": "cpu_core"
1880    },
1881    {
1882        "BriefDescription": "This event is deprecated. Refer to new event UOPS_RETIRED.STALLS",
1883        "Counter": "0,1,2,3,4,5,6,7",
1884        "CounterMask": "1",
1885        "Deprecated": "1",
1886        "EventCode": "0xc2",
1887        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1888        "Invert": "1",
1889        "SampleAfterValue": "1000003",
1890        "UMask": "0x2",
1891        "Unit": "cpu_core"
1892    },
1893    {
1894        "BriefDescription": "Counts the number of x87 uops retired, includes those in MS flows.",
1895        "Counter": "0,1,2,3,4,5",
1896        "EventCode": "0xc2",
1897        "EventName": "UOPS_RETIRED.X87",
1898        "PEBS": "1",
1899        "SampleAfterValue": "2000003",
1900        "UMask": "0x2",
1901        "Unit": "cpu_atom"
1902    }
1903]
1904