1[
2    {
3        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
4        "CounterMask": "1",
5        "EventCode": "0x14",
6        "EventName": "ARITH.DIVIDER_ACTIVE",
7        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
8        "SampleAfterValue": "1000003",
9        "UMask": "0x9"
10    },
11    {
12        "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.",
13        "EventCode": "0xc1",
14        "EventName": "ASSISTS.ANY",
15        "PublicDescription": "Counts the number of occurrences where a microcode assist is invoked by hardware Examples include AD (page Access Dirty), FP and AVX related assists.",
16        "SampleAfterValue": "100003",
17        "UMask": "0x7"
18    },
19    {
20        "BriefDescription": "All branch instructions retired.",
21        "EventCode": "0xc4",
22        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
23        "PEBS": "1",
24        "PublicDescription": "Counts all branch instructions retired.",
25        "SampleAfterValue": "400009"
26    },
27    {
28        "BriefDescription": "Conditional branch instructions retired.",
29        "EventCode": "0xc4",
30        "EventName": "BR_INST_RETIRED.COND",
31        "PEBS": "1",
32        "PublicDescription": "Counts conditional branch instructions retired.",
33        "SampleAfterValue": "400009",
34        "UMask": "0x11"
35    },
36    {
37        "BriefDescription": "Not taken branch instructions retired.",
38        "EventCode": "0xc4",
39        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
40        "PEBS": "1",
41        "PublicDescription": "Counts not taken branch instructions retired.",
42        "SampleAfterValue": "400009",
43        "UMask": "0x10"
44    },
45    {
46        "BriefDescription": "Taken conditional branch instructions retired.",
47        "EventCode": "0xc4",
48        "EventName": "BR_INST_RETIRED.COND_TAKEN",
49        "PEBS": "1",
50        "PublicDescription": "Counts taken conditional branch instructions retired.",
51        "SampleAfterValue": "400009",
52        "UMask": "0x1"
53    },
54    {
55        "BriefDescription": "Far branch instructions retired.",
56        "EventCode": "0xc4",
57        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
58        "PEBS": "1",
59        "PublicDescription": "Counts far branch instructions retired.",
60        "SampleAfterValue": "100007",
61        "UMask": "0x40"
62    },
63    {
64        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
65        "EventCode": "0xc4",
66        "EventName": "BR_INST_RETIRED.INDIRECT",
67        "PEBS": "1",
68        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
69        "SampleAfterValue": "100003",
70        "UMask": "0x80"
71    },
72    {
73        "BriefDescription": "Direct and indirect near call instructions retired.",
74        "EventCode": "0xc4",
75        "EventName": "BR_INST_RETIRED.NEAR_CALL",
76        "PEBS": "1",
77        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
78        "SampleAfterValue": "100007",
79        "UMask": "0x2"
80    },
81    {
82        "BriefDescription": "Return instructions retired.",
83        "EventCode": "0xc4",
84        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
85        "PEBS": "1",
86        "PublicDescription": "Counts return instructions retired.",
87        "SampleAfterValue": "100007",
88        "UMask": "0x8"
89    },
90    {
91        "BriefDescription": "Taken branch instructions retired.",
92        "EventCode": "0xc4",
93        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
94        "PEBS": "1",
95        "PublicDescription": "Counts taken branch instructions retired.",
96        "SampleAfterValue": "400009",
97        "UMask": "0x20"
98    },
99    {
100        "BriefDescription": "All mispredicted branch instructions retired.",
101        "EventCode": "0xc5",
102        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
103        "PEBS": "1",
104        "PublicDescription": "Counts all the retired branch instructions that were mispredicted by the processor. A branch misprediction occurs when the processor incorrectly predicts the destination of the branch.  When the misprediction is discovered at execution, all the instructions executed in the wrong (speculative) path must be discarded, and the processor must start fetching from the correct path.",
105        "SampleAfterValue": "50021"
106    },
107    {
108        "BriefDescription": "Mispredicted conditional branch instructions retired.",
109        "EventCode": "0xc5",
110        "EventName": "BR_MISP_RETIRED.COND",
111        "PEBS": "1",
112        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
113        "SampleAfterValue": "50021",
114        "UMask": "0x11"
115    },
116    {
117        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
118        "EventCode": "0xc5",
119        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
120        "PEBS": "1",
121        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
122        "SampleAfterValue": "50021",
123        "UMask": "0x10"
124    },
125    {
126        "BriefDescription": "number of branch instructions retired that were mispredicted and taken.",
127        "EventCode": "0xc5",
128        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
129        "PEBS": "1",
130        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
131        "SampleAfterValue": "50021",
132        "UMask": "0x1"
133    },
134    {
135        "BriefDescription": "All miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
136        "EventCode": "0xc5",
137        "EventName": "BR_MISP_RETIRED.INDIRECT",
138        "PEBS": "1",
139        "PublicDescription": "Counts all miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
140        "SampleAfterValue": "50021",
141        "UMask": "0x80"
142    },
143    {
144        "BriefDescription": "Mispredicted indirect CALL instructions retired.",
145        "EventCode": "0xc5",
146        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
147        "PEBS": "1",
148        "PublicDescription": "Counts retired mispredicted indirect (near taken) calls, including both register and memory indirect.",
149        "SampleAfterValue": "50021",
150        "UMask": "0x2"
151    },
152    {
153        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
154        "EventCode": "0xc5",
155        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
156        "PEBS": "1",
157        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
158        "SampleAfterValue": "50021",
159        "UMask": "0x20"
160    },
161    {
162        "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
163        "EventCode": "0xc5",
164        "EventName": "BR_MISP_RETIRED.RET",
165        "PEBS": "1",
166        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.",
167        "SampleAfterValue": "50021",
168        "UMask": "0x8"
169    },
170    {
171        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
172        "EventCode": "0xec",
173        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
174        "PublicDescription": "This event distributes cycle counts between active hyperthreads, i.e., those in C0.  A hyperthread becomes inactive when it executes the HLT or MWAIT instructions.  If all other hyperthreads are inactive (or disabled or do not exist), all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.",
175        "SampleAfterValue": "2000003",
176        "UMask": "0x2"
177    },
178    {
179        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
180        "EventCode": "0x3C",
181        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
182        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
183        "SampleAfterValue": "25003",
184        "UMask": "0x2"
185    },
186    {
187        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
188        "EventCode": "0x3c",
189        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
190        "PublicDescription": "This event distributes Core crystal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread becomes inactive when it executes the HLT or MWAIT instructions. If one thread is active in a core, all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.",
191        "SampleAfterValue": "2000003",
192        "UMask": "0x8"
193    },
194    {
195        "BriefDescription": "Reference cycles when the core is not in halt state.",
196        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
197        "PublicDescription": "Counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events. Note: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'.  The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'.  After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.",
198        "SampleAfterValue": "2000003",
199        "UMask": "0x3"
200    },
201    {
202        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
203        "EventCode": "0x3C",
204        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
205        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
206        "SampleAfterValue": "25003",
207        "UMask": "0x1"
208    },
209    {
210        "BriefDescription": "Core cycles when the thread is not in halt state",
211        "EventName": "CPU_CLK_UNHALTED.THREAD",
212        "PublicDescription": "Counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events.",
213        "SampleAfterValue": "2000003",
214        "UMask": "0x2"
215    },
216    {
217        "BriefDescription": "Thread cycles when thread is not in halt state",
218        "EventCode": "0x3C",
219        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
220        "PublicDescription": "This is an architectural event that counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling. For this reason, this event may have a changing ratio with regards to wall clock time.",
221        "SampleAfterValue": "2000003"
222    },
223    {
224        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
225        "CounterMask": "8",
226        "EventCode": "0xA3",
227        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
228        "SampleAfterValue": "1000003",
229        "UMask": "0x8"
230    },
231    {
232        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
233        "CounterMask": "1",
234        "EventCode": "0xA3",
235        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
236        "SampleAfterValue": "1000003",
237        "UMask": "0x1"
238    },
239    {
240        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
241        "CounterMask": "16",
242        "EventCode": "0xA3",
243        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
244        "SampleAfterValue": "1000003",
245        "UMask": "0x10"
246    },
247    {
248        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
249        "CounterMask": "12",
250        "EventCode": "0xA3",
251        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
252        "SampleAfterValue": "1000003",
253        "UMask": "0xc"
254    },
255    {
256        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
257        "CounterMask": "5",
258        "EventCode": "0xa3",
259        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
260        "SampleAfterValue": "1000003",
261        "UMask": "0x5"
262    },
263    {
264        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
265        "CounterMask": "20",
266        "EventCode": "0xa3",
267        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
268        "SampleAfterValue": "1000003",
269        "UMask": "0x14"
270    },
271    {
272        "BriefDescription": "Total execution stalls.",
273        "CounterMask": "4",
274        "EventCode": "0xa3",
275        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
276        "SampleAfterValue": "1000003",
277        "UMask": "0x4"
278    },
279    {
280        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
281        "EventCode": "0xa6",
282        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
283        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
284        "SampleAfterValue": "2000003",
285        "UMask": "0x2"
286    },
287    {
288        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
289        "EventCode": "0xa6",
290        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
291        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
292        "SampleAfterValue": "2000003",
293        "UMask": "0x4"
294    },
295    {
296        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
297        "EventCode": "0xa6",
298        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
299        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
300        "SampleAfterValue": "2000003",
301        "UMask": "0x8"
302    },
303    {
304        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
305        "EventCode": "0xa6",
306        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
307        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
308        "SampleAfterValue": "2000003",
309        "UMask": "0x10"
310    },
311    {
312        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
313        "CounterMask": "2",
314        "EventCode": "0xA6",
315        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
316        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
317        "SampleAfterValue": "1000003",
318        "UMask": "0x40"
319    },
320    {
321        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
322        "EventCode": "0x87",
323        "EventName": "ILD_STALL.LCP",
324        "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk.",
325        "SampleAfterValue": "500009",
326        "UMask": "0x1"
327    },
328    {
329        "BriefDescription": "Instruction decoders utilized in a cycle",
330        "EventCode": "0x55",
331        "EventName": "INST_DECODED.DECODERS",
332        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
333        "SampleAfterValue": "2000003",
334        "UMask": "0x1"
335    },
336    {
337        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
338        "EventName": "INST_RETIRED.ANY",
339        "PEBS": "1",
340        "PublicDescription": "Counts the number of instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.",
341        "SampleAfterValue": "2000003",
342        "UMask": "0x1"
343    },
344    {
345        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
346        "EventCode": "0xc0",
347        "EventName": "INST_RETIRED.ANY_P",
348        "PEBS": "1",
349        "PublicDescription": "Counts the number of instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.",
350        "SampleAfterValue": "2000003"
351    },
352    {
353        "BriefDescription": "Number of all retired NOP instructions.",
354        "EventCode": "0xc0",
355        "EventName": "INST_RETIRED.NOP",
356        "PEBS": "1",
357        "SampleAfterValue": "2000003",
358        "UMask": "0x2"
359    },
360    {
361        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
362        "EventName": "INST_RETIRED.PREC_DIST",
363        "PEBS": "1",
364        "PublicDescription": "A version of INST_RETIRED that allows for a more unbiased distribution of samples across instructions retired. It utilizes the Precise Distribution of Instructions Retired (PDIR) feature to mitigate some bias in how retired instructions get sampled. Use on Fixed Counter 0.",
365        "SampleAfterValue": "2000003",
366        "UMask": "0x1"
367    },
368    {
369        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
370        "CounterMask": "1",
371        "EventCode": "0x0D",
372        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
373        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
374        "SampleAfterValue": "2000003",
375        "UMask": "0x3"
376    },
377    {
378        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
379        "EventCode": "0x0d",
380        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
381        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
382        "SampleAfterValue": "500009",
383        "UMask": "0x80"
384    },
385    {
386        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
387        "EventCode": "0x0D",
388        "EventName": "INT_MISC.RECOVERY_CYCLES",
389        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
390        "SampleAfterValue": "500009",
391        "UMask": "0x1"
392    },
393    {
394        "BriefDescription": "TMA slots where uops got dropped",
395        "EventCode": "0x0d",
396        "EventName": "INT_MISC.UOP_DROPPING",
397        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
398        "SampleAfterValue": "1000003",
399        "UMask": "0x10"
400    },
401    {
402        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
403        "EventCode": "0x03",
404        "EventName": "LD_BLOCKS.NO_SR",
405        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
406        "SampleAfterValue": "100003",
407        "UMask": "0x8"
408    },
409    {
410        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
411        "EventCode": "0x03",
412        "EventName": "LD_BLOCKS.STORE_FORWARD",
413        "PublicDescription": "Counts the number of times where store forwarding was prevented for a load operation. The most common case is a load blocked due to the address of memory access (partially) overlapping with a preceding uncompleted store. Note: See the table of not supported store forwards in the Optimization Guide.",
414        "SampleAfterValue": "100003",
415        "UMask": "0x2"
416    },
417    {
418        "BriefDescription": "False dependencies due to partial compare on address.",
419        "EventCode": "0x07",
420        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
421        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies due to partial compare on address.",
422        "SampleAfterValue": "100003",
423        "UMask": "0x1"
424    },
425    {
426        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
427        "EventCode": "0x4c",
428        "EventName": "LOAD_HIT_PREFETCH.SWPF",
429        "PublicDescription": "Counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by ASM (Assembly File) inspection of the nearby instructions.",
430        "SampleAfterValue": "100003",
431        "UMask": "0x1"
432    },
433    {
434        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
435        "CounterMask": "1",
436        "EventCode": "0xA8",
437        "EventName": "LSD.CYCLES_ACTIVE",
438        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
439        "SampleAfterValue": "2000003",
440        "UMask": "0x1"
441    },
442    {
443        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
444        "CounterMask": "5",
445        "EventCode": "0xa8",
446        "EventName": "LSD.CYCLES_OK",
447        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
448        "SampleAfterValue": "2000003",
449        "UMask": "0x1"
450    },
451    {
452        "BriefDescription": "Number of Uops delivered by the LSD.",
453        "EventCode": "0xa8",
454        "EventName": "LSD.UOPS",
455        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
456        "SampleAfterValue": "2000003",
457        "UMask": "0x1"
458    },
459    {
460        "BriefDescription": "Number of machine clears (nukes) of any type.",
461        "CounterMask": "1",
462        "EdgeDetect": "1",
463        "EventCode": "0xc3",
464        "EventName": "MACHINE_CLEARS.COUNT",
465        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
466        "SampleAfterValue": "100003",
467        "UMask": "0x1"
468    },
469    {
470        "BriefDescription": "Self-modifying code (SMC) detected.",
471        "EventCode": "0xc3",
472        "EventName": "MACHINE_CLEARS.SMC",
473        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
474        "SampleAfterValue": "100003",
475        "UMask": "0x4"
476    },
477    {
478        "BriefDescription": "Increments whenever there is an update to the LBR array.",
479        "EventCode": "0xcc",
480        "EventName": "MISC_RETIRED.LBR_INSERTS",
481        "PublicDescription": "Increments when an entry is added to the Last Branch Record (LBR) array (or removed from the array in case of RETURNs in call stack mode). The event requires LBR to be enabled properly.",
482        "SampleAfterValue": "100003",
483        "UMask": "0x20"
484    },
485    {
486        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
487        "EventCode": "0xcc",
488        "EventName": "MISC_RETIRED.PAUSE_INST",
489        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
490        "SampleAfterValue": "100003",
491        "UMask": "0x40"
492    },
493    {
494        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
495        "EventCode": "0xa2",
496        "EventName": "RESOURCE_STALLS.SB",
497        "PublicDescription": "Counts allocation stall cycles caused by the store buffer (SB) being full. This counts cycles that the pipeline back-end blocked uop delivery from the front-end.",
498        "SampleAfterValue": "100003",
499        "UMask": "0x8"
500    },
501    {
502        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
503        "EventCode": "0xa2",
504        "EventName": "RESOURCE_STALLS.SCOREBOARD",
505        "SampleAfterValue": "100003",
506        "UMask": "0x2"
507    },
508    {
509        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
510        "EventCode": "0x5e",
511        "EventName": "RS_EVENTS.EMPTY_CYCLES",
512        "PublicDescription": "Counts cycles during which the reservation station (RS) is empty for this logical processor. This is usually caused when the front-end pipeline runs into stravation periods (e.g. branch mispredictions or i-cache misses)",
513        "SampleAfterValue": "1000003",
514        "UMask": "0x1"
515    },
516    {
517        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
518        "CounterMask": "1",
519        "EdgeDetect": "1",
520        "EventCode": "0x5E",
521        "EventName": "RS_EVENTS.EMPTY_END",
522        "Invert": "1",
523        "PublicDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to closely sample on front-end latency issues (see the FRONTEND_RETIRED event of designated precise events)",
524        "SampleAfterValue": "100003",
525        "UMask": "0x1"
526    },
527    {
528        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
529        "EventCode": "0xa4",
530        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
531        "PublicDescription": "Counts the number of Top-down Microarchitecture Analysis (TMA) method's  slots where no micro-operations were being issued from front-end to back-end of the machine due to lack of back-end resources.",
532        "SampleAfterValue": "10000003",
533        "UMask": "0x2"
534    },
535    {
536        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
537        "EventName": "TOPDOWN.SLOTS",
538        "PublicDescription": "Number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method (TMA). The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core. Software can use this event as the denominator for the top-level metrics of the TMA method. This architectural event is counted on a designated fixed counter (Fixed Counter 3).",
539        "SampleAfterValue": "10000003",
540        "UMask": "0x4"
541    },
542    {
543        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
544        "EventCode": "0xa4",
545        "EventName": "TOPDOWN.SLOTS_P",
546        "PublicDescription": "Counts the number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method. The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core.",
547        "SampleAfterValue": "10000003",
548        "UMask": "0x1"
549    },
550    {
551        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
552        "EventCode": "0x56",
553        "EventName": "UOPS_DECODED.DEC0",
554        "PublicDescription": "Uops exclusively fetched by decoder 0",
555        "SampleAfterValue": "1000003",
556        "UMask": "0x1"
557    },
558    {
559        "BriefDescription": "Number of uops executed on port 0",
560        "EventCode": "0xa1",
561        "EventName": "UOPS_DISPATCHED.PORT_0",
562        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
563        "SampleAfterValue": "2000003",
564        "UMask": "0x1"
565    },
566    {
567        "BriefDescription": "Number of uops executed on port 1",
568        "EventCode": "0xa1",
569        "EventName": "UOPS_DISPATCHED.PORT_1",
570        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
571        "SampleAfterValue": "2000003",
572        "UMask": "0x2"
573    },
574    {
575        "BriefDescription": "Number of uops executed on port 2 and 3",
576        "EventCode": "0xa1",
577        "EventName": "UOPS_DISPATCHED.PORT_2_3",
578        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 2 and 3.",
579        "SampleAfterValue": "2000003",
580        "UMask": "0x4"
581    },
582    {
583        "BriefDescription": "Number of uops executed on port 4 and 9",
584        "EventCode": "0xa1",
585        "EventName": "UOPS_DISPATCHED.PORT_4_9",
586        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 5 and 9.",
587        "SampleAfterValue": "2000003",
588        "UMask": "0x10"
589    },
590    {
591        "BriefDescription": "Number of uops executed on port 5",
592        "EventCode": "0xa1",
593        "EventName": "UOPS_DISPATCHED.PORT_5",
594        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
595        "SampleAfterValue": "2000003",
596        "UMask": "0x20"
597    },
598    {
599        "BriefDescription": "Number of uops executed on port 6",
600        "EventCode": "0xa1",
601        "EventName": "UOPS_DISPATCHED.PORT_6",
602        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
603        "SampleAfterValue": "2000003",
604        "UMask": "0x40"
605    },
606    {
607        "BriefDescription": "Number of uops executed on port 7 and 8",
608        "EventCode": "0xa1",
609        "EventName": "UOPS_DISPATCHED.PORT_7_8",
610        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 7 and 8.",
611        "SampleAfterValue": "2000003",
612        "UMask": "0x80"
613    },
614    {
615        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
616        "CounterMask": "1",
617        "EventCode": "0xB1",
618        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
619        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
620        "SampleAfterValue": "2000003",
621        "UMask": "0x2"
622    },
623    {
624        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
625        "CounterMask": "2",
626        "EventCode": "0xB1",
627        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
628        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
629        "SampleAfterValue": "2000003",
630        "UMask": "0x2"
631    },
632    {
633        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
634        "CounterMask": "3",
635        "EventCode": "0xB1",
636        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
637        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
638        "SampleAfterValue": "2000003",
639        "UMask": "0x2"
640    },
641    {
642        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
643        "CounterMask": "4",
644        "EventCode": "0xB1",
645        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
646        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
647        "SampleAfterValue": "2000003",
648        "UMask": "0x2"
649    },
650    {
651        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
652        "CounterMask": "1",
653        "EventCode": "0xb1",
654        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
655        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
656        "SampleAfterValue": "2000003",
657        "UMask": "0x1"
658    },
659    {
660        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
661        "CounterMask": "2",
662        "EventCode": "0xb1",
663        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
664        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
665        "SampleAfterValue": "2000003",
666        "UMask": "0x1"
667    },
668    {
669        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
670        "CounterMask": "3",
671        "EventCode": "0xb1",
672        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
673        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
674        "SampleAfterValue": "2000003",
675        "UMask": "0x1"
676    },
677    {
678        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
679        "CounterMask": "4",
680        "EventCode": "0xb1",
681        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
682        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
683        "SampleAfterValue": "2000003",
684        "UMask": "0x1"
685    },
686    {
687        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
688        "CounterMask": "1",
689        "EventCode": "0xB1",
690        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
691        "Invert": "1",
692        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
693        "SampleAfterValue": "2000003",
694        "UMask": "0x1"
695    },
696    {
697        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
698        "EventCode": "0xb1",
699        "EventName": "UOPS_EXECUTED.THREAD",
700        "SampleAfterValue": "2000003",
701        "UMask": "0x1"
702    },
703    {
704        "BriefDescription": "Counts the number of x87 uops dispatched.",
705        "EventCode": "0xB1",
706        "EventName": "UOPS_EXECUTED.X87",
707        "PublicDescription": "Counts the number of x87 uops executed.",
708        "SampleAfterValue": "2000003",
709        "UMask": "0x10"
710    },
711    {
712        "BriefDescription": "Uops that RAT issues to RS",
713        "EventCode": "0x0e",
714        "EventName": "UOPS_ISSUED.ANY",
715        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
716        "SampleAfterValue": "2000003",
717        "UMask": "0x1"
718    },
719    {
720        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
721        "CounterMask": "1",
722        "EventCode": "0x0E",
723        "EventName": "UOPS_ISSUED.STALL_CYCLES",
724        "Invert": "1",
725        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
726        "SampleAfterValue": "1000003",
727        "UMask": "0x1"
728    },
729    {
730        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
731        "EventCode": "0x0e",
732        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
733        "PublicDescription": "Counts the number of Blend Uops issued by the Resource Allocation Table (RAT) to the reservation station (RS) in order to preserve upper bits of vector registers. Starting with the Skylake microarchitecture, these Blend uops are needed since every Intel SSE instruction executed in Dirty Upper State needs to preserve bits 128-255 of the destination register. For more information, refer to 'Mixing Intel AVX and Intel SSE Code' section of the Optimization Guide.",
734        "SampleAfterValue": "100003",
735        "UMask": "0x2"
736    },
737    {
738        "BriefDescription": "Retirement slots used.",
739        "EventCode": "0xc2",
740        "EventName": "UOPS_RETIRED.SLOTS",
741        "PublicDescription": "Counts the retirement slots used each cycle.",
742        "SampleAfterValue": "2000003",
743        "UMask": "0x2"
744    },
745    {
746        "BriefDescription": "Cycles without actually retired uops.",
747        "CounterMask": "1",
748        "EventCode": "0xc2",
749        "EventName": "UOPS_RETIRED.STALL_CYCLES",
750        "Invert": "1",
751        "PublicDescription": "This event counts cycles without actually retired uops.",
752        "SampleAfterValue": "1000003",
753        "UMask": "0x2"
754    },
755    {
756        "BriefDescription": "Cycles with less than 10 actually retired uops.",
757        "CounterMask": "10",
758        "EventCode": "0xc2",
759        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
760        "Invert": "1",
761        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
762        "SampleAfterValue": "1000003",
763        "UMask": "0x2"
764    }
765]
766