1b115df07SHaiyan Song[
2b115df07SHaiyan Song    {
3*71fbc431SJin Yao        "BriefDescription": "Mispredicted indirect CALL instructions retired.",
4b115df07SHaiyan Song        "CollectPEBSRecord": "2",
5b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
6*71fbc431SJin Yao        "EventCode": "0xc5",
7*71fbc431SJin Yao        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
8*71fbc431SJin Yao        "PEBS": "1",
9b115df07SHaiyan Song        "PEBScounters": "0,1,2,3,4,5,6,7",
10*71fbc431SJin Yao        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
11*71fbc431SJin Yao        "SampleAfterValue": "50021",
12*71fbc431SJin Yao        "UMask": "0x2"
13b115df07SHaiyan Song    },
14b115df07SHaiyan Song    {
15*71fbc431SJin Yao        "BriefDescription": "Number of uops executed on the core.",
16b115df07SHaiyan Song        "CollectPEBSRecord": "2",
17b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
18b115df07SHaiyan Song        "EventCode": "0xB1",
19b115df07SHaiyan Song        "EventName": "UOPS_EXECUTED.CORE",
20*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
21*71fbc431SJin Yao        "PublicDescription": "Counts the number of uops executed from any thread.",
22b115df07SHaiyan Song        "SampleAfterValue": "2000003",
23*71fbc431SJin Yao        "Speculative": "1",
24*71fbc431SJin Yao        "UMask": "0x2"
25b115df07SHaiyan Song    },
26b115df07SHaiyan Song    {
27*71fbc431SJin Yao        "BriefDescription": "Number of uops executed on port 4 and 9",
28b115df07SHaiyan Song        "CollectPEBSRecord": "2",
29b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
30*71fbc431SJin Yao        "EventCode": "0xa1",
31*71fbc431SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_4_9",
32b115df07SHaiyan Song        "PEBScounters": "0,1,2,3,4,5,6,7",
33*71fbc431SJin Yao        "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.",
34b115df07SHaiyan Song        "SampleAfterValue": "2000003",
35*71fbc431SJin Yao        "Speculative": "1",
36*71fbc431SJin Yao        "UMask": "0x10"
37b115df07SHaiyan Song    },
38b115df07SHaiyan Song    {
39*71fbc431SJin Yao        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
40b115df07SHaiyan Song        "CollectPEBSRecord": "2",
41b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
42*71fbc431SJin Yao        "EventCode": "0xb1",
43*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.THREAD",
44b115df07SHaiyan Song        "PEBScounters": "0,1,2,3,4,5,6,7",
45b115df07SHaiyan Song        "SampleAfterValue": "2000003",
46*71fbc431SJin Yao        "Speculative": "1",
47*71fbc431SJin Yao        "UMask": "0x1"
48b115df07SHaiyan Song    },
49b115df07SHaiyan Song    {
50*71fbc431SJin Yao        "BriefDescription": "Not taken branch instructions retired.",
51b115df07SHaiyan Song        "CollectPEBSRecord": "2",
52b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
53b115df07SHaiyan Song        "EventCode": "0xc4",
54b115df07SHaiyan Song        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
55*71fbc431SJin Yao        "PEBS": "1",
56*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
57*71fbc431SJin Yao        "PublicDescription": "Counts not taken branch instructions retired.",
58b115df07SHaiyan Song        "SampleAfterValue": "400009",
59*71fbc431SJin Yao        "UMask": "0x10"
60b115df07SHaiyan Song    },
61b115df07SHaiyan Song    {
62*71fbc431SJin Yao        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
63b115df07SHaiyan Song        "CollectPEBSRecord": "2",
64*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
65*71fbc431SJin Yao        "EventCode": "0x0e",
66*71fbc431SJin Yao        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
67*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
68*71fbc431SJin Yao        "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.",
69*71fbc431SJin Yao        "SampleAfterValue": "100003",
70*71fbc431SJin Yao        "Speculative": "1",
71*71fbc431SJin Yao        "UMask": "0x2"
72*71fbc431SJin Yao    },
73*71fbc431SJin Yao    {
74*71fbc431SJin Yao        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
75*71fbc431SJin Yao        "CollectPEBSRecord": "2",
76*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
77*71fbc431SJin Yao        "CounterMask": "1",
78*71fbc431SJin Yao        "EventCode": "0xB1",
79*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
80*71fbc431SJin Yao        "Invert": "1",
81*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
82*71fbc431SJin Yao        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
83*71fbc431SJin Yao        "SampleAfterValue": "2000003",
84*71fbc431SJin Yao        "Speculative": "1",
85*71fbc431SJin Yao        "UMask": "0x1"
86*71fbc431SJin Yao    },
87*71fbc431SJin Yao    {
88*71fbc431SJin Yao        "BriefDescription": "All indirect branch instructions retired (excluding RETs. TSX aborts are considered indirect branch).",
89*71fbc431SJin Yao        "CollectPEBSRecord": "2",
90*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
91b115df07SHaiyan Song        "EventCode": "0xc4",
92b115df07SHaiyan Song        "EventName": "BR_INST_RETIRED.INDIRECT",
93*71fbc431SJin Yao        "PEBS": "1",
94*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
95*71fbc431SJin Yao        "PublicDescription": "Counts all indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
96b115df07SHaiyan Song        "SampleAfterValue": "100003",
97*71fbc431SJin Yao        "UMask": "0x80"
98b115df07SHaiyan Song    },
99b115df07SHaiyan Song    {
100*71fbc431SJin Yao        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
101b115df07SHaiyan Song        "CollectPEBSRecord": "2",
102b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
103*71fbc431SJin Yao        "EventCode": "0xa6",
104*71fbc431SJin Yao        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
105b115df07SHaiyan Song        "PEBScounters": "0,1,2,3,4,5,6,7",
106*71fbc431SJin Yao        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
107b115df07SHaiyan Song        "SampleAfterValue": "2000003",
108*71fbc431SJin Yao        "Speculative": "1",
109*71fbc431SJin Yao        "UMask": "0x10"
110b115df07SHaiyan Song    },
111b115df07SHaiyan Song    {
112*71fbc431SJin Yao        "BriefDescription": "Number of uops executed on port 2 and 3",
113b115df07SHaiyan Song        "CollectPEBSRecord": "2",
114*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
115*71fbc431SJin Yao        "EventCode": "0xa1",
116*71fbc431SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_2_3",
117*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
118*71fbc431SJin Yao        "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.",
119*71fbc431SJin Yao        "SampleAfterValue": "2000003",
120*71fbc431SJin Yao        "Speculative": "1",
121*71fbc431SJin Yao        "UMask": "0x4"
122*71fbc431SJin Yao    },
123*71fbc431SJin Yao    {
124*71fbc431SJin Yao        "BriefDescription": "Taken branch instructions retired.",
125*71fbc431SJin Yao        "CollectPEBSRecord": "2",
126*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
127*71fbc431SJin Yao        "EventCode": "0xc4",
128*71fbc431SJin Yao        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
129*71fbc431SJin Yao        "PEBS": "1",
130*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
131*71fbc431SJin Yao        "PublicDescription": "Counts taken branch instructions retired.",
132*71fbc431SJin Yao        "SampleAfterValue": "400009",
133*71fbc431SJin Yao        "UMask": "0x20"
134*71fbc431SJin Yao    },
135*71fbc431SJin Yao    {
136*71fbc431SJin Yao        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
137*71fbc431SJin Yao        "CollectPEBSRecord": "2",
138b115df07SHaiyan Song        "Counter": "0,1,2,3",
139*71fbc431SJin Yao        "EventCode": "0x4c",
140*71fbc431SJin Yao        "EventName": "LOAD_HIT_PREFETCH.SWPF",
141b115df07SHaiyan Song        "PEBScounters": "0,1,2,3",
142*71fbc431SJin Yao        "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.",
143b115df07SHaiyan Song        "SampleAfterValue": "100003",
144*71fbc431SJin Yao        "Speculative": "1",
145*71fbc431SJin Yao        "UMask": "0x1"
146b115df07SHaiyan Song    },
147b115df07SHaiyan Song    {
148*71fbc431SJin Yao        "BriefDescription": "Number of uops executed on port 1",
149b115df07SHaiyan Song        "CollectPEBSRecord": "2",
150b115df07SHaiyan Song        "Counter": "0,1,2,3,4,5,6,7",
151*71fbc431SJin Yao        "EventCode": "0xa1",
152*71fbc431SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_1",
153b115df07SHaiyan Song        "PEBScounters": "0,1,2,3,4,5,6,7",
154*71fbc431SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
155b115df07SHaiyan Song        "SampleAfterValue": "2000003",
156*71fbc431SJin Yao        "Speculative": "1",
157*71fbc431SJin Yao        "UMask": "0x2"
158*71fbc431SJin Yao    },
159*71fbc431SJin Yao    {
160*71fbc431SJin Yao        "BriefDescription": "Number of Uops delivered by the LSD.",
161*71fbc431SJin Yao        "CollectPEBSRecord": "2",
162*71fbc431SJin Yao        "Counter": "0,1,2,3",
163*71fbc431SJin Yao        "EventCode": "0xa8",
164*71fbc431SJin Yao        "EventName": "LSD.UOPS",
165*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
166*71fbc431SJin Yao        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
167*71fbc431SJin Yao        "SampleAfterValue": "2000003",
168*71fbc431SJin Yao        "Speculative": "1",
169*71fbc431SJin Yao        "UMask": "0x1"
170*71fbc431SJin Yao    },
171*71fbc431SJin Yao    {
172*71fbc431SJin Yao        "BriefDescription": "Number of uops executed on port 5",
173*71fbc431SJin Yao        "CollectPEBSRecord": "2",
174*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
175*71fbc431SJin Yao        "EventCode": "0xa1",
176*71fbc431SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_5",
177*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
178*71fbc431SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
179*71fbc431SJin Yao        "SampleAfterValue": "2000003",
180*71fbc431SJin Yao        "Speculative": "1",
181*71fbc431SJin Yao        "UMask": "0x20"
182*71fbc431SJin Yao    },
183*71fbc431SJin Yao    {
184*71fbc431SJin Yao        "BriefDescription": "Number of uops executed on port 6",
185*71fbc431SJin Yao        "CollectPEBSRecord": "2",
186*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
187*71fbc431SJin Yao        "EventCode": "0xa1",
188*71fbc431SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_6",
189*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
190*71fbc431SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
191*71fbc431SJin Yao        "SampleAfterValue": "2000003",
192*71fbc431SJin Yao        "Speculative": "1",
193*71fbc431SJin Yao        "UMask": "0x40"
194*71fbc431SJin Yao    },
195*71fbc431SJin Yao    {
196*71fbc431SJin Yao        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
197*71fbc431SJin Yao        "CollectPEBSRecord": "2",
198*71fbc431SJin Yao        "Counter": "0,1,2,3",
199*71fbc431SJin Yao        "CounterMask": "1",
200*71fbc431SJin Yao        "EventCode": "0xA8",
201*71fbc431SJin Yao        "EventName": "LSD.CYCLES_ACTIVE",
202*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
203*71fbc431SJin Yao        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
204*71fbc431SJin Yao        "SampleAfterValue": "2000003",
205*71fbc431SJin Yao        "Speculative": "1",
206*71fbc431SJin Yao        "UMask": "0x1"
207*71fbc431SJin Yao    },
208*71fbc431SJin Yao    {
209*71fbc431SJin Yao        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
210*71fbc431SJin Yao        "CollectPEBSRecord": "2",
211*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
212*71fbc431SJin Yao        "EventCode": "0x0D",
213*71fbc431SJin Yao        "EventName": "INT_MISC.RECOVERY_CYCLES",
214*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
215*71fbc431SJin Yao        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
216*71fbc431SJin Yao        "SampleAfterValue": "500009",
217*71fbc431SJin Yao        "Speculative": "1",
218*71fbc431SJin Yao        "UMask": "0x1"
219*71fbc431SJin Yao    },
220*71fbc431SJin Yao    {
221*71fbc431SJin Yao        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
222*71fbc431SJin Yao        "CollectPEBSRecord": "2",
223*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
224*71fbc431SJin Yao        "CounterMask": "2",
225*71fbc431SJin Yao        "EventCode": "0xA6",
226*71fbc431SJin Yao        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
227*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
228*71fbc431SJin Yao        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
229*71fbc431SJin Yao        "SampleAfterValue": "1000003",
230*71fbc431SJin Yao        "Speculative": "1",
231*71fbc431SJin Yao        "UMask": "0x40"
232*71fbc431SJin Yao    },
233*71fbc431SJin Yao    {
234*71fbc431SJin Yao        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
235*71fbc431SJin Yao        "CollectPEBSRecord": "2",
236*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
237*71fbc431SJin Yao        "EventCode": "0x3C",
238*71fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
239*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
240*71fbc431SJin Yao        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
241*71fbc431SJin Yao        "SampleAfterValue": "25003",
242*71fbc431SJin Yao        "Speculative": "1",
243*71fbc431SJin Yao        "UMask": "0x1"
244*71fbc431SJin Yao    },
245*71fbc431SJin Yao    {
246*71fbc431SJin Yao        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
247*71fbc431SJin Yao        "CollectPEBSRecord": "2",
248*71fbc431SJin Yao        "Counter": "0,1,2,3",
249*71fbc431SJin Yao        "EventCode": "0x87",
250*71fbc431SJin Yao        "EventName": "ILD_STALL.LCP",
251*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
252*71fbc431SJin Yao        "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.",
253*71fbc431SJin Yao        "SampleAfterValue": "500009",
254*71fbc431SJin Yao        "Speculative": "1",
255*71fbc431SJin Yao        "UMask": "0x1"
256*71fbc431SJin Yao    },
257*71fbc431SJin Yao    {
258*71fbc431SJin Yao        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
259*71fbc431SJin Yao        "CollectPEBSRecord": "2",
260*71fbc431SJin Yao        "Counter": "0,1,2,3",
261*71fbc431SJin Yao        "EventCode": "0x07",
262*71fbc431SJin Yao        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
263*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
264*71fbc431SJin Yao        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies in MOB due to partial compare on address.",
265*71fbc431SJin Yao        "SampleAfterValue": "100003",
266*71fbc431SJin Yao        "Speculative": "1",
267*71fbc431SJin Yao        "UMask": "0x1"
268*71fbc431SJin Yao    },
269*71fbc431SJin Yao    {
270*71fbc431SJin Yao        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
271*71fbc431SJin Yao        "CollectPEBSRecord": "2",
272*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
273*71fbc431SJin Yao        "EventCode": "0x5e",
274*71fbc431SJin Yao        "EventName": "RS_EVENTS.EMPTY_CYCLES",
275*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
276*71fbc431SJin Yao        "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)",
277*71fbc431SJin Yao        "SampleAfterValue": "1000003",
278*71fbc431SJin Yao        "Speculative": "1",
279*71fbc431SJin Yao        "UMask": "0x1"
280*71fbc431SJin Yao    },
281*71fbc431SJin Yao    {
282*71fbc431SJin Yao        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
283*71fbc431SJin Yao        "CollectPEBSRecord": "2",
284*71fbc431SJin Yao        "Counter": "0,1,2,3",
285*71fbc431SJin Yao        "EventCode": "0x03",
286*71fbc431SJin Yao        "EventName": "LD_BLOCKS.STORE_FORWARD",
287*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
288*71fbc431SJin Yao        "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.",
289*71fbc431SJin Yao        "SampleAfterValue": "100003",
290*71fbc431SJin Yao        "Speculative": "1",
291*71fbc431SJin Yao        "UMask": "0x2"
292*71fbc431SJin Yao    },
293*71fbc431SJin Yao    {
294*71fbc431SJin Yao        "BriefDescription": "Cycles without actually retired uops.",
295*71fbc431SJin Yao        "CollectPEBSRecord": "2",
296*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
297*71fbc431SJin Yao        "CounterMask": "1",
298*71fbc431SJin Yao        "EventCode": "0xc2",
299*71fbc431SJin Yao        "EventName": "UOPS_RETIRED.STALL_CYCLES",
300*71fbc431SJin Yao        "Invert": "1",
301*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
302*71fbc431SJin Yao        "PublicDescription": "This event counts cycles without actually retired uops.",
303*71fbc431SJin Yao        "SampleAfterValue": "1000003",
304*71fbc431SJin Yao        "Speculative": "1",
305*71fbc431SJin Yao        "UMask": "0x2"
306*71fbc431SJin Yao    },
307*71fbc431SJin Yao    {
308*71fbc431SJin Yao        "BriefDescription": "Far branch instructions retired.",
309*71fbc431SJin Yao        "CollectPEBSRecord": "2",
310*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
311*71fbc431SJin Yao        "EventCode": "0xc4",
312*71fbc431SJin Yao        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
313*71fbc431SJin Yao        "PEBS": "1",
314*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
315*71fbc431SJin Yao        "PublicDescription": "Counts far branch instructions retired.",
316*71fbc431SJin Yao        "SampleAfterValue": "100007",
317*71fbc431SJin Yao        "UMask": "0x40"
318*71fbc431SJin Yao    },
319*71fbc431SJin Yao    {
320*71fbc431SJin Yao        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
321*71fbc431SJin Yao        "CollectPEBSRecord": "2",
322*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
323*71fbc431SJin Yao        "CounterMask": "16",
324*71fbc431SJin Yao        "EventCode": "0xA3",
325*71fbc431SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
326*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
327*71fbc431SJin Yao        "SampleAfterValue": "1000003",
328*71fbc431SJin Yao        "Speculative": "1",
329*71fbc431SJin Yao        "UMask": "0x10"
330*71fbc431SJin Yao    },
331*71fbc431SJin Yao    {
332*71fbc431SJin Yao        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
333*71fbc431SJin Yao        "CollectPEBSRecord": "2",
334*71fbc431SJin Yao        "Counter": "32",
335*71fbc431SJin Yao        "EventName": "INST_RETIRED.ANY",
336*71fbc431SJin Yao        "PEBS": "1",
337*71fbc431SJin Yao        "PEBScounters": "32",
338*71fbc431SJin Yao        "PublicDescription": "Counts the number of X86 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.",
339*71fbc431SJin Yao        "SampleAfterValue": "2000003",
340*71fbc431SJin Yao        "UMask": "0x1"
341*71fbc431SJin Yao    },
342*71fbc431SJin Yao    {
343*71fbc431SJin Yao        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
344*71fbc431SJin Yao        "CollectPEBSRecord": "2",
345*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
346*71fbc431SJin Yao        "EventCode": "0xa2",
347*71fbc431SJin Yao        "EventName": "RESOURCE_STALLS.SCOREBOARD",
348*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
349*71fbc431SJin Yao        "SampleAfterValue": "100003",
350*71fbc431SJin Yao        "Speculative": "1",
351*71fbc431SJin Yao        "UMask": "0x2"
352*71fbc431SJin Yao    },
353*71fbc431SJin Yao    {
354*71fbc431SJin Yao        "BriefDescription": "Increments whenever there is an update to the LBR array.",
355*71fbc431SJin Yao        "CollectPEBSRecord": "2",
356*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
357*71fbc431SJin Yao        "EventCode": "0xcc",
358*71fbc431SJin Yao        "EventName": "MISC_RETIRED.LBR_INSERTS",
359*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
360*71fbc431SJin Yao        "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 enable via IA32_DEBUGCTL MSR and branch type selection via MSR_LBR_SELECT.",
361*71fbc431SJin Yao        "SampleAfterValue": "100003",
362*71fbc431SJin Yao        "UMask": "0x20"
363*71fbc431SJin Yao    },
364*71fbc431SJin Yao    {
365*71fbc431SJin Yao        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
366*71fbc431SJin Yao        "CollectPEBSRecord": "2",
367*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
368*71fbc431SJin Yao        "EventCode": "0xc0",
369*71fbc431SJin Yao        "EventName": "INST_RETIRED.ANY_P",
370*71fbc431SJin Yao        "PEBS": "1",
371*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
372*71fbc431SJin Yao        "PublicDescription": "Counts the number of X86 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.",
373*71fbc431SJin Yao        "SampleAfterValue": "2000003"
374*71fbc431SJin Yao    },
375*71fbc431SJin Yao    {
376*71fbc431SJin Yao        "BriefDescription": "Counts the number of x87 uops dispatched.",
377*71fbc431SJin Yao        "CollectPEBSRecord": "2",
378*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
379*71fbc431SJin Yao        "EventCode": "0xB1",
380*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.X87",
381*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
382*71fbc431SJin Yao        "PublicDescription": "Counts the number of x87 uops executed.",
383*71fbc431SJin Yao        "SampleAfterValue": "2000003",
384*71fbc431SJin Yao        "Speculative": "1",
385*71fbc431SJin Yao        "UMask": "0x10"
386*71fbc431SJin Yao    },
387*71fbc431SJin Yao    {
388*71fbc431SJin Yao        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
389*71fbc431SJin Yao        "CollectPEBSRecord": "2",
390*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
391*71fbc431SJin Yao        "CounterMask": "2",
392*71fbc431SJin Yao        "EventCode": "0xB1",
393*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
394*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
395*71fbc431SJin Yao        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
396*71fbc431SJin Yao        "SampleAfterValue": "2000003",
397*71fbc431SJin Yao        "Speculative": "1",
398*71fbc431SJin Yao        "UMask": "0x2"
399*71fbc431SJin Yao    },
400*71fbc431SJin Yao    {
401*71fbc431SJin Yao        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
402*71fbc431SJin Yao        "CollectPEBSRecord": "2",
403*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
404*71fbc431SJin Yao        "EventCode": "0xa2",
405*71fbc431SJin Yao        "EventName": "RESOURCE_STALLS.SB",
406*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
407*71fbc431SJin Yao        "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.",
408*71fbc431SJin Yao        "SampleAfterValue": "100003",
409*71fbc431SJin Yao        "Speculative": "1",
410*71fbc431SJin Yao        "UMask": "0x8"
411*71fbc431SJin Yao    },
412*71fbc431SJin Yao    {
413*71fbc431SJin Yao        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
414*71fbc431SJin Yao        "CollectPEBSRecord": "2",
415*71fbc431SJin Yao        "Counter": "0,1,2,3",
416*71fbc431SJin Yao        "EventCode": "0x03",
417*71fbc431SJin Yao        "EventName": "LD_BLOCKS.NO_SR",
418*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
419*71fbc431SJin Yao        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
420*71fbc431SJin Yao        "SampleAfterValue": "100003",
421*71fbc431SJin Yao        "Speculative": "1",
422*71fbc431SJin Yao        "UMask": "0x8"
423*71fbc431SJin Yao    },
424*71fbc431SJin Yao    {
425*71fbc431SJin Yao        "BriefDescription": "Number of machine clears (nukes) of any type.",
426*71fbc431SJin Yao        "CollectPEBSRecord": "2",
427*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
428*71fbc431SJin Yao        "CounterMask": "1",
429*71fbc431SJin Yao        "EdgeDetect": "1",
430*71fbc431SJin Yao        "EventCode": "0xc3",
431*71fbc431SJin Yao        "EventName": "MACHINE_CLEARS.COUNT",
432*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
433*71fbc431SJin Yao        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
434*71fbc431SJin Yao        "SampleAfterValue": "100003",
435*71fbc431SJin Yao        "Speculative": "1",
436*71fbc431SJin Yao        "UMask": "0x1"
437*71fbc431SJin Yao    },
438*71fbc431SJin Yao    {
439*71fbc431SJin Yao        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
440*71fbc431SJin Yao        "CollectPEBSRecord": "2",
441*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
442*71fbc431SJin Yao        "EventCode": "0xc5",
443*71fbc431SJin Yao        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
444*71fbc431SJin Yao        "PEBS": "1",
445*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
446*71fbc431SJin Yao        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
447*71fbc431SJin Yao        "SampleAfterValue": "50021",
448*71fbc431SJin Yao        "UMask": "0x20"
449*71fbc431SJin Yao    },
450*71fbc431SJin Yao    {
451*71fbc431SJin Yao        "BriefDescription": "Return instructions retired.",
452*71fbc431SJin Yao        "CollectPEBSRecord": "2",
453*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
454*71fbc431SJin Yao        "EventCode": "0xc4",
455*71fbc431SJin Yao        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
456*71fbc431SJin Yao        "PEBS": "1",
457*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
458*71fbc431SJin Yao        "PublicDescription": "Counts return instructions retired.",
459*71fbc431SJin Yao        "SampleAfterValue": "100007",
460*71fbc431SJin Yao        "UMask": "0x8"
461*71fbc431SJin Yao    },
462*71fbc431SJin Yao    {
463*71fbc431SJin Yao        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
464*71fbc431SJin Yao        "CollectPEBSRecord": "2",
465*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
466*71fbc431SJin Yao        "CounterMask": "1",
467*71fbc431SJin Yao        "EventCode": "0x14",
468*71fbc431SJin Yao        "EventName": "ARITH.DIVIDER_ACTIVE",
469*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
470*71fbc431SJin Yao        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
471*71fbc431SJin Yao        "SampleAfterValue": "1000003",
472*71fbc431SJin Yao        "Speculative": "1",
473*71fbc431SJin Yao        "UMask": "0x9"
474*71fbc431SJin Yao    },
475*71fbc431SJin Yao    {
476*71fbc431SJin Yao        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
477*71fbc431SJin Yao        "CollectPEBSRecord": "2",
478*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
479*71fbc431SJin Yao        "EventCode": "0xa6",
480*71fbc431SJin Yao        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
481*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
482*71fbc431SJin Yao        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
483*71fbc431SJin Yao        "SampleAfterValue": "2000003",
484*71fbc431SJin Yao        "Speculative": "1",
485*71fbc431SJin Yao        "UMask": "0x2"
486*71fbc431SJin Yao    },
487*71fbc431SJin Yao    {
488*71fbc431SJin Yao        "BriefDescription": "Cycles without actually retired instructions.",
489*71fbc431SJin Yao        "CollectPEBSRecord": "2",
490*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
491*71fbc431SJin Yao        "CounterMask": "1",
492*71fbc431SJin Yao        "EventCode": "0xc0",
493*71fbc431SJin Yao        "EventName": "INST_RETIRED.STALL_CYCLES",
494*71fbc431SJin Yao        "Invert": "1",
495*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
496*71fbc431SJin Yao        "PublicDescription": "This event counts cycles without actually retired instructions.",
497*71fbc431SJin Yao        "SampleAfterValue": "1000003",
498*71fbc431SJin Yao        "Speculative": "1",
499*71fbc431SJin Yao        "UMask": "0x1"
500*71fbc431SJin Yao    },
501*71fbc431SJin Yao    {
502*71fbc431SJin Yao        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
503*71fbc431SJin Yao        "CollectPEBSRecord": "2",
504*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
505*71fbc431SJin Yao        "EventCode": "0xc5",
506*71fbc431SJin Yao        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
507*71fbc431SJin Yao        "PEBS": "1",
508*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
509*71fbc431SJin Yao        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
510*71fbc431SJin Yao        "SampleAfterValue": "50021",
511*71fbc431SJin Yao        "UMask": "0x10"
512*71fbc431SJin Yao    },
513*71fbc431SJin Yao    {
514*71fbc431SJin Yao        "BriefDescription": "Core cycles when the thread is not in halt state",
515*71fbc431SJin Yao        "CollectPEBSRecord": "2",
516*71fbc431SJin Yao        "Counter": "33",
517*71fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.THREAD",
518*71fbc431SJin Yao        "PEBScounters": "33",
519*71fbc431SJin Yao        "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.",
520*71fbc431SJin Yao        "SampleAfterValue": "2000003",
521*71fbc431SJin Yao        "Speculative": "1",
522*71fbc431SJin Yao        "UMask": "0x2"
523*71fbc431SJin Yao    },
524*71fbc431SJin Yao    {
525*71fbc431SJin Yao        "BriefDescription": "Taken conditional branch instructions retired.",
526*71fbc431SJin Yao        "CollectPEBSRecord": "2",
527*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
528*71fbc431SJin Yao        "EventCode": "0xc4",
529*71fbc431SJin Yao        "EventName": "BR_INST_RETIRED.COND_TAKEN",
530*71fbc431SJin Yao        "PEBS": "1",
531*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
532*71fbc431SJin Yao        "PublicDescription": "Counts taken conditional branch instructions retired.",
533*71fbc431SJin Yao        "SampleAfterValue": "400009",
534*71fbc431SJin Yao        "UMask": "0x1"
535*71fbc431SJin Yao    },
536*71fbc431SJin Yao    {
537*71fbc431SJin Yao        "BriefDescription": "Direct and indirect near call instructions retired.",
538*71fbc431SJin Yao        "CollectPEBSRecord": "2",
539*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
540*71fbc431SJin Yao        "EventCode": "0xc4",
541*71fbc431SJin Yao        "EventName": "BR_INST_RETIRED.NEAR_CALL",
542*71fbc431SJin Yao        "PEBS": "1",
543*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
544*71fbc431SJin Yao        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
545*71fbc431SJin Yao        "SampleAfterValue": "100007",
546*71fbc431SJin Yao        "UMask": "0x2"
547*71fbc431SJin Yao    },
548*71fbc431SJin Yao    {
549*71fbc431SJin Yao        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
550*71fbc431SJin Yao        "CollectPEBSRecord": "2",
551*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
552*71fbc431SJin Yao        "CounterMask": "4",
553*71fbc431SJin Yao        "EventCode": "0xB1",
554*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
555*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
556*71fbc431SJin Yao        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
557*71fbc431SJin Yao        "SampleAfterValue": "2000003",
558*71fbc431SJin Yao        "Speculative": "1",
559*71fbc431SJin Yao        "UMask": "0x2"
560*71fbc431SJin Yao    },
561*71fbc431SJin Yao    {
562*71fbc431SJin Yao        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
563*71fbc431SJin Yao        "CollectPEBSRecord": "2",
564*71fbc431SJin Yao        "Counter": "32",
565*71fbc431SJin Yao        "EventName": "INST_RETIRED.PREC_DIST",
566*71fbc431SJin Yao        "PEBS": "1",
567*71fbc431SJin Yao        "PEBScounters": "32",
568*71fbc431SJin Yao        "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.",
569*71fbc431SJin Yao        "SampleAfterValue": "2000003",
570*71fbc431SJin Yao        "UMask": "0x1"
571*71fbc431SJin Yao    },
572*71fbc431SJin Yao    {
573*71fbc431SJin Yao        "BriefDescription": "Total execution stalls.",
574*71fbc431SJin Yao        "CollectPEBSRecord": "2",
575*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
576*71fbc431SJin Yao        "CounterMask": "4",
577*71fbc431SJin Yao        "EventCode": "0xa3",
578*71fbc431SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
579*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
580*71fbc431SJin Yao        "SampleAfterValue": "1000003",
581*71fbc431SJin Yao        "Speculative": "1",
582*71fbc431SJin Yao        "UMask": "0x4"
583*71fbc431SJin Yao    },
584*71fbc431SJin Yao    {
585*71fbc431SJin Yao        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
586*71fbc431SJin Yao        "CollectPEBSRecord": "2",
587*71fbc431SJin Yao        "Counter": "0,1,2,3",
588*71fbc431SJin Yao        "CounterMask": "12",
589*71fbc431SJin Yao        "EventCode": "0xA3",
590*71fbc431SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
591*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
592*71fbc431SJin Yao        "SampleAfterValue": "1000003",
593*71fbc431SJin Yao        "Speculative": "1",
594*71fbc431SJin Yao        "UMask": "0xc"
595*71fbc431SJin Yao    },
596*71fbc431SJin Yao    {
597*71fbc431SJin Yao        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
598*71fbc431SJin Yao        "CollectPEBSRecord": "2",
599*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
600*71fbc431SJin Yao        "EventCode": "0xcc",
601*71fbc431SJin Yao        "EventName": "MISC_RETIRED.PAUSE_INST",
602*71fbc431SJin Yao        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
603*71fbc431SJin Yao        "SampleAfterValue": "100003",
604*71fbc431SJin Yao        "UMask": "0x40"
605*71fbc431SJin Yao    },
606*71fbc431SJin Yao    {
607*71fbc431SJin Yao        "BriefDescription": "Self-modifying code (SMC) detected.",
608*71fbc431SJin Yao        "CollectPEBSRecord": "2",
609*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
610*71fbc431SJin Yao        "EventCode": "0xc3",
611*71fbc431SJin Yao        "EventName": "MACHINE_CLEARS.SMC",
612*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
613*71fbc431SJin Yao        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
614*71fbc431SJin Yao        "SampleAfterValue": "100003",
615*71fbc431SJin Yao        "Speculative": "1",
616*71fbc431SJin Yao        "UMask": "0x4"
617*71fbc431SJin Yao    },
618*71fbc431SJin Yao    {
619*71fbc431SJin Yao        "BriefDescription": "Uops that RAT issues to RS",
620*71fbc431SJin Yao        "CollectPEBSRecord": "2",
621*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
622*71fbc431SJin Yao        "EventCode": "0x0e",
623*71fbc431SJin Yao        "EventName": "UOPS_ISSUED.ANY",
624*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
625*71fbc431SJin Yao        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
626*71fbc431SJin Yao        "SampleAfterValue": "2000003",
627*71fbc431SJin Yao        "Speculative": "1",
628*71fbc431SJin Yao        "UMask": "0x1"
629*71fbc431SJin Yao    },
630*71fbc431SJin Yao    {
631*71fbc431SJin Yao        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
632*71fbc431SJin Yao        "CollectPEBSRecord": "2",
633*71fbc431SJin Yao        "Counter": "0,1,2,3",
634*71fbc431SJin Yao        "CounterMask": "5",
635*71fbc431SJin Yao        "EventCode": "0xa3",
636*71fbc431SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
637*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
638*71fbc431SJin Yao        "SampleAfterValue": "1000003",
639*71fbc431SJin Yao        "Speculative": "1",
640*71fbc431SJin Yao        "UMask": "0x5"
641*71fbc431SJin Yao    },
642*71fbc431SJin Yao    {
643*71fbc431SJin Yao        "BriefDescription": "Reference cycles when the core is not in halt state.",
644*71fbc431SJin Yao        "CollectPEBSRecord": "2",
645*71fbc431SJin Yao        "Counter": "34",
646*71fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
647*71fbc431SJin Yao        "PEBScounters": "34",
648*71fbc431SJin Yao        "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.",
649*71fbc431SJin Yao        "SampleAfterValue": "2000003",
650*71fbc431SJin Yao        "Speculative": "1",
651*71fbc431SJin Yao        "UMask": "0x3"
652*71fbc431SJin Yao    },
653*71fbc431SJin Yao    {
654*71fbc431SJin Yao        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
655*71fbc431SJin Yao        "CollectPEBSRecord": "2",
656*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
657*71fbc431SJin Yao        "CounterMask": "1",
658*71fbc431SJin Yao        "EventCode": "0x0D",
659*71fbc431SJin Yao        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
660*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
661*71fbc431SJin Yao        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
662*71fbc431SJin Yao        "SampleAfterValue": "2000003",
663*71fbc431SJin Yao        "Speculative": "1",
664*71fbc431SJin Yao        "UMask": "0x3"
665*71fbc431SJin Yao    },
666*71fbc431SJin Yao    {
667*71fbc431SJin Yao        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
668*71fbc431SJin Yao        "CollectPEBSRecord": "2",
669*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
670*71fbc431SJin Yao        "EventCode": "0xa6",
671*71fbc431SJin Yao        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
672*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
673*71fbc431SJin Yao        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
674*71fbc431SJin Yao        "SampleAfterValue": "2000003",
675*71fbc431SJin Yao        "Speculative": "1",
676*71fbc431SJin Yao        "UMask": "0x4"
677*71fbc431SJin Yao    },
678*71fbc431SJin Yao    {
679*71fbc431SJin Yao        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
680*71fbc431SJin Yao        "CollectPEBSRecord": "2",
681*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
682*71fbc431SJin Yao        "EventCode": "0xa6",
683*71fbc431SJin Yao        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
684*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
685*71fbc431SJin Yao        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
686*71fbc431SJin Yao        "SampleAfterValue": "2000003",
687*71fbc431SJin Yao        "Speculative": "1",
688*71fbc431SJin Yao        "UMask": "0x8"
689*71fbc431SJin Yao    },
690*71fbc431SJin Yao    {
691*71fbc431SJin Yao        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
692*71fbc431SJin Yao        "CollectPEBSRecord": "2",
693*71fbc431SJin Yao        "Counter": "0,1,2,3",
694*71fbc431SJin Yao        "CounterMask": "8",
695*71fbc431SJin Yao        "EventCode": "0xA3",
696*71fbc431SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
697*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
698*71fbc431SJin Yao        "SampleAfterValue": "1000003",
699*71fbc431SJin Yao        "Speculative": "1",
700*71fbc431SJin Yao        "UMask": "0x8"
701*71fbc431SJin Yao    },
702*71fbc431SJin Yao    {
703*71fbc431SJin Yao        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
704*71fbc431SJin Yao        "CollectPEBSRecord": "2",
705*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
706*71fbc431SJin Yao        "EventCode": "0x0d",
707*71fbc431SJin Yao        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
708*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
709*71fbc431SJin Yao        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
710*71fbc431SJin Yao        "SampleAfterValue": "500009",
711*71fbc431SJin Yao        "Speculative": "1",
712*71fbc431SJin Yao        "UMask": "0x80"
713*71fbc431SJin Yao    },
714*71fbc431SJin Yao    {
715*71fbc431SJin Yao        "BriefDescription": "Cycles with less than 10 actually retired uops.",
716*71fbc431SJin Yao        "CollectPEBSRecord": "2",
717*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
718*71fbc431SJin Yao        "CounterMask": "10",
719*71fbc431SJin Yao        "EventCode": "0xc2",
720*71fbc431SJin Yao        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
721*71fbc431SJin Yao        "Invert": "1",
722*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
723*71fbc431SJin Yao        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
724*71fbc431SJin Yao        "SampleAfterValue": "1000003",
725*71fbc431SJin Yao        "UMask": "0x2"
726*71fbc431SJin Yao    },
727*71fbc431SJin Yao    {
728*71fbc431SJin Yao        "BriefDescription": "All branch instructions retired.",
729*71fbc431SJin Yao        "CollectPEBSRecord": "2",
730*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
731*71fbc431SJin Yao        "EventCode": "0xc4",
732*71fbc431SJin Yao        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
733*71fbc431SJin Yao        "PEBS": "1",
734*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
735*71fbc431SJin Yao        "PublicDescription": "Counts all branch instructions retired.",
736*71fbc431SJin Yao        "SampleAfterValue": "400009"
737*71fbc431SJin Yao    },
738*71fbc431SJin Yao    {
739*71fbc431SJin Yao        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
740*71fbc431SJin Yao        "CollectPEBSRecord": "2",
741*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
742*71fbc431SJin Yao        "CounterMask": "1",
743*71fbc431SJin Yao        "EdgeDetect": "1",
744*71fbc431SJin Yao        "EventCode": "0x5E",
745*71fbc431SJin Yao        "EventName": "RS_EVENTS.EMPTY_END",
746*71fbc431SJin Yao        "Invert": "1",
747*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
748*71fbc431SJin Yao        "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)",
749*71fbc431SJin Yao        "SampleAfterValue": "100003",
750*71fbc431SJin Yao        "Speculative": "1",
751*71fbc431SJin Yao        "UMask": "0x1"
752*71fbc431SJin Yao    },
753*71fbc431SJin Yao    {
754*71fbc431SJin Yao        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
755*71fbc431SJin Yao        "CollectPEBSRecord": "2",
756*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
757*71fbc431SJin Yao        "EventCode": "0xec",
758*71fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
759*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
760*71fbc431SJin 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.",
761*71fbc431SJin Yao        "SampleAfterValue": "2000003",
762*71fbc431SJin Yao        "Speculative": "1",
763*71fbc431SJin Yao        "UMask": "0x2"
764*71fbc431SJin Yao    },
765*71fbc431SJin Yao    {
766*71fbc431SJin Yao        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
767*71fbc431SJin Yao        "CollectPEBSRecord": "2",
768*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
769*71fbc431SJin Yao        "EventCode": "0x3C",
770*71fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
771*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
772*71fbc431SJin Yao        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
773*71fbc431SJin Yao        "SampleAfterValue": "25003",
774*71fbc431SJin Yao        "Speculative": "1",
775*71fbc431SJin Yao        "UMask": "0x2"
776*71fbc431SJin Yao    },
777*71fbc431SJin Yao    {
778*71fbc431SJin Yao        "BriefDescription": "Thread cycles when thread is not in halt state",
779*71fbc431SJin Yao        "CollectPEBSRecord": "2",
780*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
781*71fbc431SJin Yao        "EventCode": "0x3C",
782*71fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
783*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
784*71fbc431SJin 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.",
785*71fbc431SJin Yao        "SampleAfterValue": "2000003",
786*71fbc431SJin Yao        "Speculative": "1"
787*71fbc431SJin Yao    },
788*71fbc431SJin Yao    {
789*71fbc431SJin Yao        "BriefDescription": "Mispredicted conditional branch instructions retired.",
790*71fbc431SJin Yao        "CollectPEBSRecord": "2",
791*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
792*71fbc431SJin Yao        "EventCode": "0xc5",
793*71fbc431SJin Yao        "EventName": "BR_MISP_RETIRED.COND",
794*71fbc431SJin Yao        "PEBS": "1",
795*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
796*71fbc431SJin Yao        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
797*71fbc431SJin Yao        "SampleAfterValue": "50021",
798*71fbc431SJin Yao        "UMask": "0x11"
799*71fbc431SJin Yao    },
800*71fbc431SJin Yao    {
801*71fbc431SJin Yao        "BriefDescription": "Number of uops executed on port 0",
802*71fbc431SJin Yao        "CollectPEBSRecord": "2",
803*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
804*71fbc431SJin Yao        "EventCode": "0xa1",
805*71fbc431SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_0",
806*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
807*71fbc431SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
808*71fbc431SJin Yao        "SampleAfterValue": "2000003",
809*71fbc431SJin Yao        "Speculative": "1",
810*71fbc431SJin Yao        "UMask": "0x1"
811*71fbc431SJin Yao    },
812*71fbc431SJin Yao    {
813*71fbc431SJin Yao        "BriefDescription": "Conditional branch instructions retired.",
814*71fbc431SJin Yao        "CollectPEBSRecord": "2",
815*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
816*71fbc431SJin Yao        "EventCode": "0xc4",
817*71fbc431SJin Yao        "EventName": "BR_INST_RETIRED.COND",
818*71fbc431SJin Yao        "PEBS": "1",
819*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
820*71fbc431SJin Yao        "PublicDescription": "Counts conditional branch instructions retired.",
821*71fbc431SJin Yao        "SampleAfterValue": "400009",
822*71fbc431SJin Yao        "UMask": "0x11"
823*71fbc431SJin Yao    },
824*71fbc431SJin Yao    {
825*71fbc431SJin Yao        "BriefDescription": "Retirement slots used.",
826*71fbc431SJin Yao        "CollectPEBSRecord": "2",
827*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
828*71fbc431SJin Yao        "EventCode": "0xc2",
829*71fbc431SJin Yao        "EventName": "UOPS_RETIRED.SLOTS",
830*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
831*71fbc431SJin Yao        "PublicDescription": "Counts the retirement slots used each cycle.",
832*71fbc431SJin Yao        "SampleAfterValue": "2000003",
833*71fbc431SJin Yao        "UMask": "0x2"
834*71fbc431SJin Yao    },
835*71fbc431SJin Yao    {
836*71fbc431SJin Yao        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
837*71fbc431SJin Yao        "CollectPEBSRecord": "2",
838*71fbc431SJin Yao        "Counter": "0,1,2,3",
839*71fbc431SJin Yao        "CounterMask": "5",
840*71fbc431SJin Yao        "EventCode": "0xa8",
841*71fbc431SJin Yao        "EventName": "LSD.CYCLES_OK",
842*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
843*71fbc431SJin Yao        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
844*71fbc431SJin Yao        "SampleAfterValue": "2000003",
845*71fbc431SJin Yao        "Speculative": "1",
846*71fbc431SJin Yao        "UMask": "0x1"
847*71fbc431SJin Yao    },
848*71fbc431SJin Yao    {
849*71fbc431SJin Yao        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
850*71fbc431SJin Yao        "CollectPEBSRecord": "2",
851*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
852*71fbc431SJin Yao        "EventCode": "0x3c",
853*71fbc431SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
854*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
855*71fbc431SJin Yao        "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.",
856*71fbc431SJin Yao        "SampleAfterValue": "2000003",
857*71fbc431SJin Yao        "Speculative": "1",
858*71fbc431SJin Yao        "UMask": "0x8"
859*71fbc431SJin Yao    },
860*71fbc431SJin Yao    {
861*71fbc431SJin Yao        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
862*71fbc431SJin Yao        "CollectPEBSRecord": "2",
863*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
864*71fbc431SJin Yao        "CounterMask": "3",
865*71fbc431SJin Yao        "EventCode": "0xb1",
866*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
867*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
868*71fbc431SJin Yao        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
869*71fbc431SJin Yao        "SampleAfterValue": "2000003",
870*71fbc431SJin Yao        "Speculative": "1",
871*71fbc431SJin Yao        "UMask": "0x1"
872*71fbc431SJin Yao    },
873*71fbc431SJin Yao    {
874*71fbc431SJin Yao        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
875*71fbc431SJin Yao        "CollectPEBSRecord": "2",
876*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
877*71fbc431SJin Yao        "CounterMask": "2",
878*71fbc431SJin Yao        "EventCode": "0xb1",
879*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
880*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
881*71fbc431SJin Yao        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
882*71fbc431SJin Yao        "SampleAfterValue": "2000003",
883*71fbc431SJin Yao        "Speculative": "1",
884*71fbc431SJin Yao        "UMask": "0x1"
885*71fbc431SJin Yao    },
886*71fbc431SJin Yao    {
887*71fbc431SJin Yao        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
888*71fbc431SJin Yao        "CollectPEBSRecord": "2",
889*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
890*71fbc431SJin Yao        "CounterMask": "1",
891*71fbc431SJin Yao        "EventCode": "0xb1",
892*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
893*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
894*71fbc431SJin Yao        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
895*71fbc431SJin Yao        "SampleAfterValue": "2000003",
896*71fbc431SJin Yao        "Speculative": "1",
897*71fbc431SJin Yao        "UMask": "0x1"
898*71fbc431SJin Yao    },
899*71fbc431SJin Yao    {
900*71fbc431SJin Yao        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
901*71fbc431SJin Yao        "CollectPEBSRecord": "2",
902*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
903*71fbc431SJin Yao        "CounterMask": "4",
904*71fbc431SJin Yao        "EventCode": "0xb1",
905*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
906*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
907*71fbc431SJin Yao        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
908*71fbc431SJin Yao        "SampleAfterValue": "2000003",
909*71fbc431SJin Yao        "Speculative": "1",
910*71fbc431SJin Yao        "UMask": "0x1"
911*71fbc431SJin Yao    },
912*71fbc431SJin Yao    {
913*71fbc431SJin Yao        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
914*71fbc431SJin Yao        "CollectPEBSRecord": "2",
915*71fbc431SJin Yao        "Counter": "0,1,2,3",
916*71fbc431SJin Yao        "CounterMask": "1",
917*71fbc431SJin Yao        "EventCode": "0xA3",
918*71fbc431SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
919*71fbc431SJin Yao        "PEBScounters": "0,1,2,3",
920*71fbc431SJin Yao        "SampleAfterValue": "1000003",
921*71fbc431SJin Yao        "Speculative": "1",
922*71fbc431SJin Yao        "UMask": "0x1"
923*71fbc431SJin Yao    },
924*71fbc431SJin Yao    {
925*71fbc431SJin Yao        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
926*71fbc431SJin Yao        "CollectPEBSRecord": "2",
927*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
928*71fbc431SJin Yao        "CounterMask": "1",
929*71fbc431SJin Yao        "EventCode": "0x0E",
930*71fbc431SJin Yao        "EventName": "UOPS_ISSUED.STALL_CYCLES",
931*71fbc431SJin Yao        "Invert": "1",
932*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
933*71fbc431SJin Yao        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
934*71fbc431SJin Yao        "SampleAfterValue": "1000003",
935*71fbc431SJin Yao        "Speculative": "1",
936*71fbc431SJin Yao        "UMask": "0x1"
937*71fbc431SJin Yao    },
938*71fbc431SJin Yao    {
939*71fbc431SJin Yao        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
940*71fbc431SJin Yao        "CollectPEBSRecord": "2",
941*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
942*71fbc431SJin Yao        "CounterMask": "3",
943*71fbc431SJin Yao        "EventCode": "0xB1",
944*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
945*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
946*71fbc431SJin Yao        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
947*71fbc431SJin Yao        "SampleAfterValue": "2000003",
948*71fbc431SJin Yao        "Speculative": "1",
949*71fbc431SJin Yao        "UMask": "0x2"
950*71fbc431SJin Yao    },
951*71fbc431SJin Yao    {
952*71fbc431SJin Yao        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
953*71fbc431SJin Yao        "CollectPEBSRecord": "2",
954*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
955*71fbc431SJin Yao        "CounterMask": "1",
956*71fbc431SJin Yao        "EventCode": "0xB1",
957*71fbc431SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
958*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
959*71fbc431SJin Yao        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
960*71fbc431SJin Yao        "SampleAfterValue": "2000003",
961*71fbc431SJin Yao        "Speculative": "1",
962*71fbc431SJin Yao        "UMask": "0x2"
963*71fbc431SJin Yao    },
964*71fbc431SJin Yao    {
965*71fbc431SJin Yao        "BriefDescription": "All miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
966*71fbc431SJin Yao        "CollectPEBSRecord": "2",
967*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
968*71fbc431SJin Yao        "EventCode": "0xc5",
969*71fbc431SJin Yao        "EventName": "BR_MISP_RETIRED.INDIRECT",
970*71fbc431SJin Yao        "PEBS": "1",
971*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
972*71fbc431SJin Yao        "PublicDescription": "Counts all miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
973*71fbc431SJin Yao        "SampleAfterValue": "50021",
974*71fbc431SJin Yao        "UMask": "0x80"
975*71fbc431SJin Yao    },
976*71fbc431SJin Yao    {
977*71fbc431SJin Yao        "BriefDescription": "TMA slots where uops got dropped",
978*71fbc431SJin Yao        "CollectPEBSRecord": "2",
979*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
980*71fbc431SJin Yao        "EventCode": "0x0d",
981*71fbc431SJin Yao        "EventName": "INT_MISC.UOP_DROPPING",
982*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
983*71fbc431SJin Yao        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
984*71fbc431SJin Yao        "SampleAfterValue": "1000003",
985*71fbc431SJin Yao        "Speculative": "1",
986*71fbc431SJin Yao        "UMask": "0x10"
987*71fbc431SJin Yao    },
988*71fbc431SJin Yao    {
989*71fbc431SJin Yao        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
990*71fbc431SJin Yao        "CollectPEBSRecord": "2",
991*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
992*71fbc431SJin Yao        "CounterMask": "20",
993*71fbc431SJin Yao        "EventCode": "0xa3",
994*71fbc431SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
995*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
996*71fbc431SJin Yao        "SampleAfterValue": "1000003",
997*71fbc431SJin Yao        "Speculative": "1",
998*71fbc431SJin Yao        "UMask": "0x14"
999*71fbc431SJin Yao    },
1000*71fbc431SJin Yao    {
1001*71fbc431SJin Yao        "BriefDescription": "Number of uops executed on port 7 and 8",
1002*71fbc431SJin Yao        "CollectPEBSRecord": "2",
1003*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
1004*71fbc431SJin Yao        "EventCode": "0xa1",
1005*71fbc431SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_7_8",
1006*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
1007*71fbc431SJin Yao        "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.",
1008*71fbc431SJin Yao        "SampleAfterValue": "2000003",
1009*71fbc431SJin Yao        "Speculative": "1",
1010*71fbc431SJin Yao        "UMask": "0x80"
1011*71fbc431SJin Yao    },
1012*71fbc431SJin Yao    {
1013*71fbc431SJin Yao        "BriefDescription": "number of branch instructions retired that were mispredicted and taken. Non PEBS",
1014*71fbc431SJin Yao        "CollectPEBSRecord": "2",
1015*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
1016*71fbc431SJin Yao        "EventCode": "0xc5",
1017*71fbc431SJin Yao        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
1018*71fbc431SJin Yao        "PEBS": "1",
1019*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
1020*71fbc431SJin Yao        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
1021*71fbc431SJin Yao        "SampleAfterValue": "50021",
1022*71fbc431SJin Yao        "UMask": "0x1"
1023*71fbc431SJin Yao    },
1024*71fbc431SJin Yao    {
1025*71fbc431SJin Yao        "BriefDescription": "All mispredicted branch instructions retired.",
1026*71fbc431SJin Yao        "CollectPEBSRecord": "2",
1027*71fbc431SJin Yao        "Counter": "0,1,2,3,4,5,6,7",
1028*71fbc431SJin Yao        "EventCode": "0xc5",
1029*71fbc431SJin Yao        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
1030*71fbc431SJin Yao        "PEBS": "1",
1031*71fbc431SJin Yao        "PEBScounters": "0,1,2,3,4,5,6,7",
1032*71fbc431SJin Yao        "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.",
1033*71fbc431SJin Yao        "SampleAfterValue": "50021"
1034b115df07SHaiyan Song    }
1035b115df07SHaiyan Song]