xref: /freebsd/lib/libpmc/pmc.sandybridgexeon.3 (revision b293497146fea63d76a1c7492c3a21e4e5bf8f48)
1fabe02f5SSean Bruno.\" Copyright (c) 2012 Hiren Panchasara <hiren.panchasara@gmail.com>
2fabe02f5SSean Bruno.\" All rights reserved.
3fabe02f5SSean Bruno.\"
4fabe02f5SSean Bruno.\" Redistribution and use in source and binary forms, with or without
5fabe02f5SSean Bruno.\" modification, are permitted provided that the following conditions
6fabe02f5SSean Bruno.\" are met:
7fabe02f5SSean Bruno.\" 1. Redistributions of source code must retain the above copyright
8fabe02f5SSean Bruno.\"    notice, this list of conditions and the following disclaimer.
9fabe02f5SSean Bruno.\" 2. Redistributions in binary form must reproduce the above copyright
10fabe02f5SSean Bruno.\"    notice, this list of conditions and the following disclaimer in the
11fabe02f5SSean Bruno.\"    documentation and/or other materials provided with the distribution.
12fabe02f5SSean Bruno.\"
13fabe02f5SSean Bruno.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14fabe02f5SSean Bruno.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15fabe02f5SSean Bruno.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16fabe02f5SSean Bruno.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17fabe02f5SSean Bruno.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18fabe02f5SSean Bruno.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19fabe02f5SSean Bruno.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20fabe02f5SSean Bruno.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21fabe02f5SSean Bruno.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22fabe02f5SSean Bruno.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23fabe02f5SSean Bruno.\" SUCH DAMAGE.
24fabe02f5SSean Bruno.\"
25fabe02f5SSean Bruno.Dd October 18, 2012
26fabe02f5SSean Bruno.Dt PMC.SANDYBRIDGEXEON 3
27fabe02f5SSean Bruno.Os
28fabe02f5SSean Bruno.Sh NAME
29fabe02f5SSean Bruno.Nm pmc.sandybridgexeon
30fabe02f5SSean Bruno.Nd measurement events for
31fabe02f5SSean Bruno.Tn Intel
32fabe02f5SSean Bruno.Tn Sandy Bridge Xeon
33fabe02f5SSean Brunofamily CPUs
34fabe02f5SSean Bruno.Sh LIBRARY
35fabe02f5SSean Bruno.Lb libpmc
36fabe02f5SSean Bruno.Sh SYNOPSIS
37fabe02f5SSean Bruno.In pmc.h
38fabe02f5SSean Bruno.Sh DESCRIPTION
39fabe02f5SSean Bruno.Tn Intel
40fabe02f5SSean Bruno.Tn "Sandy Bridge Xeon"
41fabe02f5SSean BrunoCPUs contain PMCs conforming to version 2 of the
42fabe02f5SSean Bruno.Tn Intel
43fabe02f5SSean Brunoperformance measurement architecture.
44fabe02f5SSean BrunoThese CPUs may contain up to two classes of PMCs:
45fabe02f5SSean Bruno.Bl -tag -width "Li PMC_CLASS_IAP"
46fabe02f5SSean Bruno.It Li PMC_CLASS_IAF
47fabe02f5SSean BrunoFixed-function counters that count only one hardware event per counter.
48fabe02f5SSean Bruno.It Li PMC_CLASS_IAP
49fabe02f5SSean BrunoProgrammable counters that may be configured to count one of a defined
50fabe02f5SSean Brunoset of hardware events.
51fabe02f5SSean Bruno.El
52fabe02f5SSean Bruno.Pp
53fabe02f5SSean BrunoThe number of PMCs available in each class and their widths need to be
54fabe02f5SSean Brunodetermined at run time by calling
55fabe02f5SSean Bruno.Xr pmc_cpuinfo 3 .
56fabe02f5SSean Bruno.Pp
57fabe02f5SSean BrunoIntel Sandy Bridge Xeon PMCs are documented in
58fabe02f5SSean Bruno.Rs
59fabe02f5SSean Bruno.%B "Intel(R) 64 and IA-32 Architectures Software Developer's Manual"
60fabe02f5SSean Bruno.%T "Volume 3B: System Programming Guide, Part 2"
61fabe02f5SSean Bruno.%N "Order Number: 253669-043US"
62fabe02f5SSean Bruno.%D August 2012
63fabe02f5SSean Bruno.%Q "Intel Corporation"
64fabe02f5SSean Bruno.Re
65fabe02f5SSean Bruno.Ss SANDYBRIDGE XEON FIXED FUNCTION PMCS
66fabe02f5SSean BrunoThese PMCs and their supported events are documented in
67fabe02f5SSean Bruno.Xr pmc.iaf 3 .
68fabe02f5SSean Bruno.Ss SANDYBRIDGE XEON PROGRAMMABLE PMCS
69fabe02f5SSean BrunoThe programmable PMCs support the following capabilities:
70fabe02f5SSean Bruno.Bl -column "PMC_CAP_INTERRUPT" "Support"
71fabe02f5SSean Bruno.It Em Capability Ta Em Support
72fabe02f5SSean Bruno.It PMC_CAP_CASCADE Ta \&No
73fabe02f5SSean Bruno.It PMC_CAP_EDGE Ta Yes
74fabe02f5SSean Bruno.It PMC_CAP_INTERRUPT Ta Yes
75fabe02f5SSean Bruno.It PMC_CAP_INVERT Ta Yes
76fabe02f5SSean Bruno.It PMC_CAP_READ Ta Yes
77fabe02f5SSean Bruno.It PMC_CAP_PRECISE Ta \&No
78fabe02f5SSean Bruno.It PMC_CAP_SYSTEM Ta Yes
79fabe02f5SSean Bruno.It PMC_CAP_TAGGING Ta \&No
80fabe02f5SSean Bruno.It PMC_CAP_THRESHOLD Ta Yes
81fabe02f5SSean Bruno.It PMC_CAP_USER Ta Yes
82fabe02f5SSean Bruno.It PMC_CAP_WRITE Ta Yes
83fabe02f5SSean Bruno.El
84fabe02f5SSean Bruno.Ss Event Qualifiers
85fabe02f5SSean BrunoEvent specifiers for these PMCs support the following common
86fabe02f5SSean Brunoqualifiers:
87fabe02f5SSean Bruno.Bl -tag -width indent
88fabe02f5SSean Bruno.It Li rsp= Ns Ar value
89fabe02f5SSean BrunoConfigure the Off-core Response bits.
90fabe02f5SSean Bruno.Bl -tag -width indent
91fabe02f5SSean Bruno.It Li REQ_DMND_DATA_RD
92fabe02f5SSean BrunoCounts the number of demand and DCU prefetch data reads of full and partial
930b129325SGordon Berglingcachelines as well as demand data page table entry cacheline reads.
940b129325SGordon BerglingDoes not count L2 data read prefetches or instruction fetches.
95fabe02f5SSean Bruno.It Li REQ_DMND_RFO
96fabe02f5SSean BrunoCounts the number of demand and DCU prefetch reads for ownership (RFO)
970b129325SGordon Berglingrequests generated by a write to data cacheline.
980b129325SGordon BerglingDoes not count L2 RFO prefetches.
99fabe02f5SSean Bruno.It Li REQ_DMND_IFETCH
100fabe02f5SSean BrunoCounts the number of demand and DCU prefetch instruction cacheline reads.
101fabe02f5SSean BrunoDoes not count L2 code read prefetches.
102fabe02f5SSean Bruno.It Li REQ_WB
103fabe02f5SSean BrunoCounts the number of writeback (modified to exclusive) transactions.
104fabe02f5SSean Bruno.It Li REQ_PF_DATA_RD
105fabe02f5SSean BrunoCounts the number of data cacheline reads generated by L2 prefetchers.
106fabe02f5SSean Bruno.It Li REQ_PF_RFO
107fabe02f5SSean BrunoCounts the number of RFO requests generated by L2 prefetchers.
108fabe02f5SSean Bruno.It Li REQ_PF_IFETCH
109fabe02f5SSean BrunoCounts the number of code reads generated by L2 prefetchers.
110fabe02f5SSean Bruno.It Li REQ_PF_LLC_DATA_RD
111fabe02f5SSean BrunoL2 prefetcher to L3 for loads.
112fabe02f5SSean Bruno.It Li REQ_PF_LLC_RFO
113fabe02f5SSean BrunoRFO requests generated by L2 prefetcher
114fabe02f5SSean Bruno.It Li REQ_PF_LLC_IFETCH
115fabe02f5SSean BrunoL2 prefetcher to L3 for instruction fetches.
116fabe02f5SSean Bruno.It Li REQ_BUS_LOCKS
117fabe02f5SSean BrunoBus lock and split lock requests.
118fabe02f5SSean Bruno.It Li REQ_STRM_ST
119fabe02f5SSean BrunoStreaming store requests.
120fabe02f5SSean Bruno.It Li REQ_OTHER
121fabe02f5SSean BrunoAny other request that crosses IDI, including I/O.
122fabe02f5SSean Bruno.It Li RES_ANY
123fabe02f5SSean BrunoCatch all value for any response types.
124fabe02f5SSean Bruno.It Li RES_SUPPLIER_NO_SUPP
125fabe02f5SSean BrunoNo Supplier Information available.
126fabe02f5SSean Bruno.It Li RES_SUPPLIER_LLC_HITM
127fabe02f5SSean BrunoM-state initial lookup stat in L3.
128fabe02f5SSean Bruno.It Li RES_SUPPLIER_LLC_HITE
129fabe02f5SSean BrunoE-state.
130fabe02f5SSean Bruno.It Li RES_SUPPLIER_LLC_HITS
131fabe02f5SSean BrunoS-state.
132fabe02f5SSean Bruno.It Li RES_SUPPLIER_LLC_HITF
133fabe02f5SSean BrunoF-state.
134fabe02f5SSean Bruno.It Li RES_SUPPLIER_LOCAL
135fabe02f5SSean BrunoLocal DRAM Controller.
136cdfd0cc8SSean Bruno.It Li RES_SNOOP_SNP_NONE
137fabe02f5SSean BrunoNo details on snoop-related information.
138fabe02f5SSean Bruno.It Li RES_SNOOP_SNP_NO_NEEDED
139fabe02f5SSean BrunoNo snoop was needed to satisfy the request.
140fabe02f5SSean Bruno.It Li RES_SNOOP_SNP_MISS
141fabe02f5SSean BrunoA snoop was needed and it missed all snooped caches:
142fabe02f5SSean Bruno-For LLC Hit, ReslHitl was returned by all cores
143fabe02f5SSean Bruno-For LLC Miss, Rspl was returned by all sockets and data was returned from
144fabe02f5SSean BrunoDRAM.
145fabe02f5SSean Bruno.It Li RES_SNOOP_HIT_NO_FWD
1460b129325SGordon BerglingA snoop was needed and it hits in at least one snooped cache.
1470b129325SGordon BerglingHit denotes a cache-line was valid before snoop effect.
1480b129325SGordon BerglingThis includes:
149fabe02f5SSean Bruno-Snoop Hit w/ Invalidation (LLC Hit, RFO)
150fabe02f5SSean Bruno-Snoop Hit, Left Shared (LLC Hit/Miss, IFetch/Data_RD)
151fabe02f5SSean Bruno-Snoop Hit w/ Invalidation and No Forward (LLC Miss, RFO Hit S)
152fabe02f5SSean BrunoIn the LLC Miss case, data is returned from DRAM.
153fabe02f5SSean Bruno.It Li RES_SNOOP_HIT_FWD
154fabe02f5SSean BrunoA snoop was needed and data was forwarded from a remote socket.
155fabe02f5SSean BrunoThis includes:
156fabe02f5SSean Bruno-Snoop Forward Clean, Left Shared (LLC Hit/Miss, IFetch/Data_RD/RFT).
157fabe02f5SSean Bruno.It Li RES_SNOOP_HITM
1580b129325SGordon BerglingA snoop was needed and it HitM-ed in local or remote cache.
1590b129325SGordon BerglingHitM denotes a cache-line was in modified state before effect as a results of snoop.
1600b129325SGordon BerglingThis includes:
161fabe02f5SSean Bruno-Snoop HitM w/ WB (LLC miss, IFetch/Data_RD)
162fabe02f5SSean Bruno-Snoop Forward Modified w/ Invalidation (LLC Hit/Miss, RFO)
163fabe02f5SSean Bruno-Snoop MtoS (LLC Hit, IFetch/Data_RD).
164fabe02f5SSean Bruno.It Li RES_NON_DRAM
1650b129325SGordon BerglingTarget was non-DRAM system address.
1660b129325SGordon BerglingThis includes MMIO transactions.
167fabe02f5SSean Bruno.El
168fabe02f5SSean Bruno.It Li cmask= Ns Ar value
169fabe02f5SSean BrunoConfigure the PMC to increment only if the number of configured
170fabe02f5SSean Brunoevents measured in a cycle is greater than or equal to
171fabe02f5SSean Bruno.Ar value .
172fabe02f5SSean Bruno.It Li edge
173fabe02f5SSean BrunoConfigure the PMC to count the number of de-asserted to asserted
174fabe02f5SSean Brunotransitions of the conditions expressed by the other qualifiers.
175fabe02f5SSean BrunoIf specified, the counter will increment only once whenever a
176fabe02f5SSean Brunocondition becomes true, irrespective of the number of clocks during
177fabe02f5SSean Brunowhich the condition remains true.
178fabe02f5SSean Bruno.It Li inv
179fabe02f5SSean BrunoInvert the sense of comparison when the
180fabe02f5SSean Bruno.Dq Li cmask
181fabe02f5SSean Brunoqualifier is present, making the counter increment when the number of
182fabe02f5SSean Brunoevents per cycle is less than the value specified by the
183fabe02f5SSean Bruno.Dq Li cmask
184fabe02f5SSean Brunoqualifier.
185fabe02f5SSean Bruno.It Li os
186fabe02f5SSean BrunoConfigure the PMC to count events happening at processor privilege
187fabe02f5SSean Brunolevel 0.
188fabe02f5SSean Bruno.It Li usr
189fabe02f5SSean BrunoConfigure the PMC to count events occurring at privilege levels 1, 2
190fabe02f5SSean Brunoor 3.
191fabe02f5SSean Bruno.El
192fabe02f5SSean Bruno.Pp
193fabe02f5SSean BrunoIf neither of the
194fabe02f5SSean Bruno.Dq Li os
195fabe02f5SSean Brunoor
196fabe02f5SSean Bruno.Dq Li usr
197fabe02f5SSean Brunoqualifiers are specified, the default is to enable both.
198fabe02f5SSean Bruno.Ss Event Specifiers (Programmable PMCs)
199fabe02f5SSean BrunoSandy Bridge Xeon programmable PMCs support the following events:
200fabe02f5SSean Bruno.Bl -tag -width indent
201fabe02f5SSean Bruno.It Li LD_BLOCKS.DATA_UNKNOWN
202fabe02f5SSean Bruno.Pq Event 03H , Umask 01H
203fabe02f5SSean Brunoblocked loads due to store buffer blocks with unknown data.
204fabe02f5SSean Bruno.It Li LD_BLOCKS.STORE_FORWARD
205fabe02f5SSean Bruno.Pq Event 03H , Umask 02H
206fabe02f5SSean Brunoloads blocked by overlapping with store buffer that cannot
207fabe02f5SSean Brunobe forwarded .
208fabe02f5SSean Bruno.It Li LD_BLOCKS.NO_SR
209fabe02f5SSean Bruno.Pq Event 03H , Umask 08H
210fabe02f5SSean Bruno# of Split loads blocked due to resource not available.
211fabe02f5SSean Bruno.It Li LD_BLOCKS.ALL_BLOCK
212fabe02f5SSean Bruno.Pq Event 03H , Umask 10H
213fabe02f5SSean BrunoNumber of cases where any load is blocked but has no
214fabe02f5SSean BrunoDCU miss.
215fabe02f5SSean Bruno.It Li MISALIGN_MEM_REF.LOADS
216fabe02f5SSean Bruno.Pq Event 05H , Umask 01H
217fabe02f5SSean BrunoSpeculative cache-line split load uops dispatched to
218fabe02f5SSean BrunoL1D.
219fabe02f5SSean Bruno.It Li MISALIGN_MEM_REF.STORES
220fabe02f5SSean Bruno.Pq Event 05H , Umask 02H
221fabe02f5SSean BrunoSpeculative cache-line split Store- address uops
222fabe02f5SSean Brunodispatched to L1D.
223fabe02f5SSean Bruno.It Li LD_BLOCKS_PARTIAL.ADDRESS_ALIAS
224fabe02f5SSean Bruno.Pq Event 07H , Umask 01H
225fabe02f5SSean BrunoFalse dependencies in MOB due to partial compare on
226fabe02f5SSean Brunoaddress.
227fabe02f5SSean Bruno.It Li LD_BLOCKS_PARTIAL.ALL_STALL_BLOCK
228fabe02f5SSean Bruno.Pq Event 07H , Umask 08H
229fabe02f5SSean BrunoThe number of times that load operations are temporarily
230fabe02f5SSean Brunoblocked because of older stores, with addresses that are
2310b129325SGordon Berglingnot yet known.
2320b129325SGordon BerglingA load operation may incur more than one block of this type.
233fabe02f5SSean Bruno.It Li TLB_LOAD_MISSES.MISS_CAUSES_A_WALK
234fabe02f5SSean Bruno.Pq Event 08H , Umask 01H
235fabe02f5SSean BrunoMisses in all TLB levels that cause a page walk of any
236fabe02f5SSean Brunopage size.
237fabe02f5SSean Bruno.It Li TLB_LOAD_MISSES.WALK_COMPLETED
238fabe02f5SSean Bruno.Pq Event 08H , Umask 02H
239fabe02f5SSean BrunoMisses in all TLB levels that caused page walk completed
240fabe02f5SSean Brunoof any size.
241fabe02f5SSean Bruno.It Li DTLB_LOAD_MISSES.WALK_DURATION
242fabe02f5SSean Bruno.Pq Event 08H , Umask 04H
243fabe02f5SSean BrunoCycle PMH is busy with a walk.
244fabe02f5SSean Bruno.It Li DTLB_LOAD_MISSES.STLB_HIT
245fabe02f5SSean Bruno.Pq Event 08H , Umask 10H
2460b129325SGordon BerglingNumber of cache load STLB hits.
2470b129325SGordon BerglingNo page walk.
248fabe02f5SSean Bruno.It Li INT_MISC.RECOVERY_CYCLES
249fabe02f5SSean Bruno.Pq Event 0DH , Umask 03H
250fabe02f5SSean BrunoCycles waiting to recover after Machine Clears or EClear.
251fabe02f5SSean BrunoSet Cmask= 1.
252fabe02f5SSean Bruno.It Li INT_MISC.RAT_STALL_CYCLES
253fabe02f5SSean Bruno.Pq Event 0DH , Umask 40H
254fabe02f5SSean BrunoCycles RAT external stall is sent to IDQ for this thread.
255fabe02f5SSean Bruno.It Li UOPS_ISSUED.ANY
256fabe02f5SSean Bruno.Pq Event 0EH , Umask 01H
257fabe02f5SSean BrunoIncrements each cycle the # of Uops issued by the
258fabe02f5SSean BrunoRAT to RS.
259fabe02f5SSean BrunoSet Cmask = 1, Inv = 1, Any= 1to count stalled cycles
260fabe02f5SSean Brunoof this core.
261fabe02f5SSean Bruno.It Li FP_COMP_OPS_EXE.X87
262fabe02f5SSean Bruno.Pq Event 10H , Umask 01H
263fabe02f5SSean BrunoCounts number of X87 uops executed.
264fabe02f5SSean Bruno.It Li FP_COMP_OPS_EXE.SSE_FP_PACKED_DOUBLE
265fabe02f5SSean Bruno.Pq Event 10H , Umask 10H
266fabe02f5SSean BrunoCounts number of SSE* double precision FP packed
267fabe02f5SSean Brunouops executed.
268fabe02f5SSean Bruno.It Li FP_COMP_OPS_EXE.SSE_FP_SCALAR_SINGLE
269fabe02f5SSean Bruno.Pq Event 10H , Umask 20H
270fabe02f5SSean BrunoCounts number of SSE* single precision FP scalar
271fabe02f5SSean Brunouops executed.
272fabe02f5SSean Bruno.It Li FP_COMP_OPS_EXE.SSE_PACKED_SINGLE
273fabe02f5SSean Bruno.Pq Event 10H , Umask 40H
274fabe02f5SSean BrunoCounts number of SSE* single precision FP packed
275fabe02f5SSean Brunouops executed.
276fabe02f5SSean Bruno.It Li FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE
277fabe02f5SSean Bruno.Pq Event 10H , Umask 80H
278fabe02f5SSean BrunoCounts number of SSE* double precision FP scalar
279fabe02f5SSean Brunouops executed.
280fabe02f5SSean Bruno.It Li SIMD_FP_256.PACKED_SINGLE
281fabe02f5SSean Bruno.Pq Event 11H , Umask 01H
282fabe02f5SSean BrunoCounts 256-bit packed single-precision floating-
283fabe02f5SSean Brunopoint instructions.
284fabe02f5SSean Bruno.It Li SIMD_FP_256.PACKED_DOUBLE
285fabe02f5SSean Bruno.Pq Event 11H , Umask 02H
286fabe02f5SSean BrunoCounts 256-bit packed double-precision floating-
287fabe02f5SSean Brunopoint instructions.
288fabe02f5SSean Bruno.It Li ARITH.FPU_DIV_ACTIVE
289fabe02f5SSean Bruno.Pq Event 14H , Umask 01H
290fabe02f5SSean BrunoCycles that the divider is active, includes INT and FP.
291fabe02f5SSean BrunoSet 'edge =1, cmask=1' to count the number of
292fabe02f5SSean Brunodivides.
293fabe02f5SSean Bruno.It Li INSTS_WRITTEN_TO_IQ.INSTS
294fabe02f5SSean Bruno.Pq Event 17H , Umask 01H
295fabe02f5SSean BrunoCounts the number of instructions written into the
296fabe02f5SSean BrunoIQ every cycle.
297fabe02f5SSean Bruno.It Li L2_RQSTS.DEMAND_DATA_RD_HIT
298fabe02f5SSean Bruno.Pq Event 24H , Umask 01H
299fabe02f5SSean BrunoDemand Data Read requests that hit L2 cache.
300fabe02f5SSean Bruno.It Li L2_RQSTS.ALL_DEMAND_DATA_RD
301fabe02f5SSean Bruno.Pq Event 24H , Umask 03H
302fabe02f5SSean BrunoCounts any demand and L1 HW prefetch data load
303fabe02f5SSean Brunorequests to L2.
304fabe02f5SSean Bruno.It Li L2_RQSTS.RFO_HITS
305fabe02f5SSean Bruno.Pq Event 24H , Umask 04H
306fabe02f5SSean BrunoCounts the number of store RFO requests that
307fabe02f5SSean Brunohit the L2 cache.
308fabe02f5SSean Bruno.It Li L2_RQSTS.RFO_MISS
309fabe02f5SSean Bruno.Pq Event 24H , Umask 08H
310fabe02f5SSean BrunoCounts the number of store RFO requests that
311fabe02f5SSean Brunomiss the L2 cache.
312fabe02f5SSean Bruno.It Li L2_RQSTS.ALL_RFO
313fabe02f5SSean Bruno.Pq Event 24H , Umask 0CH
314fabe02f5SSean BrunoCounts all L2 store RFO requests.
315fabe02f5SSean Bruno.It Li L2_RQSTS.CODE_RD_HIT
316fabe02f5SSean Bruno.Pq Event 24H , Umask 10H
317fabe02f5SSean BrunoNumber of instruction fetches that hit the L2
318fabe02f5SSean Brunocache.
319fabe02f5SSean Bruno.It Li L2_RQSTS.CODE_RD_MISS
320fabe02f5SSean Bruno.Pq Event 24H , Umask 20H
321fabe02f5SSean BrunoNumber of instruction fetches that missed the L2
322fabe02f5SSean Brunocache.
323fabe02f5SSean Bruno.It Li L2_RQSTS.ALL_CODE_RD
324fabe02f5SSean Bruno.Pq Event 24H , Umask 30H
325fabe02f5SSean BrunoCounts all L2 code requests.
326fabe02f5SSean Bruno.It Li L2_RQSTS.PF_HIT
327fabe02f5SSean Bruno.Pq Event 24H , Umask 40H
328fabe02f5SSean BrunoRequests from L2 Hardware prefetcher that hit L2.
329fabe02f5SSean Bruno.It Li L2_RQSTS.PF_MISS
330fabe02f5SSean Bruno.Pq Event 24H , Umask 80H
331fabe02f5SSean BrunoRequests from L2 Hardware prefetcher that missed
332fabe02f5SSean BrunoL2.
333fabe02f5SSean Bruno.It Li L2_RQSTS.ALL_PF
334fabe02f5SSean Bruno.Pq Event 24H , Umask C0H
335fabe02f5SSean BrunoAny requests from L2 Hardware prefetchers.
336fabe02f5SSean Bruno.It Li L2_STORE_LOCK_RQSTS.MISS
337fabe02f5SSean Bruno.Pq Event 27H , Umask 01H
338fabe02f5SSean BrunoROs that miss cache lines.
339fabe02f5SSean Bruno.It Li L2_STORE_LOCK_RQSTS.HIT_E
340fabe02f5SSean Bruno.Pq Event 27H , Umask 04H
341fabe02f5SSean BrunoRFOs that hit cache lines in E state.
342fabe02f5SSean Bruno.It Li L2_STORE_LOCK_RQSTS.HIT_M
343fabe02f5SSean Bruno.Pq Event 27H , Umask 08H
344fabe02f5SSean BrunoRFOs that hit cache lines in M state.
345fabe02f5SSean Bruno.It Li L2_STORE_LOCK_RQSTS.ALL
346fabe02f5SSean Bruno.Pq Event 27H , Umask 0FH
347fabe02f5SSean BrunoRFOs that access cache lines in any state.
348fabe02f5SSean Bruno.It Li L2_L1D_WB_RQSTS.MISS
349fabe02f5SSean Bruno.Pq Event 28H , Umask 01H
350fabe02f5SSean BrunoNot rejected writebacks from L1D to L2 cache lines
351fabe02f5SSean Brunothat missed L2.
352fabe02f5SSean Bruno.It Li L2_L1D_WB_RQSTS.HIT_S
353fabe02f5SSean Bruno.Pq Event 28H , Umask 02H
354fabe02f5SSean BrunoNot rejected writebacks from L1D to L2 cache lines
355fabe02f5SSean Brunoin S state.
356fabe02f5SSean Bruno.It Li L2_L1D_WB_RQSTS.HIT_E
357fabe02f5SSean Bruno.Pq Event 28H , Umask 04H
358fabe02f5SSean BrunoNot rejected writebacks from L1D to L2 cache lines
359fabe02f5SSean Brunoin E state.
360fabe02f5SSean Bruno.It Li L2_L1D_WB_RQSTS.HIT_M
361fabe02f5SSean Bruno.Pq Event 28H , Umask 08H
362fabe02f5SSean BrunoNot rejected writebacks from L1D to L2 cache lines
363fabe02f5SSean Brunoin M state.
364fabe02f5SSean Bruno.It Li L2_L1D_WB_RQSTS.ALL
365fabe02f5SSean Bruno.Pq Event 28H , Umask 0FH
366fabe02f5SSean BrunoNot rejected writebacks from L1D to L2 cache.
367fabe02f5SSean Bruno.It Li LONGEST_LAT_CACHE.REFERENCE
368fabe02f5SSean Bruno.Pq Event 2EH , Umask 4FH
369fabe02f5SSean BrunoThis event counts requests originating from the
370fabe02f5SSean Brunocore that reference
371fabe02f5SSean Brunoa cache line in the last level cache.
372fabe02f5SSean Bruno.It Li LONGEST_LAT_CACHE.MISS
373fabe02f5SSean Bruno.Pq Event 2EH , Umask 41H
374fabe02f5SSean BrunoThis event counts each cache miss condition for
375fabe02f5SSean Brunoreferences to the last level cache.
376fabe02f5SSean Bruno.It Li CPU_CLK_UNHALTED.THREAD_P
377fabe02f5SSean Bruno.Pq Event 3CH , Umask 00H
378fabe02f5SSean BrunoCounts the number of thread cycles while the
3790b129325SGordon Berglingthread is not in a halt state.
3800b129325SGordon BerglingThe thread enters the halt state when it is running the HLT
3810b129325SGordon Berglinginstruction.
3820b129325SGordon BerglingThe core frequency may change from time to time due to power or thermal throttling.
383fabe02f5SSean Bruno.It Li CPU_CLK_THREAD_UNHALTED.REF_XCLK
384fabe02f5SSean Bruno.Pq Event 3CH , Umask 01H
385fabe02f5SSean BrunoIncrements at the frequency of XCLK (100 MHz)
386fabe02f5SSean Brunowhen not halted.
387fabe02f5SSean Bruno.It Li L1D_PEND_MISS.PENDING
388fabe02f5SSean Bruno.Pq Event 48H , Umask 01H
389fabe02f5SSean BrunoIncrements the number of outstanding L1D misses
390fabe02f5SSean Brunoevery cycle.
391fabe02f5SSean BrunoSet Cmaks = 1 and Edge =1 to count occurrences.
392fabe02f5SSean Bruno.It Li DTLB_STORE_MISSES.MISS_CAUSES_A_WALK
393fabe02f5SSean Bruno.Pq Event 49H , Umask 01H
394fabe02f5SSean BrunoMiss in all TLB levels causes an page walk of
395fabe02f5SSean Brunoany page size (4K/2M/4M/1G).
396fabe02f5SSean Bruno.It Li DTLB_STORE_MISSES.WALK_COMPLETED
397fabe02f5SSean Bruno.Pq Event 49H , Umask 02H
398fabe02f5SSean BrunoMiss in all TLB levels causes a page walk that
399fabe02f5SSean Brunocompletes of any page size (4K/2M/4M/1G).
400fabe02f5SSean Bruno.It Li DTLB_STORE_MISSES.WALK_DURATION
401fabe02f5SSean Bruno.Pq Event 49H , Umask 04H
402fabe02f5SSean BrunoCycles PMH is busy with this walk.
403fabe02f5SSean Bruno.It Li DTLB_STORE_MISSES.STLB_HIT
404fabe02f5SSean Bruno.Pq Event 49H , Umask 10H
405fabe02f5SSean BrunoStore operations that miss the first TLB level
406fabe02f5SSean Brunobut hit the second and do not cause page walks.
407fabe02f5SSean Bruno.It Li LOAD_HIT_PRE.SW_PF
408fabe02f5SSean Bruno.Pq Event 4CH , Umask 01H
409fabe02f5SSean BrunoNot SW-prefetch load dispatches that hit fill
410fabe02f5SSean Brunobuffer allocated for S/W prefetch.
411fabe02f5SSean Bruno.It Li LOAD_HIT_PER.HW_PF
412fabe02f5SSean Bruno.Pq Event 4CH , Umask 02H
413fabe02f5SSean BrunoNot SW-prefetch load dispatches that hit fill
414fabe02f5SSean Brunobuffer allocated for H/W prefetch.
415fabe02f5SSean Bruno.It Li HW_PRE_REQ.DL1_MISS
416fabe02f5SSean Bruno.Pq Event 4EH , Umask 02H
4170b129325SGordon BerglingHardware Prefetch requests that miss the L1D cache.
4180b129325SGordon BerglingA request is being counted each time it access the cache
4190b129325SGordon Bergling& miss it, including if a block is applicable or if hit the Fill
420fabe02f5SSean BrunoBuffer for example.
421fabe02f5SSean Bruno.It Li L1D.REPLACEMENT
422fabe02f5SSean Bruno.Pq Event 51H , Umask 01H
423fabe02f5SSean BrunoCounts the number of lines brought into the
424fabe02f5SSean BrunoL1 data cache.
425fabe02f5SSean Bruno.It Li L1D.ALLOCATED_IN_M
426fabe02f5SSean Bruno.Pq Event 51H , Umask 02H
427fabe02f5SSean BrunoCounts the number of allocations of modified
428fabe02f5SSean BrunoL1D cache lines.
429fabe02f5SSean Bruno.It Li L1D.EVICTION
430fabe02f5SSean Bruno.Pq Event 51H , Umask 04H
431fabe02f5SSean BrunoCounts the number of modified lines evicted
432fabe02f5SSean Brunofrom the L1 data cache due to replacement.
433fabe02f5SSean Bruno.It Li L1D.ALL_M_REPLACEMENT
434fabe02f5SSean Bruno.Pq Event 51H , Umask 08H
435fabe02f5SSean BrunoCache lines in M state evicted out of L1D due
436fabe02f5SSean Brunoto Snoop HitM or dirty line replacement.
437fabe02f5SSean Bruno.It Li PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP
438fabe02f5SSean Bruno.Pq Event 59H , Umask 0CH
439fabe02f5SSean BrunoIncrements the number of flags-merge uops in
440fabe02f5SSean Brunoflight each cycle.
441fabe02f5SSean BrunoSet Cmask = 1 to count cycles.
442fabe02f5SSean Bruno.It Li PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW
443fabe02f5SSean Bruno.Pq Event 59H , Umask 0FH
444fabe02f5SSean BrunoCycles with at least one slow LEA uop allocated.
445fabe02f5SSean Bruno.It Li PARTIAL_RAT_STALLS.MUL_SINGLE_UOP
446fabe02f5SSean Bruno.Pq Event 59H , Umask 40H
447fabe02f5SSean BrunoNumber of Multiply packed/scalar single precision
448fabe02f5SSean Brunouops allocated.
449fabe02f5SSean Bruno.It Li RESOURCE_STALLS2.ALL_FL_EMPTY
450fabe02f5SSean Bruno.Pq Event 5BH , Umask 0CH
451fabe02f5SSean BrunoCycles stalled due to free list empty.
452fabe02f5SSean Bruno.It Li RESOURCE_STALLS2.ALL_PRF_CONTROL
453fabe02f5SSean Bruno.Pq Event 5BH , Umask 0FH
454fabe02f5SSean BrunoCycles stalled due to control structures full for
455fabe02f5SSean Brunophysical registers.
456fabe02f5SSean Bruno.It Li RESOURCE_STALLS2.BOB_FULL
457fabe02f5SSean Bruno.Pq Event 5BH , Umask 40H
458fabe02f5SSean BrunoCycles Allocator is stalled due Branch Order Buffer.
459fabe02f5SSean Bruno.It Li RESOURCE_STALLS2.OOO_RSRC
460fabe02f5SSean Bruno.Pq Event 5BH , Umask 4FH
461fabe02f5SSean BrunoCycles stalled due to out of order resources full.
462fabe02f5SSean Bruno.It Li CPL_CYCLES.RING0
463fabe02f5SSean Bruno.Pq Event 5CH , Umask 01H
464fabe02f5SSean BrunoUnhalted core cycles when the thread is in ring 0.
465fabe02f5SSean Bruno.It Li CPL_CYCLES.RING123
466fabe02f5SSean Bruno.Pq Event 5CH , Umask 02H
467fabe02f5SSean BrunoUnhalted core cycles when the thread is not in ring
468fabe02f5SSean Bruno0.
469fabe02f5SSean Bruno.It Li RS_EVENTS.EMPTY_CYCLES
470fabe02f5SSean Bruno.Pq Event 5EH , Umask 01H
471fabe02f5SSean BrunoCycles the RS is empty for the thread.
472fabe02f5SSean Bruno.It Li OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD
473fabe02f5SSean Bruno.Pq Event 60H , Umask 01H
474fabe02f5SSean BrunoOffcore outstanding Demand Data Read
4750b129325SGordon Berglingtransactions in SQ to uncore.
4760b129325SGordon BerglingSet Cmask=1 to count cycles.
477fabe02f5SSean Bruno.It Li OFFCORE_REQUESTS_OUTSTANDING.DEMAND_RFO
478fabe02f5SSean Bruno.Pq Event 60H , Umask 04H
479fabe02f5SSean BrunoOffcore outstanding RFO store transactions in SQ to
4800b129325SGordon Berglinguncore.
4810b129325SGordon BerglingSet Cmask=1 to count cycles.
482fabe02f5SSean Bruno.It Li OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD
483fabe02f5SSean Bruno.Pq Event 60H , Umask 08H
484fabe02f5SSean BrunoOffcore outstanding cacheable data read
4850b129325SGordon Berglingtransactions in SQ to uncore.
4860b129325SGordon BerglingSet Cmask=1 to count cycles.
487fabe02f5SSean Bruno.It Li LOCK_CYCLES.SPLIT_LOCK_UC_LOCK_DURATION
488fabe02f5SSean Bruno.Pq Event 63H , Umask 01H
489fabe02f5SSean BrunoCycles in which the L1D and L2 are locked, due to a
490fabe02f5SSean BrunoUC lock or split lock.
491fabe02f5SSean Bruno.It Li LOCK_CYCLES.CACHE_LOCK_DURATION
492fabe02f5SSean Bruno.Pq Event 63H , Umask 02H
493fabe02f5SSean BrunoCycles in which the L1D is locked.
494fabe02f5SSean Bruno.It Li IDQ.EMPTY
495fabe02f5SSean Bruno.Pq Event 79H , Umask 02H
496fabe02f5SSean BrunoCounts cycles the IDQ is empty.
497fabe02f5SSean Bruno.It Li IDQ.MITE_UOPS
498fabe02f5SSean Bruno.Pq Event 79H , Umask 04H
499fabe02f5SSean BrunoIncrement each cycle # of uops delivered to IDQ
500fabe02f5SSean Brunofrom MITE path.
501fabe02f5SSean BrunoSet Cmask = 1 to count cycles.
502fabe02f5SSean Bruno.It Li IDQ.DSB_UOPS
503fabe02f5SSean Bruno.Pq Event 79H , Umask 08H
504fabe02f5SSean BrunoIncrement each cycle. # of uops delivered to IDQ
505fabe02f5SSean Brunofrom DSB path.
506fabe02f5SSean BrunoSet Cmask = 1 to count cycles.
507fabe02f5SSean Bruno.It Li IDQ.MS_DSB_UOPS
508fabe02f5SSean Bruno.Pq Event 79H , Umask 10H
509fabe02f5SSean BrunoIncrement each cycle # of uops delivered to IDQ
5100b129325SGordon Berglingwhen MS busy by DSB.
5110b129325SGordon BerglingSet Cmask = 1 to count cycles MS is busy.
5120b129325SGordon BerglingSet Cmask=1 and Edge =1 to count MS activations.
513fabe02f5SSean Bruno.It Li IDQ.MS_MITE_UOPS
514fabe02f5SSean Bruno.Pq Event 79H , Umask 20H
515fabe02f5SSean BrunoIncrement each cycle # of uops delivered to IDQ
5160b129325SGordon Berglingwhen MS is busy by MITE.
5170b129325SGordon BerglingSet Cmask = 1 to count cycles.
518fabe02f5SSean Bruno.It Li IDQ.MS_UOPS
519fabe02f5SSean Bruno.Pq Event 79H , Umask 30H
520fabe02f5SSean BrunoIncrement each cycle # of uops delivered to IDQ
5210b129325SGordon Berglingfrom MS by either DSB or MITE.
5220b129325SGordon BerglingSet Cmask = 1 to count cycles.
523fabe02f5SSean Bruno.It Li ICACHE.MISSES
524fabe02f5SSean Bruno.Pq Event 80H , Umask 02H
525fabe02f5SSean BrunoNumber of Instruction Cache, Streaming Buffer and
5260b129325SGordon BerglingVictim Cache Misses.
5270b129325SGordon BerglingIncludes UC accesses.
528fabe02f5SSean Bruno.It Li ITLB_MISSES.MISS_CAUSES_A_WALK
529fabe02f5SSean Bruno.Pq Event 85H , Umask 01H
530fabe02f5SSean BrunoMisses in all ITLB levels that cause page walks.
531fabe02f5SSean Bruno.It Li ITLB_MISSES.WALK_COMPLETED
532fabe02f5SSean Bruno.Pq Event 85H , Umask 02H
533fabe02f5SSean BrunoMisses in all ITLB levels that cause completed page
534fabe02f5SSean Brunowalks.
535fabe02f5SSean Bruno.It Li ITLB_MISSES.WALK_DURATION
536fabe02f5SSean Bruno.Pq Event 85H , Umask 04H
537fabe02f5SSean BrunoCycle PMH is busy with a walk.
538fabe02f5SSean Bruno.It Li ITLB_MISSES.STLB_HIT
539fabe02f5SSean Bruno.Pq Event 85H , Umask 10H
5400b129325SGordon BerglingNumber of cache load STLB hits.
5410b129325SGordon BerglingNo page walk.
542fabe02f5SSean Bruno.It Li ILD_STALL.LCP
543fabe02f5SSean Bruno.Pq Event 87H , Umask 01H
544fabe02f5SSean BrunoStalls caused by changing prefix length of the
545fabe02f5SSean Brunoinstruction.
546fabe02f5SSean Bruno.It Li ILD_STALL.IQ_FULL
547fabe02f5SSean Bruno.Pq Event 87H , Umask 04H
548fabe02f5SSean BrunoStall cycles due to IQ is full.
5499e60f3acSRyan Stone.It Li BR_INST_EXEC.NONTAKEN_COND
5509e60f3acSRyan Stone.Pq Event 88H , Umask 41H
5519e60f3acSRyan StoneCount conditional near branch instructions that were executed (but not
5529e60f3acSRyan Stonenecessarily retired) and not taken.
5539e60f3acSRyan Stone.It Li BR_INST_EXEC.TAKEN_COND
5549e60f3acSRyan Stone.Pq Event 88H , Umask 81H
5559e60f3acSRyan StoneCount conditional near branch instructions that were executed (but not
5569e60f3acSRyan Stonenecessarily retired) and taken.
557fabe02f5SSean Bruno.It Li BR_INST_EXEC.DIRECT_JMP
5589e60f3acSRyan Stone.Pq Event 88H , Umask 82H
5599e60f3acSRyan StoneCount all unconditional near branch instructions excluding calls and
5609e60f3acSRyan Stoneindirect branches.
561fabe02f5SSean Bruno.It Li BR_INST_EXEC.INDIRECT_JMP_NON_CALL_RET
5629e60f3acSRyan Stone.Pq Event 88H , Umask 84H
5639e60f3acSRyan StoneCount executed indirect near branch instructions that are not calls nor
5649e60f3acSRyan Stonereturns.
565fabe02f5SSean Bruno.It Li BR_INST_EXEC.RETURN_NEAR
5669e60f3acSRyan Stone.Pq Event 88H , Umask 88H
5679e60f3acSRyan StoneCount indirect near branches that have a return mnemonic.
568fabe02f5SSean Bruno.It Li BR_INST_EXEC.DIRECT_NEAR_CALL
5699e60f3acSRyan Stone.Pq Event 88H , Umask 90H
5709e60f3acSRyan StoneCount unconditional near call branch instructions, excluding non call
5719e60f3acSRyan Stonebranch, executed.
572fabe02f5SSean Bruno.It Li BR_INST_EXEC.INDIRECT_NEAR_CALL
5739e60f3acSRyan Stone.Pq Event 88H , Umask A0H
5749e60f3acSRyan StoneCount indirect near calls, including both register and memory indirect,
5759e60f3acSRyan Stoneexecuted.
5769e60f3acSRyan Stone.It Li BR_INST_EXEC.ALL_BRANCHES
577fabe02f5SSean Bruno.Pq Event 88H , Umask FFH
5789e60f3acSRyan StoneCounts all near executed branches (not necessarily retired).
5799e60f3acSRyan Stone.It Li BR_MISP_EXEC.NONTAKEN_COND
5809e60f3acSRyan Stone.Pq Event 89H , Umask 41H
5819e60f3acSRyan StoneCount conditional near branch instructions mispredicted as nontaken.
5829e60f3acSRyan Stone.It Li BR_MISP_EXEC.TAKEN_COND
5839e60f3acSRyan Stone.Pq Event 89H , Umask 81H
5849e60f3acSRyan StoneCount conditional near branch instructions mispredicted as taken.
585fabe02f5SSean Bruno.It Li BR_MISP_EXEC.INDIRECT_JMP_NON_CALL_RET
5869e60f3acSRyan Stone.Pq Event 89H , Umask 84H
5879e60f3acSRyan StoneCount mispredicted indirect near branch instructions that are not calls
5889e60f3acSRyan Stonenor returns.
589fabe02f5SSean Bruno.It Li BR_MISP_EXEC.RETURN_NEAR
5909e60f3acSRyan Stone.Pq Event 89H , Umask 88H
5919e60f3acSRyan StoneCount mispredicted indirect near branches that have a return mnemonic.
592fabe02f5SSean Bruno.It Li BR_MISP_EXEC.DIRECT_NEAR_CALL
5939e60f3acSRyan Stone.Pq Event 89H , Umask 90H
5949e60f3acSRyan StoneCount mispredicted unconditional near call branch instructions, excluding
5959e60f3acSRyan Stonenon call branch, executed.
596fabe02f5SSean Bruno.It Li BR_MISP_EXEC.INDIRECT_NEAR_CALL
5979e60f3acSRyan Stone.Pq Event 89H , Umask A0H
5989e60f3acSRyan StoneCount mispredicted indirect near calls, including both register and memory
5999e60f3acSRyan Stoneindirect, executed.
600fabe02f5SSean Bruno.It Li BR_MISP_EXEC.ALL_BRANCHES
601fabe02f5SSean Bruno.Pq Event 89H , Umask FFH
6029e60f3acSRyan StoneCounts all mispredicted near executed branches (not necessarily retired).
603fabe02f5SSean Bruno.It Li IDQ_UOPS_NOT_DELIVERED.CORE
604fabe02f5SSean Bruno.Pq Event 9CH , Umask 01H
605fabe02f5SSean BrunoCount number of non-delivered uops to RAT per
606fabe02f5SSean Brunothread.
607fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_0
608fabe02f5SSean Bruno.Pq Event A1H , Umask 01H
609fabe02f5SSean BrunoCycles which a Uop is dispatched on port 0.
610fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_1
611fabe02f5SSean Bruno.Pq Event A1H , Umask 02H
612fabe02f5SSean BrunoCycles which a Uop is dispatched on port 1.
613fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_2_LD
614fabe02f5SSean Bruno.Pq Event A1H , Umask 04H
615fabe02f5SSean BrunoCycles which a load uop is dispatched on port 2.
616fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_2_STA
617fabe02f5SSean Bruno.Pq Event A1H , Umask 08H
618fabe02f5SSean BrunoCycles which a store address uop is dispatched on
619fabe02f5SSean Brunoport 2.
620fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_2
621fabe02f5SSean Bruno.Pq Event A1H , Umask 0CH
622fabe02f5SSean BrunoCycles which a Uop is dispatched on port 2.
623fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_3_LD
624fabe02f5SSean Bruno.Pq Event A1H , Umask 10H
625fabe02f5SSean BrunoCycles which a load uop is dispatched on port 3.
626fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_3_STA
627fabe02f5SSean Bruno.Pq Event A1H , Umask 20H
628fabe02f5SSean BrunoCycles which a store address uop is dispatched on
629fabe02f5SSean Brunoport 3.
630fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_3
631fabe02f5SSean Bruno.Pq Event A1H , Umask 30H
632fabe02f5SSean BrunoCycles which a Uop is dispatched on port 3.
633fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_4
634fabe02f5SSean Bruno.Pq Event A1H , Umask 40H
635fabe02f5SSean BrunoCycles which a Uop is dispatched on port 4.
636fabe02f5SSean Bruno.It Li UOPS_DISPATCHED_PORT.PORT_5
637fabe02f5SSean Bruno.Pq Event A1H , Umask 80H
638fabe02f5SSean BrunoCycles which a Uop is dispatched on port 5.
639fabe02f5SSean Bruno.It Li RESOURCE_STALLS.ANY
640fabe02f5SSean Bruno.Pq Event A2H , Umask 01H
641fabe02f5SSean BrunoCycles Allocation is stalled due to Resource Related
642fabe02f5SSean Brunoreason.
643fabe02f5SSean Bruno.It Li RESOURCE_STALLS.LB
644fabe02f5SSean Bruno.Pq Event A2H , Umask 01H
645fabe02f5SSean BrunoCounts the cycles of stall due to lack of load buffers.
646fabe02f5SSean Bruno.It Li RESOURCE_STALLS.RS
647fabe02f5SSean Bruno.Pq Event A2H , Umask 04H
648fabe02f5SSean BrunoCycles stalled due to no eligible RS entry available.
649fabe02f5SSean Bruno.It Li RESOURCE_STALLS.SB
650fabe02f5SSean Bruno.Pq Event A2H , Umask 08H
6510b129325SGordon BerglingCycles stalled due to no store buffers available.
6520b129325SGordon Bergling(not including draining form sync).
653fabe02f5SSean Bruno.It Li RESOURCE_STALLS.ROB
654fabe02f5SSean Bruno.Pq Event A2H , Umask 10H
655fabe02f5SSean BrunoCycles stalled due to re-order buffer full.
656fabe02f5SSean Bruno.It Li RESOURCE_STALLS.FCSW
657fabe02f5SSean Bruno.Pq Event A2H , Umask 20H
658fabe02f5SSean BrunoCycles stalled due to writing the FPU control word.
659fabe02f5SSean Bruno.It Li RESOURCE_STALLS.MXCSR
660fabe02f5SSean Bruno.Pq Event A2H , Umask 40H
661fabe02f5SSean BrunoCycles stalled due to the MXCSR register rename
662fabe02f5SSean Brunooccurring to close to a previous MXCSR rename.
663fabe02f5SSean Bruno.It Li RESOURCE_STALLS.OTHER
664fabe02f5SSean Bruno.Pq Event A2H , Umask 80H
665fabe02f5SSean BrunoCycles stalled while execution was stalled due to
666fabe02f5SSean Brunoother resource issues.
667fabe02f5SSean Bruno.It Li CYCLE_ACTIVITY.CYCLES_L2_PENDING
668fabe02f5SSean Bruno.Pq Event A3H , Umask 01H
6690b129325SGordon BerglingCycles with pending L2 miss loads.
6700b129325SGordon BerglingSet AnyThread to count per core.
671fabe02f5SSean Bruno.It Li CYCLE_ACTIVITY.CYCLES_L1D_PENDING
672fabe02f5SSean Bruno.Pq Event A3H , Umask 02H
6730b129325SGordon BerglingCycles with pending L1 cache miss loads.
6740b129325SGordon BerglingSet AnyThread to count per core.
675fabe02f5SSean Bruno.It Li CYCLE_ACTIVITY.CYCLES_NO_DISPATCH
676fabe02f5SSean Bruno.Pq Event A3H , Umask 04H
6770b129325SGordon BerglingCycles of dispatch stalls.
6780b129325SGordon BerglingSet AnyThread to count per core.
679fabe02f5SSean Bruno.It Li DSB2MITE_SWITCHES.COUNT
680fabe02f5SSean Bruno.Pq Event ABH , Umask 01H
681fabe02f5SSean BrunoNumber of DSB to MITE switches.
682fabe02f5SSean Bruno.It Li DSB2MITE_SWITCHES.PENALTY_CYCLES
683fabe02f5SSean Bruno.Pq Event ABH , Umask 02H
684fabe02f5SSean BrunoCycles DSB to MITE switches caused delay.
685fabe02f5SSean Bruno.It Li DSB_FILL.OTHER_CANCEL
686fabe02f5SSean Bruno.Pq Event ACH , Umask 02H
687fabe02f5SSean BrunoCases of cancelling valid DSB fill not because of
688fabe02f5SSean Brunoexceeding way limit.
689fabe02f5SSean Bruno.It Li DSB_FILL.EXCEED_DSB_LINES
690fabe02f5SSean Bruno.Pq Event ACH , Umask 08H
691fabe02f5SSean BrunoDSB Fill encountered > 3 DSB lines.
692fabe02f5SSean Bruno.It Li DSB_FILL.ALL_CANCEL
693fabe02f5SSean Bruno.Pq Event ACH , Umask 0AH
694fabe02f5SSean BrunoCases of cancelling valid Decode Stream Buffer
695fabe02f5SSean Bruno(DSB) fill not because of exceeding way limit.
696fabe02f5SSean Bruno.It Li ITLB.ITLB_FLUSH
697fabe02f5SSean Bruno.Pq Event AEH , Umask 01H
698fabe02f5SSean BrunoCounts the number of ITLB flushes, includes
699fabe02f5SSean Bruno4k/2M/4M pages.
700fabe02f5SSean Bruno.It Li OFFCORE_REQUESTS.DEMAND_DATA_RD
701fabe02f5SSean Bruno.Pq Event B0H , Umask 01H
702fabe02f5SSean BrunoDemand data read requests sent to uncore.
703fabe02f5SSean Bruno.It Li OFFCORE_REQUESTS.DEMAND_RFO
704fabe02f5SSean Bruno.Pq Event B0H , Umask 04H
705fabe02f5SSean BrunoDemand RFO read requests sent to uncore, including
706fabe02f5SSean Brunoregular RFOs, locks, ItoM.
707fabe02f5SSean Bruno.It Li OFFCORE_REQUESTS.ALL_DATA_RD
708fabe02f5SSean Bruno.Pq Event B0H , Umask 08H
709fabe02f5SSean BrunoData read requests sent to uncore (demand and
710fabe02f5SSean Brunoprefetch).
711fabe02f5SSean Bruno.It Li UOPS_DISPATCHED.THREAD
712fabe02f5SSean Bruno.Pq Event B1H , Umask 01H
713fabe02f5SSean BrunoCounts total number of uops to be dispatched per-
7140b129325SGordon Berglingthread each cycle.
7150b129325SGordon BerglingSet Cmask = 1, INV =1 to count stall cycles.
716fabe02f5SSean Bruno.It Li UOPS_DISPATCHED.CORE
717fabe02f5SSean Bruno.Pq Event B1H , Umask 02H
718fabe02f5SSean BrunoCounts total number of uops to be dispatched per-
719fabe02f5SSean Brunocore each cycle.
720fabe02f5SSean Bruno.It Li OFFCORE_REQUESTS_BUFFER.SQ_FULL
721fabe02f5SSean Bruno.Pq Event B2H , Umask 01H
722fabe02f5SSean BrunoOffcore requests buffer cannot take more entries
723fabe02f5SSean Brunofor this thread core.
724fabe02f5SSean Bruno.It Li AGU_BYPASS_CANCEL.COUNT
725fabe02f5SSean Bruno.Pq Event B6H , Umask 01H
726fabe02f5SSean BrunoCounts executed load operations with all the
727fabe02f5SSean Brunofollowing traits: 1. addressing of the format [base +
728fabe02f5SSean Brunooffset], 2. the offset is between 1 and 2047, 3. the
729fabe02f5SSean Brunoaddress specified in the base register is in one page
730fabe02f5SSean Brunoand the address [base+offset] is in another page.
731fabe02f5SSean Bruno.It Li OFF_CORE_RESPONSE_0
732fabe02f5SSean Bruno.Pq Event B7H , Umask 01H
733fabe02f5SSean Bruno(Event B7H, Umask 01H) Off-core Response Performance
7340b129325SGordon BerglingMonitoring; PMC0 only.
7350b129325SGordon BerglingRequires programming MSR 01A6H
736fabe02f5SSean Bruno.It Li OFF_CORE_RESPONSE_1
737fabe02f5SSean Bruno.Pq Event BBH , Umask 01H
738fabe02f5SSean Bruno(Event BBH, Umask 01H) Off-core Response Performance
7390b129325SGordon BerglingMonitoring; PMC3 only.
7400b129325SGordon BerglingRequires programming MSR 01A7H
741fabe02f5SSean Bruno.It Li TLB_FLUSH.DTLB_THREAD
742fabe02f5SSean Bruno.Pq Event BDH , Umask 01H
743fabe02f5SSean BrunoDTLB flush attempts of the thread-specific entries.
744fabe02f5SSean Bruno.It Li TLB_FLUSH.STLB_ANY
745fabe02f5SSean Bruno.Pq Event BDH , Umask 20H
746fabe02f5SSean BrunoCount number of STLB flush attempts.
747fabe02f5SSean Bruno.It Li L1D_BLOCKS.BANK_CONFLICT_CYCLES
748fabe02f5SSean Bruno.Pq Event BFH , Umask 05H
749fabe02f5SSean BrunoCycles when dispatched loads are cancelled due to
750fabe02f5SSean BrunoL1D bank conflicts with other load ports.
751fabe02f5SSean Bruno.It Li INST_RETIRED.ANY_P
752fabe02f5SSean Bruno.Pq Event C0H , Umask 00H
753fabe02f5SSean BrunoNumber of instructions at retirement.
754fabe02f5SSean Bruno.It Li INST_RETIRED.ALL
755fabe02f5SSean Bruno.Pq Event C0H , Umask 01H
756fabe02f5SSean BrunoPrecise instruction retired event with HW to reduce
757fabe02f5SSean Brunoeffect of PEBS shadow in IP distribution.
758fabe02f5SSean Bruno.It Li OTHER_ASSISTS.ITLB_MISS_RETIRED
759fabe02f5SSean Bruno.Pq Event C1H , Umask 02H
760fabe02f5SSean BrunoInstructions that experienced an ITLB miss.
761fabe02f5SSean Bruno.It Li OTHER_ASSISTS.AVX_STORE
762fabe02f5SSean Bruno.Pq Event C1H , Umask 08H
763fabe02f5SSean BrunoNumber of assists associated with 256-bit AVX
764fabe02f5SSean Brunostore operations.
765fabe02f5SSean Bruno.It Li OTHER_ASSISTS.AVX_TO_SSE
766fabe02f5SSean Bruno.Pq Event C1H , Umask 10H
767fabe02f5SSean BrunoNumber of transitions from AVX-256 to legacy SSE
768fabe02f5SSean Brunowhen penalty applicable.
769fabe02f5SSean Bruno.It Li OTHER_ASSISTS.SSE_TO_AVX
770fabe02f5SSean Bruno.Pq Event C1H , Umask 20H
771fabe02f5SSean BrunoNumber of transitions from SSE to AVX-256 when
772fabe02f5SSean Brunopenalty applicable.
773fabe02f5SSean Bruno.It Li UOPS_RETIRED.ALL
774fabe02f5SSean Bruno.Pq Event C2H , Umask 01H
775fabe02f5SSean BrunoCounts the number of micro-ops retired, Use
776fabe02f5SSean Brunocmask=1 and invert to count active cycles or stalled
777fabe02f5SSean Brunocycles.
778fabe02f5SSean Bruno.It Li UOPS_RETIRED.RETIRE_SLOTS
779fabe02f5SSean Bruno.Pq Event C2H , Umask 02H
780fabe02f5SSean BrunoCounts the number of retirement slots used each
781fabe02f5SSean Brunocycle.
782fabe02f5SSean Bruno.It Li MACHINE_CLEARS.MEMORY_ORDERING
783fabe02f5SSean Bruno.Pq Event C3H , Umask 02H
784fabe02f5SSean BrunoCounts the number of machine clears due to
785fabe02f5SSean Brunomemory order conflicts.
786fabe02f5SSean Bruno.It Li MACHINE_CLEARS.SMC
787fabe02f5SSean Bruno.Pq Event C3H , Umask 04H
788fabe02f5SSean BrunoCounts the number of times that a program writes
789fabe02f5SSean Brunoto a code section.
790fabe02f5SSean Bruno.It Li MACHINE_CLEARS.MASKMOV
791fabe02f5SSean Bruno.Pq Event C3H , Umask 20H
792fabe02f5SSean BrunoCounts the number of executed AVX masked load
793fabe02f5SSean Brunooperations that refer to an illegal address range
794fabe02f5SSean Brunowith the mask bits set to 0.
795fabe02f5SSean Bruno.It Li BR_INST_RETIRED.ALL_BRANCH
796fabe02f5SSean Bruno.Pq Event C4H , Umask 00H
797fabe02f5SSean BrunoBranch instructions at retirement.
798fabe02f5SSean Bruno.It Li BR_INST_RETIRED.CONDITIONAL
799fabe02f5SSean Bruno.Pq Event C4H , Umask 01H
800fabe02f5SSean BrunoCounts the number of conditional branch
801fabe02f5SSean Brunoinstructions retired.
802fabe02f5SSean Bruno.It Li BR_INST_RETIRED.NEAR_CALL
803fabe02f5SSean Bruno.Pq Event C4H , Umask 02H
804fabe02f5SSean BrunoDirect and indirect near call instructions retired.
805fabe02f5SSean Bruno.It Li BR_INST_RETIRED.ALL_BRANCHES
806fabe02f5SSean Bruno.Pq Event C4H , Umask 04H
807fabe02f5SSean BrunoCounts the number of branch instructions retired.
808fabe02f5SSean Bruno.It Li BR_INST_RETIRED.NEAR_RETURN
809fabe02f5SSean Bruno.Pq Event C4H , Umask 08H
810fabe02f5SSean BrunoCounts the number of near return instructions
811fabe02f5SSean Brunoretired.
812fabe02f5SSean Bruno.It Li BR_INST_RETIRED.NOT_TAKEN
813fabe02f5SSean Bruno.Pq Event C4H , Umask 10H
814fabe02f5SSean BrunoCounts the number of not taken branch instructions
815fabe02f5SSean Brunoretired.
816fabe02f5SSean Bruno.It Li BR_INST_RETIRED.NEAR_TAKEN
817fabe02f5SSean Bruno.Pq Event C4H , Umask 20H
818fabe02f5SSean BrunoNumber of near taken branches retired.
819fabe02f5SSean Bruno.It Li BR_INST_RETIRED.FAR_BRANCH
820fabe02f5SSean Bruno.Pq Event C4H , Umask 40H
821fabe02f5SSean BrunoNumber of far branches retired.
822fabe02f5SSean Bruno.It Li BR_MISP_RETIRED.ALL_BRANCHES
823fabe02f5SSean Bruno.Pq Event C5H , Umask 00H
824fabe02f5SSean BrunoMispredicted branch instructions at retirement.
825fabe02f5SSean Bruno.It Li BR_MISP_RETIRED.CONDITIONAL
826fabe02f5SSean Bruno.Pq Event C5H , Umask 01H
827fabe02f5SSean BrunoMispredicted conditional branch instructions retired.
828fabe02f5SSean Bruno.It Li BR_MISP_RETIRED.NEAR_CALL
829fabe02f5SSean Bruno.Pq Event C5H , Umask 02H
830fabe02f5SSean BrunoDirect and indirect mispredicted near call
831fabe02f5SSean Brunoinstructions retired.
832fabe02f5SSean Bruno.It Li BR_MISP_RETIRED.ALL_BRANCHES
833fabe02f5SSean Bruno.Pq Event C5H , Umask 04H
834fabe02f5SSean BrunoMispredicted macro branch instructions retired.
835fabe02f5SSean Bruno.It Li BR_MISP_RETIRED.NOT_TAKEN
836fabe02f5SSean Bruno.Pq Event C5H , Umask 10H
837fabe02f5SSean BrunoMispredicted not taken branch instructions retired.
838fabe02f5SSean Bruno.It Li BR_MISP_RETIRED.TAKEN
839fabe02f5SSean Bruno.Pq Event C5H , Umask 20H
840fabe02f5SSean BrunoMispredicted taken branch instructions retired.
841fabe02f5SSean Bruno.It Li FP_ASSIST.X87_OUTPUT
842fabe02f5SSean Bruno.Pq Event CAH , Umask 02H
843fabe02f5SSean BrunoNumber of X87 assists due to output value.
844fabe02f5SSean Bruno.It Li FP_ASSIST.X87_INPUT
845fabe02f5SSean Bruno.Pq Event CAH , Umask 04H
846fabe02f5SSean BrunoNumber of X87 assists due to input value.
847fabe02f5SSean Bruno.It Li FP_ASSIST.SIMD_OUTPUT
848fabe02f5SSean Bruno.Pq Event CAH , Umask 08H
849fabe02f5SSean Bruno Number of SIMD FP assists due to output values.
850fabe02f5SSean Bruno.It Li FP_ASSIST.SIMD_INPUT
851fabe02f5SSean Bruno.Pq Event CAH , Umask 10H
852fabe02f5SSean BrunoNumber of SIMD FP assists due to input values.
853fabe02f5SSean Bruno.It Li FP_ASSIST.ANY 1EH
854fabe02f5SSean Bruno.Pq Event CAH , Umask
855fabe02f5SSean BrunoCycles with any input/output SSE* or FP assists.
856fabe02f5SSean Bruno.It Li ROB_MISC_EVENTS.LBR_INSERTS
857fabe02f5SSean Bruno.Pq Event CCH , Umask 20H
858fabe02f5SSean BrunoCount cases of saving new LBR records by
859fabe02f5SSean Brunohardware.
860fabe02f5SSean Bruno.It Li MEM_TRANS_RETIRED.LOAD_LATENCY
861fabe02f5SSean Bruno.Pq Event CDH , Umask 01H
862fabe02f5SSean BrunoSample loads with specified latency threshold.
863fabe02f5SSean BrunoPMC3 only.
864fabe02f5SSean Bruno.It Li MEM_TRANS_RETIRED.PRECISE_STORE
865fabe02f5SSean Bruno.Pq Event CDH , Umask 02H
866fabe02f5SSean BrunoSample stores and collect precise store operation
8670b129325SGordon Berglingvia PEBS record.
8680b129325SGordon BerglingPMC3 only.
869fabe02f5SSean Bruno.It Li MEM_UOP_RETIRED.LOADS
870fabe02f5SSean Bruno.Pq Event D0H , Umask 10H
871fabe02f5SSean BrunoQualify retired memory uops that are loads.
872fabe02f5SSean BrunoCombine with umask 10H, 20H, 40H, 80H.
873fabe02f5SSean Bruno.It Li MEM_UOP_RETIRED.STORES
874fabe02f5SSean Bruno.Pq Event D0H , Umask 02H
875fabe02f5SSean BrunoQualify retired memory uops that are stores.
876fabe02f5SSean BrunoCombine with umask 10H, 20H, 40H, 80H.
877fabe02f5SSean Bruno.It Li MEM_UOP_RETIRED.STLB_MISS
878fabe02f5SSean Bruno.Pq Event D0H , Umask
8790b129325SGordon BerglingQualify retired memory uops with STLB miss.
8800b129325SGordon BerglingMust combine with umask 01H, 02H, to produce counts.
881fabe02f5SSean Bruno.It Li MEM_UOP_RETIRED.LOCK
882fabe02f5SSean Bruno.Pq Event D0H , Umask
8830b129325SGordon BerglingQualify retired memory uops with lock.
8840b129325SGordon BerglingMust combine with umask 01H, 02H, to produce counts.
885fabe02f5SSean Bruno.It Li MEM_UOP_RETIRED.SPLIT
886fabe02f5SSean Bruno.Pq Event D0H , Umask
8870b129325SGordon BerglingQualify retired memory uops with line split.
8880b129325SGordon BerglingMust combine with umask 01H, 02H, to produce counts.
889fabe02f5SSean Bruno.It Li MEM_UOP_RETIRED_ALL
890fabe02f5SSean Bruno.Pq Event D0H , Umask
8910b129325SGordon BerglingQualify any retired memory uops.
8920b129325SGordon BerglingMust combine with umask 01H, 02H, to produce counts.
893fabe02f5SSean Bruno.It Li MEM_LOAD_UOPS_RETIRED.L1_HIT
894fabe02f5SSean Bruno.Pq Event D1H , Umask 01H
895fabe02f5SSean BrunoRetired load uops with L1 cache hits as data
896fabe02f5SSean Brunosources.
897fabe02f5SSean Bruno.It Li MEM_LOAD_UOPS_RETIRED.L2_HIT
898fabe02f5SSean Bruno.Pq Event D1H , Umask 02H
899fabe02f5SSean BrunoRetired load uops with L2 cache hits as data
900fabe02f5SSean Brunosources.
901fabe02f5SSean Bruno.It Li MEM_LOAD_UOPS_RETIRED.LLC_HIT
902fabe02f5SSean Bruno.Pq Event D1H , Umask 04H
903fabe02f5SSean BrunoRetired load uops which data sources were data hits
904fabe02f5SSean Brunoin LLC without snoops required.
905fabe02f5SSean Bruno.It Li MEM_LOAD_UOPS_RETIRED.LLC_MISS
906fabe02f5SSean Bruno.Pq Event D1H , Umask 20H
907fabe02f5SSean BrunoRetired load uops which data sources were data
908fabe02f5SSean Brunomissed LLC (excluding unknown data source).
909fabe02f5SSean Bruno.It Li MEM_LOAD_UOPS_RETIRED.HIT_LFB
910fabe02f5SSean Bruno.Pq Event D1H , Umask 40H
911fabe02f5SSean BrunoRetired load uops which data sources were load
912fabe02f5SSean Brunouops missed L1 but hit FB due to preceding miss to
913fabe02f5SSean Brunothe same cache line with data not ready.
914fabe02f5SSean Bruno.It Li MEM_LOAD_UOPS_MISC_RETIRED.LLC_MISS
915fabe02f5SSean Bruno.Pq Event D4H , Umask 02H
916fabe02f5SSean BrunoRetired load uops with unknown information as data
917fabe02f5SSean Brunosource in cache serviced the load.
918fabe02f5SSean Bruno.It Li BACLEARS.ANY
919fabe02f5SSean Bruno.Pq Event E6H , Umask 01H
920fabe02f5SSean BrunoCounts the number of times the front end is re-
921fabe02f5SSean Brunosteered, mainly when the BPU cannot provide a
922fabe02f5SSean Brunocorrect prediction and this is corrected by other
923fabe02f5SSean Brunobranch handling mechanisms at the front end.
924fabe02f5SSean Bruno.It Li L2_TRANS.DEMAND_DATA_RD
925fabe02f5SSean Bruno.Pq Event F0H , Umask 01H
926fabe02f5SSean BrunoDemand Data Read requests that access L2 cache.
927fabe02f5SSean Bruno.It Li L2_TRANS.RFO
928fabe02f5SSean Bruno.Pq Event F0H , Umask 02H
929fabe02f5SSean BrunoRFO requests that access L2 cache.
930fabe02f5SSean Bruno.It Li L2_TRANS.CODE_RD
931fabe02f5SSean Bruno.Pq Event F0H , Umask 04H
932fabe02f5SSean BrunoL2 cache accesses when fetching instructions.
933fabe02f5SSean Bruno.It Li L2_TRANS.ALL_PF
934fabe02f5SSean Bruno.Pq Event F0H , Umask 08H
935fabe02f5SSean BrunoL2 or LLC HW prefetches that access L2 cache.
936fabe02f5SSean Bruno.It Li L2_TRANS.L1D_WB
937fabe02f5SSean Bruno.Pq Event F0H , Umask 10H
938fabe02f5SSean BrunoL1D writebacks that access L2 cache.
939fabe02f5SSean Bruno.It Li L2_TRANS.L2_FILL
940fabe02f5SSean Bruno.Pq Event F0H , Umask 20H
941fabe02f5SSean BrunoL2 fill requests that access L2 cache.
942fabe02f5SSean Bruno.It Li L2_TRANS.L2_WB
943fabe02f5SSean Bruno.Pq Event F0H , Umask 40H
944fabe02f5SSean BrunoL2 writebacks that access L2 cache.
945fabe02f5SSean Bruno.It Li L2_TRANS.ALL_REQUESTS
946fabe02f5SSean Bruno.Pq Event F0H , Umask 80H
947fabe02f5SSean BrunoTransactions accessing L2 pipe.
948fabe02f5SSean Bruno.It Li L2_LINES_IN.I
949fabe02f5SSean Bruno.Pq Event F1H , Umask 01H
950fabe02f5SSean BrunoL2 cache lines in I state filling L2.
951fabe02f5SSean Bruno.It Li L2_LINES_IN.S
952fabe02f5SSean Bruno.Pq Event F1H , Umask 02H
953fabe02f5SSean BrunoL2 cache lines in S state filling L2.
954fabe02f5SSean Bruno.It Li L2_LINES_IN.E
955fabe02f5SSean Bruno.Pq Event F1H , Umask 04H
956fabe02f5SSean BrunoL2 cache lines in E state filling L2.
957fabe02f5SSean Bruno.It Li L2_LINES-IN.ALL
958fabe02f5SSean Bruno.Pq Event F1H , Umask 07H
959fabe02f5SSean BrunoL2 cache lines filling L2.
960fabe02f5SSean Bruno.It Li L2_LINES_OUT.DEMAND_CLEAN
961fabe02f5SSean Bruno.Pq Event F2H , Umask 01H
962fabe02f5SSean BrunoClean L2 cache lines evicted by demand.
963fabe02f5SSean Bruno.It Li L2_LINES_OUT.DEMAND_DIRTY
964fabe02f5SSean Bruno.Pq Event F2H , Umask 02H
965fabe02f5SSean BrunoDirty L2 cache lines evicted by demand.
966fabe02f5SSean Bruno.It Li L2_LINES_OUT.PF_CLEAN
967fabe02f5SSean Bruno.Pq Event F2H , Umask 04H
968fabe02f5SSean BrunoClean L2 cache lines evicted by L2 prefetch.
969fabe02f5SSean Bruno.It Li L2_LINES_OUT.PF_DIRTY
970fabe02f5SSean Bruno.Pq Event F2H , Umask 08H
971fabe02f5SSean BrunoDirty L2 cache lines evicted by L2 prefetch.
972fabe02f5SSean Bruno.It Li L2_LINES_OUT.DIRTY_ALL
973fabe02f5SSean Bruno.Pq Event F2H , Umask 0AH
974fabe02f5SSean BrunoDirty L2 cache lines filling the L2.
975fabe02f5SSean Bruno.It Li SQ_MISC.SPLIT_LOCK
976fabe02f5SSean Bruno.Pq Event F4H , Umask 10H
977fabe02f5SSean BrunoSplit locks in SQ.
978fabe02f5SSean Bruno.El
979fabe02f5SSean Bruno.Sh SEE ALSO
980fabe02f5SSean Bruno.Xr pmc 3 ,
981*b2934971SMitchell Horne.Xr pmc.amd 3 ,
982fabe02f5SSean Bruno.Xr pmc.atom 3 ,
983fabe02f5SSean Bruno.Xr pmc.core 3 ,
98473461c24SJoel Dahl.Xr pmc.corei7 3 ,
98573461c24SJoel Dahl.Xr pmc.corei7uc 3 ,
98673461c24SJoel Dahl.Xr pmc.haswelluc 3 ,
987fabe02f5SSean Bruno.Xr pmc.iaf 3 ,
98873461c24SJoel Dahl.Xr pmc.ivybridge 3 ,
98973461c24SJoel Dahl.Xr pmc.ivybridgexeon 3 ,
990fabe02f5SSean Bruno.Xr pmc.sandybridge 3 ,
991fabe02f5SSean Bruno.Xr pmc.sandybridgeuc 3 ,
992fabe02f5SSean Bruno.Xr pmc.soft 3 ,
993fabe02f5SSean Bruno.Xr pmc.tsc 3 ,
99473461c24SJoel Dahl.Xr pmc.ucf 3 ,
99573461c24SJoel Dahl.Xr pmc.westmere 3 ,
99673461c24SJoel Dahl.Xr pmc.westmereuc 3 ,
997fabe02f5SSean Bruno.Xr pmc_cpuinfo 3 ,
998fabe02f5SSean Bruno.Xr pmclog 3 ,
999fabe02f5SSean Bruno.Xr hwpmc 4
1000fabe02f5SSean Bruno.Sh HISTORY
1001fabe02f5SSean BrunoThe
1002fabe02f5SSean Bruno.Nm pmc
1003fabe02f5SSean Brunolibrary first appeared in
1004fabe02f5SSean Bruno.Fx 6.0 .
1005fabe02f5SSean Bruno.Sh AUTHORS
10062b7af31cSBaptiste Daroussin.An -nosplit
1007fabe02f5SSean BrunoThe
1008fabe02f5SSean Bruno.Lb libpmc
1009fabe02f5SSean Brunolibrary was written by
10102b7af31cSBaptiste Daroussin.An Joseph Koshy Aq Mt jkoshy@FreeBSD.org .
1011fabe02f5SSean BrunoThe support for the Sandy Bridge Xeon
1012fabe02f5SSean Brunomicroarchitecture was written by
10132b7af31cSBaptiste Daroussin.An Hiren Panchasara Aq Mt hiren.panchasara@gmail.com .
1014