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