1b115df07SHaiyan Song[
2b115df07SHaiyan Song    {
3*dd7415ceSIan Rogers        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
4b115df07SHaiyan Song        "CollectPEBSRecord": "2",
5b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
6*dd7415ceSIan Rogers        "CounterMask": "1",
7*dd7415ceSIan Rogers        "EventCode": "0x14",
8*dd7415ceSIan Rogers        "EventName": "ARITH.DIVIDER_ACTIVE",
9*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
10*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
11*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
12*dd7415ceSIan Rogers        "Speculative": "1",
13*dd7415ceSIan Rogers        "UMask": "0x9"
14*dd7415ceSIan Rogers    },
15*dd7415ceSIan Rogers    {
16*dd7415ceSIan Rogers        "BriefDescription": "All branch instructions retired.",
17*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
18*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
19*dd7415ceSIan Rogers        "EventCode": "0xc4",
20*dd7415ceSIan Rogers        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
2171fbc431SJin Yao        "PEBS": "1",
22b115df07SHaiyan Song        "PEBScounters": "0,1,2,3,4,5,6,7",
23*dd7415ceSIan Rogers        "PublicDescription": "Counts all branch instructions retired.",
24*dd7415ceSIan Rogers        "SampleAfterValue": "400009"
25b115df07SHaiyan Song    },
26b115df07SHaiyan Song    {
27*dd7415ceSIan Rogers        "BriefDescription": "Conditional branch instructions retired.",
28b115df07SHaiyan Song        "CollectPEBSRecord": "2",
29b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
30*dd7415ceSIan Rogers        "EventCode": "0xc4",
31*dd7415ceSIan Rogers        "EventName": "BR_INST_RETIRED.COND",
32*dd7415ceSIan Rogers        "PEBS": "1",
3371fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
34*dd7415ceSIan Rogers        "PublicDescription": "Counts conditional branch instructions retired.",
35*dd7415ceSIan Rogers        "SampleAfterValue": "400009",
36*dd7415ceSIan Rogers        "UMask": "0x11"
37b115df07SHaiyan Song    },
38b115df07SHaiyan Song    {
3971fbc431SJin Yao        "BriefDescription": "Not taken branch instructions retired.",
40b115df07SHaiyan Song        "CollectPEBSRecord": "2",
41b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
42b115df07SHaiyan Song        "EventCode": "0xc4",
43b115df07SHaiyan Song        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
4471fbc431SJin Yao        "PEBS": "1",
4571fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
4671fbc431SJin Yao        "PublicDescription": "Counts not taken branch instructions retired.",
47b115df07SHaiyan Song        "SampleAfterValue": "400009",
4871fbc431SJin Yao        "UMask": "0x10"
49b115df07SHaiyan Song    },
50b115df07SHaiyan Song    {
51*dd7415ceSIan Rogers        "BriefDescription": "Taken conditional branch instructions retired.",
5271fbc431SJin Yao        "CollectPEBSRecord": "2",
5371fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
54b115df07SHaiyan Song        "EventCode": "0xc4",
55*dd7415ceSIan Rogers        "EventName": "BR_INST_RETIRED.COND_TAKEN",
5671fbc431SJin Yao        "PEBS": "1",
5771fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
58*dd7415ceSIan Rogers        "PublicDescription": "Counts taken conditional branch instructions retired.",
5971fbc431SJin Yao        "SampleAfterValue": "400009",
6071fbc431SJin Yao        "UMask": "0x1"
61b115df07SHaiyan Song    },
62b115df07SHaiyan Song    {
6371fbc431SJin Yao        "BriefDescription": "Far branch instructions retired.",
6471fbc431SJin Yao        "CollectPEBSRecord": "2",
6571fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
6671fbc431SJin Yao        "EventCode": "0xc4",
6771fbc431SJin Yao        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
6871fbc431SJin Yao        "PEBS": "1",
6971fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
7071fbc431SJin Yao        "PublicDescription": "Counts far branch instructions retired.",
7171fbc431SJin Yao        "SampleAfterValue": "100007",
7271fbc431SJin Yao        "UMask": "0x40"
7371fbc431SJin Yao    },
7471fbc431SJin Yao    {
75*dd7415ceSIan Rogers        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
7671fbc431SJin Yao        "CollectPEBSRecord": "2",
7771fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
7871fbc431SJin Yao        "EventCode": "0xc4",
79*dd7415ceSIan Rogers        "EventName": "BR_INST_RETIRED.INDIRECT",
8071fbc431SJin Yao        "PEBS": "1",
8171fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
82*dd7415ceSIan Rogers        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
83*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
84*dd7415ceSIan Rogers        "UMask": "0x80"
8571fbc431SJin Yao    },
8671fbc431SJin Yao    {
8771fbc431SJin Yao        "BriefDescription": "Direct and indirect near call instructions retired.",
8871fbc431SJin Yao        "CollectPEBSRecord": "2",
8971fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
9071fbc431SJin Yao        "EventCode": "0xc4",
9171fbc431SJin Yao        "EventName": "BR_INST_RETIRED.NEAR_CALL",
9271fbc431SJin Yao        "PEBS": "1",
9371fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
9471fbc431SJin Yao        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
9571fbc431SJin Yao        "SampleAfterValue": "100007",
9671fbc431SJin Yao        "UMask": "0x2"
9771fbc431SJin Yao    },
9871fbc431SJin Yao    {
99*dd7415ceSIan Rogers        "BriefDescription": "Return instructions retired.",
10071fbc431SJin Yao        "CollectPEBSRecord": "2",
10171fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
10271fbc431SJin Yao        "EventCode": "0xc4",
103*dd7415ceSIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
10471fbc431SJin Yao        "PEBS": "1",
10571fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
106*dd7415ceSIan Rogers        "PublicDescription": "Counts return instructions retired.",
107*dd7415ceSIan Rogers        "SampleAfterValue": "100007",
108*dd7415ceSIan Rogers        "UMask": "0x8"
10971fbc431SJin Yao    },
11071fbc431SJin Yao    {
111*dd7415ceSIan Rogers        "BriefDescription": "Taken branch instructions retired.",
11271fbc431SJin Yao        "CollectPEBSRecord": "2",
11371fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
114*dd7415ceSIan Rogers        "EventCode": "0xc4",
115*dd7415ceSIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
116*dd7415ceSIan Rogers        "PEBS": "1",
11771fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
118*dd7415ceSIan Rogers        "PublicDescription": "Counts taken branch instructions retired.",
119*dd7415ceSIan Rogers        "SampleAfterValue": "400009",
120*dd7415ceSIan Rogers        "UMask": "0x20"
121*dd7415ceSIan Rogers    },
122*dd7415ceSIan Rogers    {
123*dd7415ceSIan Rogers        "BriefDescription": "All mispredicted branch instructions retired.",
124*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
125*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
126*dd7415ceSIan Rogers        "EventCode": "0xc5",
127*dd7415ceSIan Rogers        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
128*dd7415ceSIan Rogers        "PEBS": "1",
129*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
130*dd7415ceSIan 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.",
131*dd7415ceSIan Rogers        "SampleAfterValue": "50021"
132*dd7415ceSIan Rogers    },
133*dd7415ceSIan Rogers    {
134*dd7415ceSIan Rogers        "BriefDescription": "Mispredicted conditional branch instructions retired.",
135*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
136*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
137*dd7415ceSIan Rogers        "EventCode": "0xc5",
138*dd7415ceSIan Rogers        "EventName": "BR_MISP_RETIRED.COND",
139*dd7415ceSIan Rogers        "PEBS": "1",
140*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
141*dd7415ceSIan Rogers        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
142*dd7415ceSIan Rogers        "SampleAfterValue": "50021",
143*dd7415ceSIan Rogers        "UMask": "0x11"
144*dd7415ceSIan Rogers    },
145*dd7415ceSIan Rogers    {
146*dd7415ceSIan Rogers        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
147*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
148*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
149*dd7415ceSIan Rogers        "EventCode": "0xc5",
150*dd7415ceSIan Rogers        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
151*dd7415ceSIan Rogers        "PEBS": "1",
152*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
153*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
154*dd7415ceSIan Rogers        "SampleAfterValue": "50021",
155*dd7415ceSIan Rogers        "UMask": "0x10"
156*dd7415ceSIan Rogers    },
157*dd7415ceSIan Rogers    {
158*dd7415ceSIan Rogers        "BriefDescription": "number of branch instructions retired that were mispredicted and taken. Non PEBS",
159*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
160*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
161*dd7415ceSIan Rogers        "EventCode": "0xc5",
162*dd7415ceSIan Rogers        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
163*dd7415ceSIan Rogers        "PEBS": "1",
164*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
165*dd7415ceSIan Rogers        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
166*dd7415ceSIan Rogers        "SampleAfterValue": "50021",
16771fbc431SJin Yao        "UMask": "0x1"
16871fbc431SJin Yao    },
16971fbc431SJin Yao    {
170*dd7415ceSIan Rogers        "BriefDescription": "All miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
171*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
172*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
173*dd7415ceSIan Rogers        "EventCode": "0xc5",
174*dd7415ceSIan Rogers        "EventName": "BR_MISP_RETIRED.INDIRECT",
175*dd7415ceSIan Rogers        "PEBS": "1",
176*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
177*dd7415ceSIan Rogers        "PublicDescription": "Counts all miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
178*dd7415ceSIan Rogers        "SampleAfterValue": "50021",
179*dd7415ceSIan Rogers        "UMask": "0x80"
180*dd7415ceSIan Rogers    },
181*dd7415ceSIan Rogers    {
182*dd7415ceSIan Rogers        "BriefDescription": "Mispredicted indirect CALL instructions retired.",
183*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
184*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
185*dd7415ceSIan Rogers        "EventCode": "0xc5",
186*dd7415ceSIan Rogers        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
187*dd7415ceSIan Rogers        "PEBS": "1",
188*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
189*dd7415ceSIan Rogers        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
190*dd7415ceSIan Rogers        "SampleAfterValue": "50021",
191*dd7415ceSIan Rogers        "UMask": "0x2"
192*dd7415ceSIan Rogers    },
193*dd7415ceSIan Rogers    {
194*dd7415ceSIan Rogers        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
195*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
196*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
197*dd7415ceSIan Rogers        "EventCode": "0xc5",
198*dd7415ceSIan Rogers        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
199*dd7415ceSIan Rogers        "PEBS": "1",
200*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
201*dd7415ceSIan Rogers        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
202*dd7415ceSIan Rogers        "SampleAfterValue": "50021",
203*dd7415ceSIan Rogers        "UMask": "0x20"
204*dd7415ceSIan Rogers    },
205*dd7415ceSIan Rogers    {
20671fbc431SJin Yao        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
20771fbc431SJin Yao        "CollectPEBSRecord": "2",
20871fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
20971fbc431SJin Yao        "EventCode": "0xec",
21071fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
21171fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
21271fbc431SJin Yao        "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.",
21371fbc431SJin Yao        "SampleAfterValue": "2000003",
21471fbc431SJin Yao        "Speculative": "1",
21571fbc431SJin Yao        "UMask": "0x2"
21671fbc431SJin Yao    },
21771fbc431SJin Yao    {
21871fbc431SJin Yao        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
21971fbc431SJin Yao        "CollectPEBSRecord": "2",
22071fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
22171fbc431SJin Yao        "EventCode": "0x3C",
22271fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
22371fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
22471fbc431SJin Yao        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
22571fbc431SJin Yao        "SampleAfterValue": "25003",
22671fbc431SJin Yao        "Speculative": "1",
22771fbc431SJin Yao        "UMask": "0x2"
22871fbc431SJin Yao    },
22971fbc431SJin Yao    {
230*dd7415ceSIan Rogers        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
231*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
232*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
233*dd7415ceSIan Rogers        "EventCode": "0x3c",
234*dd7415ceSIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
235*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
236*dd7415ceSIan 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.",
237*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
238*dd7415ceSIan Rogers        "Speculative": "1",
239*dd7415ceSIan Rogers        "UMask": "0x8"
240*dd7415ceSIan Rogers    },
241*dd7415ceSIan Rogers    {
242*dd7415ceSIan Rogers        "BriefDescription": "Reference cycles when the core is not in halt state.",
243*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
244*dd7415ceSIan Rogers        "Counter": "Fixed counter 2",
245*dd7415ceSIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
246*dd7415ceSIan Rogers        "PEBScounters": "34",
247*dd7415ceSIan 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.",
248*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
249*dd7415ceSIan Rogers        "Speculative": "1",
250*dd7415ceSIan Rogers        "UMask": "0x3"
251*dd7415ceSIan Rogers    },
252*dd7415ceSIan Rogers    {
253*dd7415ceSIan Rogers        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
254*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
255*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
256*dd7415ceSIan Rogers        "EventCode": "0x3C",
257*dd7415ceSIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
258*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
259*dd7415ceSIan Rogers        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
260*dd7415ceSIan Rogers        "SampleAfterValue": "25003",
261*dd7415ceSIan Rogers        "Speculative": "1",
262*dd7415ceSIan Rogers        "UMask": "0x1"
263*dd7415ceSIan Rogers    },
264*dd7415ceSIan Rogers    {
265*dd7415ceSIan Rogers        "BriefDescription": "Core cycles when the thread is not in halt state",
266*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
267*dd7415ceSIan Rogers        "Counter": "Fixed counter 1",
268*dd7415ceSIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD",
269*dd7415ceSIan Rogers        "PEBScounters": "33",
270*dd7415ceSIan 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.",
271*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
272*dd7415ceSIan Rogers        "Speculative": "1",
273*dd7415ceSIan Rogers        "UMask": "0x2"
274*dd7415ceSIan Rogers    },
275*dd7415ceSIan Rogers    {
27671fbc431SJin Yao        "BriefDescription": "Thread cycles when thread is not in halt state",
27771fbc431SJin Yao        "CollectPEBSRecord": "2",
27871fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
27971fbc431SJin Yao        "EventCode": "0x3C",
28071fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
28171fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
28271fbc431SJin Yao        "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.",
28371fbc431SJin Yao        "SampleAfterValue": "2000003",
28471fbc431SJin Yao        "Speculative": "1"
28571fbc431SJin Yao    },
28671fbc431SJin Yao    {
287*dd7415ceSIan Rogers        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
28871fbc431SJin Yao        "CollectPEBSRecord": "2",
289*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
290*dd7415ceSIan Rogers        "CounterMask": "8",
291*dd7415ceSIan Rogers        "EventCode": "0xA3",
292*dd7415ceSIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
293*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
294*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
295*dd7415ceSIan Rogers        "Speculative": "1",
296*dd7415ceSIan Rogers        "UMask": "0x8"
29771fbc431SJin Yao    },
29871fbc431SJin Yao    {
299*dd7415ceSIan Rogers        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
30071fbc431SJin Yao        "CollectPEBSRecord": "2",
301*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
302*dd7415ceSIan Rogers        "CounterMask": "1",
303*dd7415ceSIan Rogers        "EventCode": "0xA3",
304*dd7415ceSIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
305*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
306*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
30771fbc431SJin Yao        "Speculative": "1",
30871fbc431SJin Yao        "UMask": "0x1"
30971fbc431SJin Yao    },
31071fbc431SJin Yao    {
311*dd7415ceSIan Rogers        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
31271fbc431SJin Yao        "CollectPEBSRecord": "2",
31371fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
314*dd7415ceSIan Rogers        "CounterMask": "16",
315*dd7415ceSIan Rogers        "EventCode": "0xA3",
316*dd7415ceSIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
31771fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
318*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
319*dd7415ceSIan Rogers        "Speculative": "1",
320*dd7415ceSIan Rogers        "UMask": "0x10"
32171fbc431SJin Yao    },
32271fbc431SJin Yao    {
323*dd7415ceSIan Rogers        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
324*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
325*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
326*dd7415ceSIan Rogers        "CounterMask": "12",
327*dd7415ceSIan Rogers        "EventCode": "0xA3",
328*dd7415ceSIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
329*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
330*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
331*dd7415ceSIan Rogers        "Speculative": "1",
332*dd7415ceSIan Rogers        "UMask": "0xc"
333*dd7415ceSIan Rogers    },
334*dd7415ceSIan Rogers    {
335*dd7415ceSIan Rogers        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
336*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
337*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
338*dd7415ceSIan Rogers        "CounterMask": "5",
339*dd7415ceSIan Rogers        "EventCode": "0xa3",
340*dd7415ceSIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
341*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
342*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
343*dd7415ceSIan Rogers        "Speculative": "1",
344*dd7415ceSIan Rogers        "UMask": "0x5"
345*dd7415ceSIan Rogers    },
346*dd7415ceSIan Rogers    {
347*dd7415ceSIan Rogers        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
34871fbc431SJin Yao        "CollectPEBSRecord": "2",
34971fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
350*dd7415ceSIan Rogers        "CounterMask": "20",
351*dd7415ceSIan Rogers        "EventCode": "0xa3",
352*dd7415ceSIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
35371fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
354*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
355*dd7415ceSIan Rogers        "Speculative": "1",
356*dd7415ceSIan Rogers        "UMask": "0x14"
357*dd7415ceSIan Rogers    },
358*dd7415ceSIan Rogers    {
359*dd7415ceSIan Rogers        "BriefDescription": "Total execution stalls.",
360*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
361*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
362*dd7415ceSIan Rogers        "CounterMask": "4",
363*dd7415ceSIan Rogers        "EventCode": "0xa3",
364*dd7415ceSIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
365*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
366*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
367*dd7415ceSIan Rogers        "Speculative": "1",
368*dd7415ceSIan Rogers        "UMask": "0x4"
369*dd7415ceSIan Rogers    },
370*dd7415ceSIan Rogers    {
371*dd7415ceSIan Rogers        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
372*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
373*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
374*dd7415ceSIan Rogers        "EventCode": "0xa6",
375*dd7415ceSIan Rogers        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
376*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
377*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
378*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
379*dd7415ceSIan Rogers        "Speculative": "1",
380*dd7415ceSIan Rogers        "UMask": "0x2"
381*dd7415ceSIan Rogers    },
382*dd7415ceSIan Rogers    {
383*dd7415ceSIan Rogers        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
384*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
385*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
386*dd7415ceSIan Rogers        "EventCode": "0xa6",
387*dd7415ceSIan Rogers        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
388*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
389*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
390*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
391*dd7415ceSIan Rogers        "Speculative": "1",
392*dd7415ceSIan Rogers        "UMask": "0x4"
393*dd7415ceSIan Rogers    },
394*dd7415ceSIan Rogers    {
395*dd7415ceSIan Rogers        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
396*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
397*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
398*dd7415ceSIan Rogers        "EventCode": "0xa6",
399*dd7415ceSIan Rogers        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
400*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
401*dd7415ceSIan Rogers        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
402*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
403*dd7415ceSIan Rogers        "Speculative": "1",
404*dd7415ceSIan Rogers        "UMask": "0x8"
405*dd7415ceSIan Rogers    },
406*dd7415ceSIan Rogers    {
407*dd7415ceSIan Rogers        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
408*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
409*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
410*dd7415ceSIan Rogers        "EventCode": "0xa6",
411*dd7415ceSIan Rogers        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
412*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
413*dd7415ceSIan Rogers        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
414*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
415*dd7415ceSIan Rogers        "Speculative": "1",
416*dd7415ceSIan Rogers        "UMask": "0x10"
417*dd7415ceSIan Rogers    },
418*dd7415ceSIan Rogers    {
419*dd7415ceSIan Rogers        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
420*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
421*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
422*dd7415ceSIan Rogers        "CounterMask": "2",
423*dd7415ceSIan Rogers        "EventCode": "0xA6",
424*dd7415ceSIan Rogers        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
425*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
426*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
427*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
428*dd7415ceSIan Rogers        "Speculative": "1",
429*dd7415ceSIan Rogers        "UMask": "0x40"
430*dd7415ceSIan Rogers    },
431*dd7415ceSIan Rogers    {
432*dd7415ceSIan Rogers        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
433*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
434*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
435*dd7415ceSIan Rogers        "EventCode": "0x87",
436*dd7415ceSIan Rogers        "EventName": "ILD_STALL.LCP",
437*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
438*dd7415ceSIan 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.",
439*dd7415ceSIan Rogers        "SampleAfterValue": "500009",
440*dd7415ceSIan Rogers        "Speculative": "1",
441*dd7415ceSIan Rogers        "UMask": "0x1"
442*dd7415ceSIan Rogers    },
443*dd7415ceSIan Rogers    {
444*dd7415ceSIan Rogers        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
445*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
446*dd7415ceSIan Rogers        "Counter": "Fixed counter 0",
447*dd7415ceSIan Rogers        "EventName": "INST_RETIRED.ANY",
448*dd7415ceSIan Rogers        "PEBS": "1",
449*dd7415ceSIan Rogers        "PEBScounters": "32",
450*dd7415ceSIan 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.",
451*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
452*dd7415ceSIan Rogers        "UMask": "0x1"
453*dd7415ceSIan Rogers    },
454*dd7415ceSIan Rogers    {
455*dd7415ceSIan Rogers        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
456*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
457*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
458*dd7415ceSIan Rogers        "EventCode": "0xc0",
459*dd7415ceSIan Rogers        "EventName": "INST_RETIRED.ANY_P",
460*dd7415ceSIan Rogers        "PEBS": "1",
461*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
462*dd7415ceSIan 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.",
463*dd7415ceSIan Rogers        "SampleAfterValue": "2000003"
464*dd7415ceSIan Rogers    },
465*dd7415ceSIan Rogers    {
466*dd7415ceSIan Rogers        "BriefDescription": "Number of all retired NOP instructions.",
467*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
468*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
469*dd7415ceSIan Rogers        "EventCode": "0xc0",
470*dd7415ceSIan Rogers        "EventName": "INST_RETIRED.NOP",
471*dd7415ceSIan Rogers        "PEBS": "1",
472*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
47371fbc431SJin Yao        "SampleAfterValue": "2000003",
47471fbc431SJin Yao        "UMask": "0x2"
47571fbc431SJin Yao    },
47671fbc431SJin Yao    {
477*dd7415ceSIan Rogers        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
478*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
479*dd7415ceSIan Rogers        "Counter": "Fixed counter 0",
480*dd7415ceSIan Rogers        "EventName": "INST_RETIRED.PREC_DIST",
481*dd7415ceSIan Rogers        "PEBS": "1",
482*dd7415ceSIan Rogers        "PEBScounters": "32",
483*dd7415ceSIan 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.",
484*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
485*dd7415ceSIan Rogers        "UMask": "0x1"
486*dd7415ceSIan Rogers    },
487*dd7415ceSIan Rogers    {
488*dd7415ceSIan Rogers        "BriefDescription": "Cycles without actually retired instructions.",
489*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
490*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
491*dd7415ceSIan Rogers        "CounterMask": "1",
492*dd7415ceSIan Rogers        "EventCode": "0xc0",
493*dd7415ceSIan Rogers        "EventName": "INST_RETIRED.STALL_CYCLES",
494*dd7415ceSIan Rogers        "Invert": "1",
495*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
496*dd7415ceSIan Rogers        "PublicDescription": "This event counts cycles without actually retired instructions.",
497*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
498*dd7415ceSIan Rogers        "Speculative": "1",
499*dd7415ceSIan Rogers        "UMask": "0x1"
500*dd7415ceSIan Rogers    },
501*dd7415ceSIan Rogers    {
502*dd7415ceSIan Rogers        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
503*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
504*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
505*dd7415ceSIan Rogers        "CounterMask": "1",
506*dd7415ceSIan Rogers        "EventCode": "0x0D",
507*dd7415ceSIan Rogers        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
508*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
509*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
510*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
511*dd7415ceSIan Rogers        "Speculative": "1",
512*dd7415ceSIan Rogers        "UMask": "0x3"
513*dd7415ceSIan Rogers    },
514*dd7415ceSIan Rogers    {
515*dd7415ceSIan Rogers        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
516*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
517*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
518*dd7415ceSIan Rogers        "EventCode": "0x0d",
519*dd7415ceSIan Rogers        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
520*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
521*dd7415ceSIan Rogers        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
522*dd7415ceSIan Rogers        "SampleAfterValue": "500009",
523*dd7415ceSIan Rogers        "Speculative": "1",
524*dd7415ceSIan Rogers        "UMask": "0x80"
525*dd7415ceSIan Rogers    },
526*dd7415ceSIan Rogers    {
527*dd7415ceSIan Rogers        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
528*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
529*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
530*dd7415ceSIan Rogers        "EventCode": "0x0D",
531*dd7415ceSIan Rogers        "EventName": "INT_MISC.RECOVERY_CYCLES",
532*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
533*dd7415ceSIan Rogers        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
534*dd7415ceSIan Rogers        "SampleAfterValue": "500009",
535*dd7415ceSIan Rogers        "Speculative": "1",
536*dd7415ceSIan Rogers        "UMask": "0x1"
537*dd7415ceSIan Rogers    },
538*dd7415ceSIan Rogers    {
539*dd7415ceSIan Rogers        "BriefDescription": "TMA slots where uops got dropped",
540*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
541*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
542*dd7415ceSIan Rogers        "EventCode": "0x0d",
543*dd7415ceSIan Rogers        "EventName": "INT_MISC.UOP_DROPPING",
544*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
545*dd7415ceSIan Rogers        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
546*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
547*dd7415ceSIan Rogers        "Speculative": "1",
548*dd7415ceSIan Rogers        "UMask": "0x10"
549*dd7415ceSIan Rogers    },
550*dd7415ceSIan Rogers    {
551*dd7415ceSIan Rogers        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
552*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
553*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
554*dd7415ceSIan Rogers        "EventCode": "0x03",
555*dd7415ceSIan Rogers        "EventName": "LD_BLOCKS.NO_SR",
556*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
557*dd7415ceSIan 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.",
558*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
559*dd7415ceSIan Rogers        "Speculative": "1",
560*dd7415ceSIan Rogers        "UMask": "0x8"
561*dd7415ceSIan Rogers    },
562*dd7415ceSIan Rogers    {
563*dd7415ceSIan Rogers        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
564*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
565*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
566*dd7415ceSIan Rogers        "EventCode": "0x03",
567*dd7415ceSIan Rogers        "EventName": "LD_BLOCKS.STORE_FORWARD",
568*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
569*dd7415ceSIan 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.",
570*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
571*dd7415ceSIan Rogers        "Speculative": "1",
572*dd7415ceSIan Rogers        "UMask": "0x2"
573*dd7415ceSIan Rogers    },
574*dd7415ceSIan Rogers    {
575*dd7415ceSIan Rogers        "BriefDescription": "False dependencies due to partial compare on address.",
576*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
577*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
578*dd7415ceSIan Rogers        "EventCode": "0x07",
579*dd7415ceSIan Rogers        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
580*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
581*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies due to partial compare on address.",
582*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
583*dd7415ceSIan Rogers        "Speculative": "1",
584*dd7415ceSIan Rogers        "UMask": "0x1"
585*dd7415ceSIan Rogers    },
586*dd7415ceSIan Rogers    {
587*dd7415ceSIan Rogers        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
588*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
589*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
590*dd7415ceSIan Rogers        "EventCode": "0x4c",
591*dd7415ceSIan Rogers        "EventName": "LOAD_HIT_PREFETCH.SWPF",
592*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
593*dd7415ceSIan 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.",
594*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
595*dd7415ceSIan Rogers        "Speculative": "1",
596*dd7415ceSIan Rogers        "UMask": "0x1"
597*dd7415ceSIan Rogers    },
598*dd7415ceSIan Rogers    {
599*dd7415ceSIan Rogers        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
600*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
601*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
602*dd7415ceSIan Rogers        "CounterMask": "1",
603*dd7415ceSIan Rogers        "EventCode": "0xA8",
604*dd7415ceSIan Rogers        "EventName": "LSD.CYCLES_ACTIVE",
605*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
606*dd7415ceSIan Rogers        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
607*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
608*dd7415ceSIan Rogers        "Speculative": "1",
609*dd7415ceSIan Rogers        "UMask": "0x1"
610*dd7415ceSIan Rogers    },
611*dd7415ceSIan Rogers    {
61271fbc431SJin Yao        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
61371fbc431SJin Yao        "CollectPEBSRecord": "2",
61471fbc431SJin Yao        "Counter": "0,1,2,3",
61571fbc431SJin Yao        "CounterMask": "5",
61671fbc431SJin Yao        "EventCode": "0xa8",
61771fbc431SJin Yao        "EventName": "LSD.CYCLES_OK",
61871fbc431SJin Yao        "PEBScounters": "0,1,2,3",
61971fbc431SJin Yao        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
62071fbc431SJin Yao        "SampleAfterValue": "2000003",
62171fbc431SJin Yao        "Speculative": "1",
62271fbc431SJin Yao        "UMask": "0x1"
62371fbc431SJin Yao    },
62471fbc431SJin Yao    {
625*dd7415ceSIan Rogers        "BriefDescription": "Number of Uops delivered by the LSD.",
626*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
627*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
628*dd7415ceSIan Rogers        "EventCode": "0xa8",
629*dd7415ceSIan Rogers        "EventName": "LSD.UOPS",
630*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
631*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
632*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
633*dd7415ceSIan Rogers        "Speculative": "1",
634*dd7415ceSIan Rogers        "UMask": "0x1"
635*dd7415ceSIan Rogers    },
636*dd7415ceSIan Rogers    {
637*dd7415ceSIan Rogers        "BriefDescription": "Number of machine clears (nukes) of any type.",
63871fbc431SJin Yao        "CollectPEBSRecord": "2",
63971fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
640*dd7415ceSIan Rogers        "CounterMask": "1",
641*dd7415ceSIan Rogers        "EdgeDetect": "1",
642*dd7415ceSIan Rogers        "EventCode": "0xc3",
643*dd7415ceSIan Rogers        "EventName": "MACHINE_CLEARS.COUNT",
64471fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
645*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
646*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
647*dd7415ceSIan Rogers        "Speculative": "1",
648*dd7415ceSIan Rogers        "UMask": "0x1"
649*dd7415ceSIan Rogers    },
650*dd7415ceSIan Rogers    {
651*dd7415ceSIan Rogers        "BriefDescription": "Self-modifying code (SMC) detected.",
652*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
653*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
654*dd7415ceSIan Rogers        "EventCode": "0xc3",
655*dd7415ceSIan Rogers        "EventName": "MACHINE_CLEARS.SMC",
656*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
657*dd7415ceSIan Rogers        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
658*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
659*dd7415ceSIan Rogers        "Speculative": "1",
660*dd7415ceSIan Rogers        "UMask": "0x4"
661*dd7415ceSIan Rogers    },
662*dd7415ceSIan Rogers    {
663*dd7415ceSIan Rogers        "BriefDescription": "Increments whenever there is an update to the LBR array.",
664*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
665*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
666*dd7415ceSIan Rogers        "EventCode": "0xcc",
667*dd7415ceSIan Rogers        "EventName": "MISC_RETIRED.LBR_INSERTS",
668*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
669*dd7415ceSIan 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.",
670*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
671*dd7415ceSIan Rogers        "UMask": "0x20"
672*dd7415ceSIan Rogers    },
673*dd7415ceSIan Rogers    {
674*dd7415ceSIan Rogers        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
675*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
676*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
677*dd7415ceSIan Rogers        "EventCode": "0xcc",
678*dd7415ceSIan Rogers        "EventName": "MISC_RETIRED.PAUSE_INST",
679*dd7415ceSIan Rogers        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
680*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
681*dd7415ceSIan Rogers        "UMask": "0x40"
682*dd7415ceSIan Rogers    },
683*dd7415ceSIan Rogers    {
684*dd7415ceSIan Rogers        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
685*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
686*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
687*dd7415ceSIan Rogers        "EventCode": "0xa2",
688*dd7415ceSIan Rogers        "EventName": "RESOURCE_STALLS.SB",
689*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
690*dd7415ceSIan 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.",
691*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
69271fbc431SJin Yao        "Speculative": "1",
69371fbc431SJin Yao        "UMask": "0x8"
69471fbc431SJin Yao    },
69571fbc431SJin Yao    {
696*dd7415ceSIan Rogers        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
69771fbc431SJin Yao        "CollectPEBSRecord": "2",
69871fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
699*dd7415ceSIan Rogers        "EventCode": "0xa2",
700*dd7415ceSIan Rogers        "EventName": "RESOURCE_STALLS.SCOREBOARD",
70171fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
702*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
70371fbc431SJin Yao        "Speculative": "1",
704*dd7415ceSIan Rogers        "UMask": "0x2"
70571fbc431SJin Yao    },
70671fbc431SJin Yao    {
707*dd7415ceSIan Rogers        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
70871fbc431SJin Yao        "CollectPEBSRecord": "2",
70971fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
710*dd7415ceSIan Rogers        "EventCode": "0x5e",
711*dd7415ceSIan Rogers        "EventName": "RS_EVENTS.EMPTY_CYCLES",
71271fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
713*dd7415ceSIan 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)",
71471fbc431SJin Yao        "SampleAfterValue": "1000003",
71571fbc431SJin Yao        "Speculative": "1",
71671fbc431SJin Yao        "UMask": "0x1"
71771fbc431SJin Yao    },
71871fbc431SJin Yao    {
719*dd7415ceSIan Rogers        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
72071fbc431SJin Yao        "CollectPEBSRecord": "2",
72171fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
72271fbc431SJin Yao        "CounterMask": "1",
723*dd7415ceSIan Rogers        "EdgeDetect": "1",
724*dd7415ceSIan Rogers        "EventCode": "0x5E",
725*dd7415ceSIan Rogers        "EventName": "RS_EVENTS.EMPTY_END",
72671fbc431SJin Yao        "Invert": "1",
72771fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
728*dd7415ceSIan 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)",
729*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
730*dd7415ceSIan Rogers        "Speculative": "1",
731*dd7415ceSIan Rogers        "UMask": "0x1"
732*dd7415ceSIan Rogers    },
733*dd7415ceSIan Rogers    {
734*dd7415ceSIan Rogers        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
735*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
736*dd7415ceSIan Rogers        "Counter": "0,1,2,3",
737*dd7415ceSIan Rogers        "EventCode": "0x56",
738*dd7415ceSIan Rogers        "EventName": "UOPS_DECODED.DEC0",
739*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3",
740*dd7415ceSIan Rogers        "PublicDescription": "Uops exclusively fetched by decoder 0",
74171fbc431SJin Yao        "SampleAfterValue": "1000003",
74271fbc431SJin Yao        "Speculative": "1",
74371fbc431SJin Yao        "UMask": "0x1"
74471fbc431SJin Yao    },
74571fbc431SJin Yao    {
746*dd7415ceSIan Rogers        "BriefDescription": "Number of uops executed on port 0",
74771fbc431SJin Yao        "CollectPEBSRecord": "2",
74871fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
749*dd7415ceSIan Rogers        "EventCode": "0xa1",
750*dd7415ceSIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_0",
75171fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
752*dd7415ceSIan 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.",
753*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
754*dd7415ceSIan Rogers        "Speculative": "1",
755*dd7415ceSIan Rogers        "UMask": "0x1"
756*dd7415ceSIan Rogers    },
757*dd7415ceSIan Rogers    {
758*dd7415ceSIan Rogers        "BriefDescription": "Number of uops executed on port 1",
759*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
760*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
761*dd7415ceSIan Rogers        "EventCode": "0xa1",
762*dd7415ceSIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_1",
763*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
764*dd7415ceSIan 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.",
765*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
766*dd7415ceSIan Rogers        "Speculative": "1",
767*dd7415ceSIan Rogers        "UMask": "0x2"
768*dd7415ceSIan Rogers    },
769*dd7415ceSIan Rogers    {
770*dd7415ceSIan Rogers        "BriefDescription": "Number of uops executed on port 2 and 3",
771*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
772*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
773*dd7415ceSIan Rogers        "EventCode": "0xa1",
774*dd7415ceSIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_2_3",
775*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
776*dd7415ceSIan 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.",
777*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
778*dd7415ceSIan Rogers        "Speculative": "1",
779*dd7415ceSIan Rogers        "UMask": "0x4"
780*dd7415ceSIan Rogers    },
781*dd7415ceSIan Rogers    {
782*dd7415ceSIan Rogers        "BriefDescription": "Number of uops executed on port 4 and 9",
783*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
784*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
785*dd7415ceSIan Rogers        "EventCode": "0xa1",
786*dd7415ceSIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_4_9",
787*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
788*dd7415ceSIan 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.",
789*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
790*dd7415ceSIan Rogers        "Speculative": "1",
791*dd7415ceSIan Rogers        "UMask": "0x10"
792*dd7415ceSIan Rogers    },
793*dd7415ceSIan Rogers    {
794*dd7415ceSIan Rogers        "BriefDescription": "Number of uops executed on port 5",
795*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
796*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
797*dd7415ceSIan Rogers        "EventCode": "0xa1",
798*dd7415ceSIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_5",
799*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
800*dd7415ceSIan 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.",
801*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
802*dd7415ceSIan Rogers        "Speculative": "1",
803*dd7415ceSIan Rogers        "UMask": "0x20"
804*dd7415ceSIan Rogers    },
805*dd7415ceSIan Rogers    {
806*dd7415ceSIan Rogers        "BriefDescription": "Number of uops executed on port 6",
807*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
808*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
809*dd7415ceSIan Rogers        "EventCode": "0xa1",
810*dd7415ceSIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_6",
811*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
812*dd7415ceSIan 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.",
813*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
814*dd7415ceSIan Rogers        "Speculative": "1",
815*dd7415ceSIan Rogers        "UMask": "0x40"
816*dd7415ceSIan Rogers    },
817*dd7415ceSIan Rogers    {
818*dd7415ceSIan Rogers        "BriefDescription": "Number of uops executed on port 7 and 8",
819*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
820*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
821*dd7415ceSIan Rogers        "EventCode": "0xa1",
822*dd7415ceSIan Rogers        "EventName": "UOPS_DISPATCHED.PORT_7_8",
823*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
824*dd7415ceSIan 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.",
825*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
826*dd7415ceSIan Rogers        "Speculative": "1",
827*dd7415ceSIan Rogers        "UMask": "0x80"
828*dd7415ceSIan Rogers    },
829*dd7415ceSIan Rogers    {
830*dd7415ceSIan Rogers        "BriefDescription": "Number of uops executed on the core.",
831*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
832*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
833*dd7415ceSIan Rogers        "EventCode": "0xB1",
834*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.CORE",
835*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
836*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of uops executed from any thread.",
83771fbc431SJin Yao        "SampleAfterValue": "2000003",
83871fbc431SJin Yao        "Speculative": "1",
83971fbc431SJin Yao        "UMask": "0x2"
84071fbc431SJin Yao    },
84171fbc431SJin Yao    {
84271fbc431SJin Yao        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
84371fbc431SJin Yao        "CollectPEBSRecord": "2",
84471fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
84571fbc431SJin Yao        "CounterMask": "1",
84671fbc431SJin Yao        "EventCode": "0xB1",
84771fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
84871fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
84971fbc431SJin Yao        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
85071fbc431SJin Yao        "SampleAfterValue": "2000003",
85171fbc431SJin Yao        "Speculative": "1",
85271fbc431SJin Yao        "UMask": "0x2"
85371fbc431SJin Yao    },
85471fbc431SJin Yao    {
855*dd7415ceSIan Rogers        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
85671fbc431SJin Yao        "CollectPEBSRecord": "2",
85771fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
858*dd7415ceSIan Rogers        "CounterMask": "2",
859*dd7415ceSIan Rogers        "EventCode": "0xB1",
860*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
86171fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
862*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
863*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
864*dd7415ceSIan Rogers        "Speculative": "1",
865*dd7415ceSIan Rogers        "UMask": "0x2"
86671fbc431SJin Yao    },
86771fbc431SJin Yao    {
868*dd7415ceSIan Rogers        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
86971fbc431SJin Yao        "CollectPEBSRecord": "2",
87071fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
871*dd7415ceSIan Rogers        "CounterMask": "3",
872*dd7415ceSIan Rogers        "EventCode": "0xB1",
873*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
87471fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
875*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
876*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
877*dd7415ceSIan Rogers        "Speculative": "1",
878*dd7415ceSIan Rogers        "UMask": "0x2"
879*dd7415ceSIan Rogers    },
880*dd7415ceSIan Rogers    {
881*dd7415ceSIan Rogers        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
882*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
883*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
884*dd7415ceSIan Rogers        "CounterMask": "4",
885*dd7415ceSIan Rogers        "EventCode": "0xB1",
886*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
887*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
888*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
889*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
890*dd7415ceSIan Rogers        "Speculative": "1",
891*dd7415ceSIan Rogers        "UMask": "0x2"
892*dd7415ceSIan Rogers    },
893*dd7415ceSIan Rogers    {
894*dd7415ceSIan Rogers        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
895*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
896*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
897*dd7415ceSIan Rogers        "CounterMask": "1",
898*dd7415ceSIan Rogers        "EventCode": "0xb1",
899*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
900*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
901*dd7415ceSIan Rogers        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
902*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
903*dd7415ceSIan Rogers        "Speculative": "1",
904*dd7415ceSIan Rogers        "UMask": "0x1"
905*dd7415ceSIan Rogers    },
906*dd7415ceSIan Rogers    {
907*dd7415ceSIan Rogers        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
908*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
909*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
910*dd7415ceSIan Rogers        "CounterMask": "2",
911*dd7415ceSIan Rogers        "EventCode": "0xb1",
912*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
913*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
914*dd7415ceSIan Rogers        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
915*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
916*dd7415ceSIan Rogers        "Speculative": "1",
917*dd7415ceSIan Rogers        "UMask": "0x1"
918*dd7415ceSIan Rogers    },
919*dd7415ceSIan Rogers    {
920*dd7415ceSIan Rogers        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
921*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
922*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
923*dd7415ceSIan Rogers        "CounterMask": "3",
924*dd7415ceSIan Rogers        "EventCode": "0xb1",
925*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
926*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
927*dd7415ceSIan Rogers        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
928*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
929*dd7415ceSIan Rogers        "Speculative": "1",
930*dd7415ceSIan Rogers        "UMask": "0x1"
931*dd7415ceSIan Rogers    },
932*dd7415ceSIan Rogers    {
933*dd7415ceSIan Rogers        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
934*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
935*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
936*dd7415ceSIan Rogers        "CounterMask": "4",
937*dd7415ceSIan Rogers        "EventCode": "0xb1",
938*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
939*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
940*dd7415ceSIan Rogers        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
941*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
942*dd7415ceSIan Rogers        "Speculative": "1",
943*dd7415ceSIan Rogers        "UMask": "0x1"
944*dd7415ceSIan Rogers    },
945*dd7415ceSIan Rogers    {
946*dd7415ceSIan Rogers        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
947*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
948*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
949*dd7415ceSIan Rogers        "CounterMask": "1",
950*dd7415ceSIan Rogers        "EventCode": "0xB1",
951*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
952*dd7415ceSIan Rogers        "Invert": "1",
953*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
954*dd7415ceSIan Rogers        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
955*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
956*dd7415ceSIan Rogers        "Speculative": "1",
957*dd7415ceSIan Rogers        "UMask": "0x1"
958*dd7415ceSIan Rogers    },
959*dd7415ceSIan Rogers    {
960*dd7415ceSIan Rogers        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
961*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
962*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
963*dd7415ceSIan Rogers        "EventCode": "0xb1",
964*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.THREAD",
965*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
966*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
967*dd7415ceSIan Rogers        "Speculative": "1",
968*dd7415ceSIan Rogers        "UMask": "0x1"
969*dd7415ceSIan Rogers    },
970*dd7415ceSIan Rogers    {
971*dd7415ceSIan Rogers        "BriefDescription": "Counts the number of x87 uops dispatched.",
972*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
973*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
974*dd7415ceSIan Rogers        "EventCode": "0xB1",
975*dd7415ceSIan Rogers        "EventName": "UOPS_EXECUTED.X87",
976*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
977*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of x87 uops executed.",
978*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
97971fbc431SJin Yao        "Speculative": "1",
98071fbc431SJin Yao        "UMask": "0x10"
98171fbc431SJin Yao    },
98271fbc431SJin Yao    {
983*dd7415ceSIan Rogers        "BriefDescription": "Uops that RAT issues to RS",
98471fbc431SJin Yao        "CollectPEBSRecord": "2",
98571fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
986*dd7415ceSIan Rogers        "EventCode": "0x0e",
987*dd7415ceSIan Rogers        "EventName": "UOPS_ISSUED.ANY",
98871fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
989*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
99071fbc431SJin Yao        "SampleAfterValue": "2000003",
99171fbc431SJin Yao        "Speculative": "1",
99271fbc431SJin Yao        "UMask": "0x1"
99371fbc431SJin Yao    },
99471fbc431SJin Yao    {
995*dd7415ceSIan Rogers        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
99671fbc431SJin Yao        "CollectPEBSRecord": "2",
99771fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
998*dd7415ceSIan Rogers        "CounterMask": "1",
999*dd7415ceSIan Rogers        "EventCode": "0x0E",
1000*dd7415ceSIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
1001*dd7415ceSIan Rogers        "Invert": "1",
100271fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
1003*dd7415ceSIan 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.",
1004*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
1005*dd7415ceSIan Rogers        "Speculative": "1",
1006*dd7415ceSIan Rogers        "UMask": "0x1"
1007*dd7415ceSIan Rogers    },
1008*dd7415ceSIan Rogers    {
1009*dd7415ceSIan Rogers        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
1010*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
1011*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
1012*dd7415ceSIan Rogers        "EventCode": "0x0e",
1013*dd7415ceSIan Rogers        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
1014*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
1015*dd7415ceSIan 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.",
1016*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
1017*dd7415ceSIan Rogers        "Speculative": "1",
1018*dd7415ceSIan Rogers        "UMask": "0x2"
1019*dd7415ceSIan Rogers    },
1020*dd7415ceSIan Rogers    {
1021*dd7415ceSIan Rogers        "BriefDescription": "Retirement slots used.",
1022*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
1023*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
1024*dd7415ceSIan Rogers        "EventCode": "0xc2",
1025*dd7415ceSIan Rogers        "EventName": "UOPS_RETIRED.SLOTS",
1026*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
1027*dd7415ceSIan Rogers        "PublicDescription": "Counts the retirement slots used each cycle.",
1028*dd7415ceSIan Rogers        "SampleAfterValue": "2000003",
1029*dd7415ceSIan Rogers        "UMask": "0x2"
1030*dd7415ceSIan Rogers    },
1031*dd7415ceSIan Rogers    {
1032*dd7415ceSIan Rogers        "BriefDescription": "Cycles without actually retired uops.",
1033*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
1034*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
1035*dd7415ceSIan Rogers        "CounterMask": "1",
1036*dd7415ceSIan Rogers        "EventCode": "0xc2",
1037*dd7415ceSIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1038*dd7415ceSIan Rogers        "Invert": "1",
1039*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
1040*dd7415ceSIan Rogers        "PublicDescription": "This event counts cycles without actually retired uops.",
1041*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
1042*dd7415ceSIan Rogers        "Speculative": "1",
1043*dd7415ceSIan Rogers        "UMask": "0x2"
1044*dd7415ceSIan Rogers    },
1045*dd7415ceSIan Rogers    {
1046*dd7415ceSIan Rogers        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1047*dd7415ceSIan Rogers        "CollectPEBSRecord": "2",
1048*dd7415ceSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
1049*dd7415ceSIan Rogers        "CounterMask": "10",
1050*dd7415ceSIan Rogers        "EventCode": "0xc2",
1051*dd7415ceSIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1052*dd7415ceSIan Rogers        "Invert": "1",
1053*dd7415ceSIan Rogers        "PEBScounters": "0,1,2,3,4,5,6,7",
1054*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
1055*dd7415ceSIan Rogers        "SampleAfterValue": "1000003",
1056*dd7415ceSIan Rogers        "UMask": "0x2"
1057b115df07SHaiyan Song    }
1058b115df07SHaiyan Song]