1*7e74ece3SIan Rogers[
2*7e74ece3SIan Rogers    {
3*7e74ece3SIan Rogers        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
4*7e74ece3SIan Rogers        "CounterMask": "1",
5*7e74ece3SIan Rogers        "EventCode": "0x14",
6*7e74ece3SIan Rogers        "EventName": "ARITH.DIVIDER_ACTIVE",
7*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
8*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
9*7e74ece3SIan Rogers        "UMask": "0x9"
10*7e74ece3SIan Rogers    },
11*7e74ece3SIan Rogers    {
12*7e74ece3SIan Rogers        "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.",
13*7e74ece3SIan Rogers        "EventCode": "0xc1",
14*7e74ece3SIan Rogers        "EventName": "ASSISTS.ANY",
15*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
17*7e74ece3SIan Rogers        "UMask": "0x7"
18*7e74ece3SIan Rogers    },
19*7e74ece3SIan Rogers    {
20*7e74ece3SIan Rogers        "BriefDescription": "All branch instructions retired.",
21*7e74ece3SIan Rogers        "EventCode": "0xc4",
22*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
23*7e74ece3SIan Rogers        "PEBS": "1",
24*7e74ece3SIan Rogers        "PublicDescription": "Counts all branch instructions retired.",
25*7e74ece3SIan Rogers        "SampleAfterValue": "400009"
26*7e74ece3SIan Rogers    },
27*7e74ece3SIan Rogers    {
28*7e74ece3SIan Rogers        "BriefDescription": "Conditional branch instructions retired.",
29*7e74ece3SIan Rogers        "EventCode": "0xc4",
30*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.COND",
31*7e74ece3SIan Rogers        "PEBS": "1",
32*7e74ece3SIan Rogers        "PublicDescription": "Counts conditional branch instructions retired.",
33*7e74ece3SIan Rogers        "SampleAfterValue": "400009",
34*7e74ece3SIan Rogers        "UMask": "0x11"
35*7e74ece3SIan Rogers    },
36*7e74ece3SIan Rogers    {
37*7e74ece3SIan Rogers        "BriefDescription": "Not taken branch instructions retired.",
38*7e74ece3SIan Rogers        "EventCode": "0xc4",
39*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
40*7e74ece3SIan Rogers        "PEBS": "1",
41*7e74ece3SIan Rogers        "PublicDescription": "Counts not taken branch instructions retired.",
42*7e74ece3SIan Rogers        "SampleAfterValue": "400009",
43*7e74ece3SIan Rogers        "UMask": "0x10"
44*7e74ece3SIan Rogers    },
45*7e74ece3SIan Rogers    {
46*7e74ece3SIan Rogers        "BriefDescription": "Taken conditional branch instructions retired.",
47*7e74ece3SIan Rogers        "EventCode": "0xc4",
48*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.COND_TAKEN",
49*7e74ece3SIan Rogers        "PEBS": "1",
50*7e74ece3SIan Rogers        "PublicDescription": "Counts taken conditional branch instructions retired.",
51*7e74ece3SIan Rogers        "SampleAfterValue": "400009",
52*7e74ece3SIan Rogers        "UMask": "0x1"
53*7e74ece3SIan Rogers    },
54*7e74ece3SIan Rogers    {
55*7e74ece3SIan Rogers        "BriefDescription": "Far branch instructions retired.",
56*7e74ece3SIan Rogers        "EventCode": "0xc4",
57*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
58*7e74ece3SIan Rogers        "PEBS": "1",
59*7e74ece3SIan Rogers        "PublicDescription": "Counts far branch instructions retired.",
60*7e74ece3SIan Rogers        "SampleAfterValue": "100007",
61*7e74ece3SIan Rogers        "UMask": "0x40"
62*7e74ece3SIan Rogers    },
63*7e74ece3SIan Rogers    {
64*7e74ece3SIan Rogers        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
65*7e74ece3SIan Rogers        "EventCode": "0xc4",
66*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.INDIRECT",
67*7e74ece3SIan Rogers        "PEBS": "1",
68*7e74ece3SIan Rogers        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
69*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
70*7e74ece3SIan Rogers        "UMask": "0x80"
71*7e74ece3SIan Rogers    },
72*7e74ece3SIan Rogers    {
73*7e74ece3SIan Rogers        "BriefDescription": "Direct and indirect near call instructions retired.",
74*7e74ece3SIan Rogers        "EventCode": "0xc4",
75*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL",
76*7e74ece3SIan Rogers        "PEBS": "1",
77*7e74ece3SIan Rogers        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
78*7e74ece3SIan Rogers        "SampleAfterValue": "100007",
79*7e74ece3SIan Rogers        "UMask": "0x2"
80*7e74ece3SIan Rogers    },
81*7e74ece3SIan Rogers    {
82*7e74ece3SIan Rogers        "BriefDescription": "Return instructions retired.",
83*7e74ece3SIan Rogers        "EventCode": "0xc4",
84*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
85*7e74ece3SIan Rogers        "PEBS": "1",
86*7e74ece3SIan Rogers        "PublicDescription": "Counts return instructions retired.",
87*7e74ece3SIan Rogers        "SampleAfterValue": "100007",
88*7e74ece3SIan Rogers        "UMask": "0x8"
89*7e74ece3SIan Rogers    },
90*7e74ece3SIan Rogers    {
91*7e74ece3SIan Rogers        "BriefDescription": "Taken branch instructions retired.",
92*7e74ece3SIan Rogers        "EventCode": "0xc4",
93*7e74ece3SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
94*7e74ece3SIan Rogers        "PEBS": "1",
95*7e74ece3SIan Rogers        "PublicDescription": "Counts taken branch instructions retired.",
96*7e74ece3SIan Rogers        "SampleAfterValue": "400009",
97*7e74ece3SIan Rogers        "UMask": "0x20"
98*7e74ece3SIan Rogers    },
99*7e74ece3SIan Rogers    {
100*7e74ece3SIan Rogers        "BriefDescription": "All mispredicted branch instructions retired.",
101*7e74ece3SIan Rogers        "EventCode": "0xc5",
102*7e74ece3SIan Rogers        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
103*7e74ece3SIan Rogers        "PEBS": "1",
104*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "50021"
106*7e74ece3SIan Rogers    },
107*7e74ece3SIan Rogers    {
108*7e74ece3SIan Rogers        "BriefDescription": "Mispredicted conditional branch instructions retired.",
109*7e74ece3SIan Rogers        "EventCode": "0xc5",
110*7e74ece3SIan Rogers        "EventName": "BR_MISP_RETIRED.COND",
111*7e74ece3SIan Rogers        "PEBS": "1",
112*7e74ece3SIan Rogers        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
113*7e74ece3SIan Rogers        "SampleAfterValue": "50021",
114*7e74ece3SIan Rogers        "UMask": "0x11"
115*7e74ece3SIan Rogers    },
116*7e74ece3SIan Rogers    {
117*7e74ece3SIan Rogers        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
118*7e74ece3SIan Rogers        "EventCode": "0xc5",
119*7e74ece3SIan Rogers        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
120*7e74ece3SIan Rogers        "PEBS": "1",
121*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
122*7e74ece3SIan Rogers        "SampleAfterValue": "50021",
123*7e74ece3SIan Rogers        "UMask": "0x10"
124*7e74ece3SIan Rogers    },
125*7e74ece3SIan Rogers    {
126*7e74ece3SIan Rogers        "BriefDescription": "number of branch instructions retired that were mispredicted and taken.",
127*7e74ece3SIan Rogers        "EventCode": "0xc5",
128*7e74ece3SIan Rogers        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
129*7e74ece3SIan Rogers        "PEBS": "1",
130*7e74ece3SIan Rogers        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
131*7e74ece3SIan Rogers        "SampleAfterValue": "50021",
132*7e74ece3SIan Rogers        "UMask": "0x1"
133*7e74ece3SIan Rogers    },
134*7e74ece3SIan Rogers    {
135*7e74ece3SIan Rogers        "BriefDescription": "All miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
136*7e74ece3SIan Rogers        "EventCode": "0xc5",
137*7e74ece3SIan Rogers        "EventName": "BR_MISP_RETIRED.INDIRECT",
138*7e74ece3SIan Rogers        "PEBS": "1",
139*7e74ece3SIan Rogers        "PublicDescription": "Counts all miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
140*7e74ece3SIan Rogers        "SampleAfterValue": "50021",
141*7e74ece3SIan Rogers        "UMask": "0x80"
142*7e74ece3SIan Rogers    },
143*7e74ece3SIan Rogers    {
144*7e74ece3SIan Rogers        "BriefDescription": "Mispredicted indirect CALL instructions retired.",
145*7e74ece3SIan Rogers        "EventCode": "0xc5",
146*7e74ece3SIan Rogers        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
147*7e74ece3SIan Rogers        "PEBS": "1",
148*7e74ece3SIan Rogers        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
149*7e74ece3SIan Rogers        "SampleAfterValue": "50021",
150*7e74ece3SIan Rogers        "UMask": "0x2"
151*7e74ece3SIan Rogers    },
152*7e74ece3SIan Rogers    {
153*7e74ece3SIan Rogers        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
154*7e74ece3SIan Rogers        "EventCode": "0xc5",
155*7e74ece3SIan Rogers        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
156*7e74ece3SIan Rogers        "PEBS": "1",
157*7e74ece3SIan Rogers        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
158*7e74ece3SIan Rogers        "SampleAfterValue": "50021",
159*7e74ece3SIan Rogers        "UMask": "0x20"
160*7e74ece3SIan Rogers    },
161*7e74ece3SIan Rogers    {
162*7e74ece3SIan Rogers        "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
163*7e74ece3SIan Rogers        "EventCode": "0xc5",
164*7e74ece3SIan Rogers        "EventName": "BR_MISP_RETIRED.RET",
165*7e74ece3SIan Rogers        "PEBS": "1",
166*7e74ece3SIan Rogers        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.",
167*7e74ece3SIan Rogers        "SampleAfterValue": "50021",
168*7e74ece3SIan Rogers        "UMask": "0x8"
169*7e74ece3SIan Rogers    },
170*7e74ece3SIan Rogers    {
171*7e74ece3SIan Rogers        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
172*7e74ece3SIan Rogers        "EventCode": "0xec",
173*7e74ece3SIan Rogers        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
174*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
176*7e74ece3SIan Rogers        "UMask": "0x2"
177*7e74ece3SIan Rogers    },
178*7e74ece3SIan Rogers    {
179*7e74ece3SIan Rogers        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
180*7e74ece3SIan Rogers        "EventCode": "0x3C",
181*7e74ece3SIan Rogers        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
182*7e74ece3SIan Rogers        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
183*7e74ece3SIan Rogers        "SampleAfterValue": "25003",
184*7e74ece3SIan Rogers        "UMask": "0x2"
185*7e74ece3SIan Rogers    },
186*7e74ece3SIan Rogers    {
187*7e74ece3SIan Rogers        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
188*7e74ece3SIan Rogers        "EventCode": "0x3c",
189*7e74ece3SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
190*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
192*7e74ece3SIan Rogers        "UMask": "0x8"
193*7e74ece3SIan Rogers    },
194*7e74ece3SIan Rogers    {
195*7e74ece3SIan Rogers        "BriefDescription": "Reference cycles when the core is not in halt state.",
196*7e74ece3SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
197*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
199*7e74ece3SIan Rogers        "UMask": "0x3"
200*7e74ece3SIan Rogers    },
201*7e74ece3SIan Rogers    {
202*7e74ece3SIan Rogers        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
203*7e74ece3SIan Rogers        "EventCode": "0x3C",
204*7e74ece3SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
205*7e74ece3SIan Rogers        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
206*7e74ece3SIan Rogers        "SampleAfterValue": "25003",
207*7e74ece3SIan Rogers        "UMask": "0x1"
208*7e74ece3SIan Rogers    },
209*7e74ece3SIan Rogers    {
210*7e74ece3SIan Rogers        "BriefDescription": "Core cycles when the thread is not in halt state",
211*7e74ece3SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD",
212*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
214*7e74ece3SIan Rogers        "UMask": "0x2"
215*7e74ece3SIan Rogers    },
216*7e74ece3SIan Rogers    {
217*7e74ece3SIan Rogers        "BriefDescription": "Thread cycles when thread is not in halt state",
218*7e74ece3SIan Rogers        "EventCode": "0x3C",
219*7e74ece3SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
220*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "2000003"
222*7e74ece3SIan Rogers    },
223*7e74ece3SIan Rogers    {
224*7e74ece3SIan Rogers        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
225*7e74ece3SIan Rogers        "CounterMask": "8",
226*7e74ece3SIan Rogers        "EventCode": "0xA3",
227*7e74ece3SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
228*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
229*7e74ece3SIan Rogers        "UMask": "0x8"
230*7e74ece3SIan Rogers    },
231*7e74ece3SIan Rogers    {
232*7e74ece3SIan Rogers        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
233*7e74ece3SIan Rogers        "CounterMask": "1",
234*7e74ece3SIan Rogers        "EventCode": "0xA3",
235*7e74ece3SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
236*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
237*7e74ece3SIan Rogers        "UMask": "0x1"
238*7e74ece3SIan Rogers    },
239*7e74ece3SIan Rogers    {
240*7e74ece3SIan Rogers        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
241*7e74ece3SIan Rogers        "CounterMask": "16",
242*7e74ece3SIan Rogers        "EventCode": "0xA3",
243*7e74ece3SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
244*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
245*7e74ece3SIan Rogers        "UMask": "0x10"
246*7e74ece3SIan Rogers    },
247*7e74ece3SIan Rogers    {
248*7e74ece3SIan Rogers        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
249*7e74ece3SIan Rogers        "CounterMask": "12",
250*7e74ece3SIan Rogers        "EventCode": "0xA3",
251*7e74ece3SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
252*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
253*7e74ece3SIan Rogers        "UMask": "0xc"
254*7e74ece3SIan Rogers    },
255*7e74ece3SIan Rogers    {
256*7e74ece3SIan Rogers        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
257*7e74ece3SIan Rogers        "CounterMask": "5",
258*7e74ece3SIan Rogers        "EventCode": "0xa3",
259*7e74ece3SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
260*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
261*7e74ece3SIan Rogers        "UMask": "0x5"
262*7e74ece3SIan Rogers    },
263*7e74ece3SIan Rogers    {
264*7e74ece3SIan Rogers        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
265*7e74ece3SIan Rogers        "CounterMask": "20",
266*7e74ece3SIan Rogers        "EventCode": "0xa3",
267*7e74ece3SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
268*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
269*7e74ece3SIan Rogers        "UMask": "0x14"
270*7e74ece3SIan Rogers    },
271*7e74ece3SIan Rogers    {
272*7e74ece3SIan Rogers        "BriefDescription": "Total execution stalls.",
273*7e74ece3SIan Rogers        "CounterMask": "4",
274*7e74ece3SIan Rogers        "EventCode": "0xa3",
275*7e74ece3SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
276*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
277*7e74ece3SIan Rogers        "UMask": "0x4"
278*7e74ece3SIan Rogers    },
279*7e74ece3SIan Rogers    {
280*7e74ece3SIan Rogers        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
281*7e74ece3SIan Rogers        "EventCode": "0xa6",
282*7e74ece3SIan Rogers        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
283*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
284*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
285*7e74ece3SIan Rogers        "UMask": "0x2"
286*7e74ece3SIan Rogers    },
287*7e74ece3SIan Rogers    {
288*7e74ece3SIan Rogers        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
289*7e74ece3SIan Rogers        "EventCode": "0xa6",
290*7e74ece3SIan Rogers        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
291*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
292*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
293*7e74ece3SIan Rogers        "UMask": "0x4"
294*7e74ece3SIan Rogers    },
295*7e74ece3SIan Rogers    {
296*7e74ece3SIan Rogers        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
297*7e74ece3SIan Rogers        "EventCode": "0xa6",
298*7e74ece3SIan Rogers        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
299*7e74ece3SIan Rogers        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
300*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
301*7e74ece3SIan Rogers        "UMask": "0x8"
302*7e74ece3SIan Rogers    },
303*7e74ece3SIan Rogers    {
304*7e74ece3SIan Rogers        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
305*7e74ece3SIan Rogers        "EventCode": "0xa6",
306*7e74ece3SIan Rogers        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
307*7e74ece3SIan Rogers        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
308*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
309*7e74ece3SIan Rogers        "UMask": "0x10"
310*7e74ece3SIan Rogers    },
311*7e74ece3SIan Rogers    {
312*7e74ece3SIan Rogers        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
313*7e74ece3SIan Rogers        "CounterMask": "2",
314*7e74ece3SIan Rogers        "EventCode": "0xA6",
315*7e74ece3SIan Rogers        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
316*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
317*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
318*7e74ece3SIan Rogers        "UMask": "0x40"
319*7e74ece3SIan Rogers    },
320*7e74ece3SIan Rogers    {
321*7e74ece3SIan Rogers        "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to DECODE.LCP]",
322*7e74ece3SIan Rogers        "EventCode": "0x87",
323*7e74ece3SIan Rogers        "EventName": "ILD_STALL.LCP",
324*7e74ece3SIan Rogers        "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. [This event is alias to DECODE.LCP]",
325*7e74ece3SIan Rogers        "SampleAfterValue": "500009",
326*7e74ece3SIan Rogers        "UMask": "0x1"
327*7e74ece3SIan Rogers    },
328*7e74ece3SIan Rogers    {
329*7e74ece3SIan Rogers        "BriefDescription": "Instruction decoders utilized in a cycle",
330*7e74ece3SIan Rogers        "EventCode": "0x55",
331*7e74ece3SIan Rogers        "EventName": "INST_DECODED.DECODERS",
332*7e74ece3SIan Rogers        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
333*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
334*7e74ece3SIan Rogers        "UMask": "0x1"
335*7e74ece3SIan Rogers    },
336*7e74ece3SIan Rogers    {
337*7e74ece3SIan Rogers        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
338*7e74ece3SIan Rogers        "EventName": "INST_RETIRED.ANY",
339*7e74ece3SIan Rogers        "PEBS": "1",
340*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
342*7e74ece3SIan Rogers        "UMask": "0x1"
343*7e74ece3SIan Rogers    },
344*7e74ece3SIan Rogers    {
345*7e74ece3SIan Rogers        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
346*7e74ece3SIan Rogers        "EventCode": "0xc0",
347*7e74ece3SIan Rogers        "EventName": "INST_RETIRED.ANY_P",
348*7e74ece3SIan Rogers        "PEBS": "1",
349*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "2000003"
351*7e74ece3SIan Rogers    },
352*7e74ece3SIan Rogers    {
353*7e74ece3SIan Rogers        "BriefDescription": "Number of all retired NOP instructions.",
354*7e74ece3SIan Rogers        "EventCode": "0xc0",
355*7e74ece3SIan Rogers        "EventName": "INST_RETIRED.NOP",
356*7e74ece3SIan Rogers        "PEBS": "1",
357*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
358*7e74ece3SIan Rogers        "UMask": "0x2"
359*7e74ece3SIan Rogers    },
360*7e74ece3SIan Rogers    {
361*7e74ece3SIan Rogers        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
362*7e74ece3SIan Rogers        "EventName": "INST_RETIRED.PREC_DIST",
363*7e74ece3SIan Rogers        "PEBS": "1",
364*7e74ece3SIan Rogers        "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*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
366*7e74ece3SIan Rogers        "UMask": "0x1"
367*7e74ece3SIan Rogers    },
368*7e74ece3SIan Rogers    {
369*7e74ece3SIan Rogers        "BriefDescription": "Cycles without actually retired instructions.",
370*7e74ece3SIan Rogers        "CounterMask": "1",
371*7e74ece3SIan Rogers        "EventCode": "0xc0",
372*7e74ece3SIan Rogers        "EventName": "INST_RETIRED.STALL_CYCLES",
373*7e74ece3SIan Rogers        "Invert": "1",
374*7e74ece3SIan Rogers        "PublicDescription": "This event counts cycles without actually retired instructions.",
375*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
376*7e74ece3SIan Rogers        "UMask": "0x1"
377*7e74ece3SIan Rogers    },
378*7e74ece3SIan Rogers    {
379*7e74ece3SIan Rogers        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
380*7e74ece3SIan Rogers        "CounterMask": "1",
381*7e74ece3SIan Rogers        "EventCode": "0x0D",
382*7e74ece3SIan Rogers        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
383*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
384*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
385*7e74ece3SIan Rogers        "UMask": "0x3"
386*7e74ece3SIan Rogers    },
387*7e74ece3SIan Rogers    {
388*7e74ece3SIan Rogers        "BriefDescription": "Clears speculative count",
389*7e74ece3SIan Rogers        "CounterMask": "1",
390*7e74ece3SIan Rogers        "EdgeDetect": "1",
391*7e74ece3SIan Rogers        "EventCode": "0x0D",
392*7e74ece3SIan Rogers        "EventName": "INT_MISC.CLEARS_COUNT",
393*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of speculative clears due to any type of branch misprediction or machine clears",
394*7e74ece3SIan Rogers        "SampleAfterValue": "500009",
395*7e74ece3SIan Rogers        "UMask": "0x1"
396*7e74ece3SIan Rogers    },
397*7e74ece3SIan Rogers    {
398*7e74ece3SIan Rogers        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
399*7e74ece3SIan Rogers        "EventCode": "0x0d",
400*7e74ece3SIan Rogers        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
401*7e74ece3SIan Rogers        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
402*7e74ece3SIan Rogers        "SampleAfterValue": "500009",
403*7e74ece3SIan Rogers        "UMask": "0x80"
404*7e74ece3SIan Rogers    },
405*7e74ece3SIan Rogers    {
406*7e74ece3SIan Rogers        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
407*7e74ece3SIan Rogers        "EventCode": "0x0D",
408*7e74ece3SIan Rogers        "EventName": "INT_MISC.RECOVERY_CYCLES",
409*7e74ece3SIan Rogers        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
410*7e74ece3SIan Rogers        "SampleAfterValue": "500009",
411*7e74ece3SIan Rogers        "UMask": "0x1"
412*7e74ece3SIan Rogers    },
413*7e74ece3SIan Rogers    {
414*7e74ece3SIan Rogers        "BriefDescription": "TMA slots where uops got dropped",
415*7e74ece3SIan Rogers        "EventCode": "0x0d",
416*7e74ece3SIan Rogers        "EventName": "INT_MISC.UOP_DROPPING",
417*7e74ece3SIan Rogers        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
418*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
419*7e74ece3SIan Rogers        "UMask": "0x10"
420*7e74ece3SIan Rogers    },
421*7e74ece3SIan Rogers    {
422*7e74ece3SIan Rogers        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
423*7e74ece3SIan Rogers        "EventCode": "0x03",
424*7e74ece3SIan Rogers        "EventName": "LD_BLOCKS.NO_SR",
425*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
426*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
427*7e74ece3SIan Rogers        "UMask": "0x8"
428*7e74ece3SIan Rogers    },
429*7e74ece3SIan Rogers    {
430*7e74ece3SIan Rogers        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
431*7e74ece3SIan Rogers        "EventCode": "0x03",
432*7e74ece3SIan Rogers        "EventName": "LD_BLOCKS.STORE_FORWARD",
433*7e74ece3SIan Rogers        "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.",
434*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
435*7e74ece3SIan Rogers        "UMask": "0x2"
436*7e74ece3SIan Rogers    },
437*7e74ece3SIan Rogers    {
438*7e74ece3SIan Rogers        "BriefDescription": "False dependencies due to partial compare on address.",
439*7e74ece3SIan Rogers        "EventCode": "0x07",
440*7e74ece3SIan Rogers        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
441*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies due to partial compare on address.",
442*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
443*7e74ece3SIan Rogers        "UMask": "0x1"
444*7e74ece3SIan Rogers    },
445*7e74ece3SIan Rogers    {
446*7e74ece3SIan Rogers        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
447*7e74ece3SIan Rogers        "EventCode": "0x4c",
448*7e74ece3SIan Rogers        "EventName": "LOAD_HIT_PREFETCH.SWPF",
449*7e74ece3SIan Rogers        "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.",
450*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
451*7e74ece3SIan Rogers        "UMask": "0x1"
452*7e74ece3SIan Rogers    },
453*7e74ece3SIan Rogers    {
454*7e74ece3SIan Rogers        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
455*7e74ece3SIan Rogers        "CounterMask": "1",
456*7e74ece3SIan Rogers        "EventCode": "0xA8",
457*7e74ece3SIan Rogers        "EventName": "LSD.CYCLES_ACTIVE",
458*7e74ece3SIan Rogers        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
459*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
460*7e74ece3SIan Rogers        "UMask": "0x1"
461*7e74ece3SIan Rogers    },
462*7e74ece3SIan Rogers    {
463*7e74ece3SIan Rogers        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
464*7e74ece3SIan Rogers        "CounterMask": "5",
465*7e74ece3SIan Rogers        "EventCode": "0xa8",
466*7e74ece3SIan Rogers        "EventName": "LSD.CYCLES_OK",
467*7e74ece3SIan Rogers        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
468*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
469*7e74ece3SIan Rogers        "UMask": "0x1"
470*7e74ece3SIan Rogers    },
471*7e74ece3SIan Rogers    {
472*7e74ece3SIan Rogers        "BriefDescription": "Number of Uops delivered by the LSD.",
473*7e74ece3SIan Rogers        "EventCode": "0xa8",
474*7e74ece3SIan Rogers        "EventName": "LSD.UOPS",
475*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
476*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
477*7e74ece3SIan Rogers        "UMask": "0x1"
478*7e74ece3SIan Rogers    },
479*7e74ece3SIan Rogers    {
480*7e74ece3SIan Rogers        "BriefDescription": "Number of machine clears (nukes) of any type.",
481*7e74ece3SIan Rogers        "CounterMask": "1",
482*7e74ece3SIan Rogers        "EdgeDetect": "1",
483*7e74ece3SIan Rogers        "EventCode": "0xc3",
484*7e74ece3SIan Rogers        "EventName": "MACHINE_CLEARS.COUNT",
485*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
486*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
487*7e74ece3SIan Rogers        "UMask": "0x1"
488*7e74ece3SIan Rogers    },
489*7e74ece3SIan Rogers    {
490*7e74ece3SIan Rogers        "BriefDescription": "Self-modifying code (SMC) detected.",
491*7e74ece3SIan Rogers        "EventCode": "0xc3",
492*7e74ece3SIan Rogers        "EventName": "MACHINE_CLEARS.SMC",
493*7e74ece3SIan Rogers        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
494*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
495*7e74ece3SIan Rogers        "UMask": "0x4"
496*7e74ece3SIan Rogers    },
497*7e74ece3SIan Rogers    {
498*7e74ece3SIan Rogers        "BriefDescription": "Increments whenever there is an update to the LBR array.",
499*7e74ece3SIan Rogers        "EventCode": "0xcc",
500*7e74ece3SIan Rogers        "EventName": "MISC_RETIRED.LBR_INSERTS",
501*7e74ece3SIan Rogers        "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.",
502*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
503*7e74ece3SIan Rogers        "UMask": "0x20"
504*7e74ece3SIan Rogers    },
505*7e74ece3SIan Rogers    {
506*7e74ece3SIan Rogers        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
507*7e74ece3SIan Rogers        "EventCode": "0xcc",
508*7e74ece3SIan Rogers        "EventName": "MISC_RETIRED.PAUSE_INST",
509*7e74ece3SIan Rogers        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
510*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
511*7e74ece3SIan Rogers        "UMask": "0x40"
512*7e74ece3SIan Rogers    },
513*7e74ece3SIan Rogers    {
514*7e74ece3SIan Rogers        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
515*7e74ece3SIan Rogers        "EventCode": "0xa2",
516*7e74ece3SIan Rogers        "EventName": "RESOURCE_STALLS.SB",
517*7e74ece3SIan Rogers        "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.",
518*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
519*7e74ece3SIan Rogers        "UMask": "0x8"
520*7e74ece3SIan Rogers    },
521*7e74ece3SIan Rogers    {
522*7e74ece3SIan Rogers        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
523*7e74ece3SIan Rogers        "EventCode": "0xa2",
524*7e74ece3SIan Rogers        "EventName": "RESOURCE_STALLS.SCOREBOARD",
525*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
526*7e74ece3SIan Rogers        "UMask": "0x2"
527*7e74ece3SIan Rogers    },
528*7e74ece3SIan Rogers    {
529*7e74ece3SIan Rogers        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
530*7e74ece3SIan Rogers        "EventCode": "0x5e",
531*7e74ece3SIan Rogers        "EventName": "RS_EVENTS.EMPTY_CYCLES",
532*7e74ece3SIan Rogers        "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)",
533*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
534*7e74ece3SIan Rogers        "UMask": "0x1"
535*7e74ece3SIan Rogers    },
536*7e74ece3SIan Rogers    {
537*7e74ece3SIan Rogers        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
538*7e74ece3SIan Rogers        "CounterMask": "1",
539*7e74ece3SIan Rogers        "EdgeDetect": "1",
540*7e74ece3SIan Rogers        "EventCode": "0x5E",
541*7e74ece3SIan Rogers        "EventName": "RS_EVENTS.EMPTY_END",
542*7e74ece3SIan Rogers        "Invert": "1",
543*7e74ece3SIan Rogers        "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)",
544*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
545*7e74ece3SIan Rogers        "UMask": "0x1"
546*7e74ece3SIan Rogers    },
547*7e74ece3SIan Rogers    {
548*7e74ece3SIan Rogers        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
549*7e74ece3SIan Rogers        "EventCode": "0xa4",
550*7e74ece3SIan Rogers        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
551*7e74ece3SIan Rogers        "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.",
552*7e74ece3SIan Rogers        "SampleAfterValue": "10000003",
553*7e74ece3SIan Rogers        "UMask": "0x2"
554*7e74ece3SIan Rogers    },
555*7e74ece3SIan Rogers    {
556*7e74ece3SIan Rogers        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
557*7e74ece3SIan Rogers        "EventCode": "0xa4",
558*7e74ece3SIan Rogers        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
559*7e74ece3SIan Rogers        "PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by branch mispredictions. This event estimates number of operations that were issued but not retired from the speculative path as well as the out-of-order engine recovery past a branch misprediction.",
560*7e74ece3SIan Rogers        "SampleAfterValue": "10000003",
561*7e74ece3SIan Rogers        "UMask": "0x8"
562*7e74ece3SIan Rogers    },
563*7e74ece3SIan Rogers    {
564*7e74ece3SIan Rogers        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
565*7e74ece3SIan Rogers        "EventName": "TOPDOWN.SLOTS",
566*7e74ece3SIan Rogers        "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).",
567*7e74ece3SIan Rogers        "SampleAfterValue": "10000003",
568*7e74ece3SIan Rogers        "UMask": "0x4"
569*7e74ece3SIan Rogers    },
570*7e74ece3SIan Rogers    {
571*7e74ece3SIan Rogers        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
572*7e74ece3SIan Rogers        "EventCode": "0xa4",
573*7e74ece3SIan Rogers        "EventName": "TOPDOWN.SLOTS_P",
574*7e74ece3SIan Rogers        "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.",
575*7e74ece3SIan Rogers        "SampleAfterValue": "10000003",
576*7e74ece3SIan Rogers        "UMask": "0x1"
577*7e74ece3SIan Rogers    },
578*7e74ece3SIan Rogers    {
579*7e74ece3SIan Rogers        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
580*7e74ece3SIan Rogers        "EventCode": "0x56",
581*7e74ece3SIan Rogers        "EventName": "UOPS_DECODED.DEC0",
582*7e74ece3SIan Rogers        "PublicDescription": "Uops exclusively fetched by decoder 0",
583*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
584*7e74ece3SIan Rogers        "UMask": "0x1"
585*7e74ece3SIan Rogers    },
586*7e74ece3SIan Rogers    {
587*7e74ece3SIan Rogers        "BriefDescription": "Number of uops executed on port 0",
588*7e74ece3SIan Rogers        "EventCode": "0xa1",
589*7e74ece3SIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_0",
590*7e74ece3SIan Rogers        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
591*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
592*7e74ece3SIan Rogers        "UMask": "0x1"
593*7e74ece3SIan Rogers    },
594*7e74ece3SIan Rogers    {
595*7e74ece3SIan Rogers        "BriefDescription": "Number of uops executed on port 1",
596*7e74ece3SIan Rogers        "EventCode": "0xa1",
597*7e74ece3SIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_1",
598*7e74ece3SIan Rogers        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
599*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
600*7e74ece3SIan Rogers        "UMask": "0x2"
601*7e74ece3SIan Rogers    },
602*7e74ece3SIan Rogers    {
603*7e74ece3SIan Rogers        "BriefDescription": "Number of uops executed on port 2 and 3",
604*7e74ece3SIan Rogers        "EventCode": "0xa1",
605*7e74ece3SIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_2_3",
606*7e74ece3SIan Rogers        "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.",
607*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
608*7e74ece3SIan Rogers        "UMask": "0x4"
609*7e74ece3SIan Rogers    },
610*7e74ece3SIan Rogers    {
611*7e74ece3SIan Rogers        "BriefDescription": "Number of uops executed on port 4 and 9",
612*7e74ece3SIan Rogers        "EventCode": "0xa1",
613*7e74ece3SIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_4_9",
614*7e74ece3SIan Rogers        "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.",
615*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
616*7e74ece3SIan Rogers        "UMask": "0x10"
617*7e74ece3SIan Rogers    },
618*7e74ece3SIan Rogers    {
619*7e74ece3SIan Rogers        "BriefDescription": "Number of uops executed on port 5",
620*7e74ece3SIan Rogers        "EventCode": "0xa1",
621*7e74ece3SIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_5",
622*7e74ece3SIan Rogers        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
623*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
624*7e74ece3SIan Rogers        "UMask": "0x20"
625*7e74ece3SIan Rogers    },
626*7e74ece3SIan Rogers    {
627*7e74ece3SIan Rogers        "BriefDescription": "Number of uops executed on port 6",
628*7e74ece3SIan Rogers        "EventCode": "0xa1",
629*7e74ece3SIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_6",
630*7e74ece3SIan Rogers        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
631*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
632*7e74ece3SIan Rogers        "UMask": "0x40"
633*7e74ece3SIan Rogers    },
634*7e74ece3SIan Rogers    {
635*7e74ece3SIan Rogers        "BriefDescription": "Number of uops executed on port 7 and 8",
636*7e74ece3SIan Rogers        "EventCode": "0xa1",
637*7e74ece3SIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_7_8",
638*7e74ece3SIan Rogers        "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.",
639*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
640*7e74ece3SIan Rogers        "UMask": "0x80"
641*7e74ece3SIan Rogers    },
642*7e74ece3SIan Rogers    {
643*7e74ece3SIan Rogers        "BriefDescription": "Number of uops executed on the core.",
644*7e74ece3SIan Rogers        "EventCode": "0xB1",
645*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CORE",
646*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of uops executed from any thread.",
647*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
648*7e74ece3SIan Rogers        "UMask": "0x2"
649*7e74ece3SIan Rogers    },
650*7e74ece3SIan Rogers    {
651*7e74ece3SIan Rogers        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
652*7e74ece3SIan Rogers        "CounterMask": "1",
653*7e74ece3SIan Rogers        "EventCode": "0xB1",
654*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
655*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
656*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
657*7e74ece3SIan Rogers        "UMask": "0x2"
658*7e74ece3SIan Rogers    },
659*7e74ece3SIan Rogers    {
660*7e74ece3SIan Rogers        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
661*7e74ece3SIan Rogers        "CounterMask": "2",
662*7e74ece3SIan Rogers        "EventCode": "0xB1",
663*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
664*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
665*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
666*7e74ece3SIan Rogers        "UMask": "0x2"
667*7e74ece3SIan Rogers    },
668*7e74ece3SIan Rogers    {
669*7e74ece3SIan Rogers        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
670*7e74ece3SIan Rogers        "CounterMask": "3",
671*7e74ece3SIan Rogers        "EventCode": "0xB1",
672*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
673*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
674*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
675*7e74ece3SIan Rogers        "UMask": "0x2"
676*7e74ece3SIan Rogers    },
677*7e74ece3SIan Rogers    {
678*7e74ece3SIan Rogers        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
679*7e74ece3SIan Rogers        "CounterMask": "4",
680*7e74ece3SIan Rogers        "EventCode": "0xB1",
681*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
682*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
683*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
684*7e74ece3SIan Rogers        "UMask": "0x2"
685*7e74ece3SIan Rogers    },
686*7e74ece3SIan Rogers    {
687*7e74ece3SIan Rogers        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
688*7e74ece3SIan Rogers        "CounterMask": "1",
689*7e74ece3SIan Rogers        "EventCode": "0xb1",
690*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
691*7e74ece3SIan Rogers        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
692*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
693*7e74ece3SIan Rogers        "UMask": "0x1"
694*7e74ece3SIan Rogers    },
695*7e74ece3SIan Rogers    {
696*7e74ece3SIan Rogers        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
697*7e74ece3SIan Rogers        "CounterMask": "2",
698*7e74ece3SIan Rogers        "EventCode": "0xb1",
699*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
700*7e74ece3SIan Rogers        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
701*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
702*7e74ece3SIan Rogers        "UMask": "0x1"
703*7e74ece3SIan Rogers    },
704*7e74ece3SIan Rogers    {
705*7e74ece3SIan Rogers        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
706*7e74ece3SIan Rogers        "CounterMask": "3",
707*7e74ece3SIan Rogers        "EventCode": "0xb1",
708*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
709*7e74ece3SIan Rogers        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
710*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
711*7e74ece3SIan Rogers        "UMask": "0x1"
712*7e74ece3SIan Rogers    },
713*7e74ece3SIan Rogers    {
714*7e74ece3SIan Rogers        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
715*7e74ece3SIan Rogers        "CounterMask": "4",
716*7e74ece3SIan Rogers        "EventCode": "0xb1",
717*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
718*7e74ece3SIan Rogers        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
719*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
720*7e74ece3SIan Rogers        "UMask": "0x1"
721*7e74ece3SIan Rogers    },
722*7e74ece3SIan Rogers    {
723*7e74ece3SIan Rogers        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
724*7e74ece3SIan Rogers        "CounterMask": "1",
725*7e74ece3SIan Rogers        "EventCode": "0xB1",
726*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
727*7e74ece3SIan Rogers        "Invert": "1",
728*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
729*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
730*7e74ece3SIan Rogers        "UMask": "0x1"
731*7e74ece3SIan Rogers    },
732*7e74ece3SIan Rogers    {
733*7e74ece3SIan Rogers        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
734*7e74ece3SIan Rogers        "EventCode": "0xb1",
735*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.THREAD",
736*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
737*7e74ece3SIan Rogers        "UMask": "0x1"
738*7e74ece3SIan Rogers    },
739*7e74ece3SIan Rogers    {
740*7e74ece3SIan Rogers        "BriefDescription": "Counts the number of x87 uops dispatched.",
741*7e74ece3SIan Rogers        "EventCode": "0xB1",
742*7e74ece3SIan Rogers        "EventName": "UOPS_EXECUTED.X87",
743*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of x87 uops executed.",
744*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
745*7e74ece3SIan Rogers        "UMask": "0x10"
746*7e74ece3SIan Rogers    },
747*7e74ece3SIan Rogers    {
748*7e74ece3SIan Rogers        "BriefDescription": "Uops that RAT issues to RS",
749*7e74ece3SIan Rogers        "EventCode": "0x0e",
750*7e74ece3SIan Rogers        "EventName": "UOPS_ISSUED.ANY",
751*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
752*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
753*7e74ece3SIan Rogers        "UMask": "0x1"
754*7e74ece3SIan Rogers    },
755*7e74ece3SIan Rogers    {
756*7e74ece3SIan Rogers        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
757*7e74ece3SIan Rogers        "CounterMask": "1",
758*7e74ece3SIan Rogers        "EventCode": "0x0E",
759*7e74ece3SIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
760*7e74ece3SIan Rogers        "Invert": "1",
761*7e74ece3SIan Rogers        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
762*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
763*7e74ece3SIan Rogers        "UMask": "0x1"
764*7e74ece3SIan Rogers    },
765*7e74ece3SIan Rogers    {
766*7e74ece3SIan Rogers        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
767*7e74ece3SIan Rogers        "EventCode": "0x0e",
768*7e74ece3SIan Rogers        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
769*7e74ece3SIan Rogers        "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.",
770*7e74ece3SIan Rogers        "SampleAfterValue": "100003",
771*7e74ece3SIan Rogers        "UMask": "0x2"
772*7e74ece3SIan Rogers    },
773*7e74ece3SIan Rogers    {
774*7e74ece3SIan Rogers        "BriefDescription": "Retirement slots used.",
775*7e74ece3SIan Rogers        "EventCode": "0xc2",
776*7e74ece3SIan Rogers        "EventName": "UOPS_RETIRED.SLOTS",
777*7e74ece3SIan Rogers        "PublicDescription": "Counts the retirement slots used each cycle.",
778*7e74ece3SIan Rogers        "SampleAfterValue": "2000003",
779*7e74ece3SIan Rogers        "UMask": "0x2"
780*7e74ece3SIan Rogers    },
781*7e74ece3SIan Rogers    {
782*7e74ece3SIan Rogers        "BriefDescription": "Cycles without actually retired uops.",
783*7e74ece3SIan Rogers        "CounterMask": "1",
784*7e74ece3SIan Rogers        "EventCode": "0xc2",
785*7e74ece3SIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
786*7e74ece3SIan Rogers        "Invert": "1",
787*7e74ece3SIan Rogers        "PublicDescription": "This event counts cycles without actually retired uops.",
788*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
789*7e74ece3SIan Rogers        "UMask": "0x2"
790*7e74ece3SIan Rogers    },
791*7e74ece3SIan Rogers    {
792*7e74ece3SIan Rogers        "BriefDescription": "Cycles with less than 10 actually retired uops.",
793*7e74ece3SIan Rogers        "CounterMask": "10",
794*7e74ece3SIan Rogers        "EventCode": "0xc2",
795*7e74ece3SIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
796*7e74ece3SIan Rogers        "Invert": "1",
797*7e74ece3SIan Rogers        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
798*7e74ece3SIan Rogers        "SampleAfterValue": "1000003",
799*7e74ece3SIan Rogers        "UMask": "0x2"
800*7e74ece3SIan Rogers    }
801*7e74ece3SIan Rogers]
802