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