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