xref: /freebsd/lib/libpmc/pmc.core.3 (revision b293497146fea63d76a1c7492c3a21e4e5bf8f48)
17042d3b9SJoseph Koshy.\" Copyright (c) 2008 Joseph Koshy.  All rights reserved.
27042d3b9SJoseph Koshy.\"
37042d3b9SJoseph Koshy.\" Redistribution and use in source and binary forms, with or without
47042d3b9SJoseph Koshy.\" modification, are permitted provided that the following conditions
57042d3b9SJoseph Koshy.\" are met:
67042d3b9SJoseph Koshy.\" 1. Redistributions of source code must retain the above copyright
77042d3b9SJoseph Koshy.\"    notice, this list of conditions and the following disclaimer.
87042d3b9SJoseph Koshy.\" 2. Redistributions in binary form must reproduce the above copyright
97042d3b9SJoseph Koshy.\"    notice, this list of conditions and the following disclaimer in the
107042d3b9SJoseph Koshy.\"    documentation and/or other materials provided with the distribution.
117042d3b9SJoseph Koshy.\"
12026dbd29SChristian Brueffer.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13026dbd29SChristian Brueffer.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14026dbd29SChristian Brueffer.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15026dbd29SChristian Brueffer.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16026dbd29SChristian Brueffer.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17026dbd29SChristian Brueffer.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18026dbd29SChristian Brueffer.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19026dbd29SChristian Brueffer.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20026dbd29SChristian Brueffer.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21026dbd29SChristian Brueffer.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22026dbd29SChristian Brueffer.\" SUCH DAMAGE.
237042d3b9SJoseph Koshy.\"
246c292c4dSJoseph Koshy.Dd November 12, 2008
257042d3b9SJoseph Koshy.Dt PMC.CORE 3
26aa12cea2SUlrich Spörlein.Os
277042d3b9SJoseph Koshy.Sh NAME
287042d3b9SJoseph Koshy.Nm pmc.core
297042d3b9SJoseph Koshy.Nd measurement events for
307042d3b9SJoseph Koshy.Tn Intel
317042d3b9SJoseph Koshy.Tn Core Solo
327042d3b9SJoseph Koshyand
337042d3b9SJoseph Koshy.Tn Core Duo
347042d3b9SJoseph Koshyfamily CPUs
357042d3b9SJoseph Koshy.Sh LIBRARY
367042d3b9SJoseph Koshy.Lb libpmc
377042d3b9SJoseph Koshy.Sh SYNOPSIS
387042d3b9SJoseph Koshy.In pmc.h
397042d3b9SJoseph Koshy.Sh DESCRIPTION
407042d3b9SJoseph Koshy.Tn Intel
417042d3b9SJoseph Koshy.Tn "Core Solo"
427042d3b9SJoseph Koshyand
437042d3b9SJoseph Koshy.Tn "Core Duo"
447042d3b9SJoseph KoshyCPUs contain PMCs conforming to version 1 of the
457042d3b9SJoseph Koshy.Tn Intel
467042d3b9SJoseph Koshyperformance measurement architecture.
477042d3b9SJoseph Koshy.Pp
487042d3b9SJoseph KoshyThese PMCs are documented in
497042d3b9SJoseph Koshy.Rs
50b27f4988SUlrich Spörlein.%B IA-32 Intel\(rg Architecture Software Developer's Manual
51b27f4988SUlrich Spörlein.%T Volume 3: System Programming Guide
52b27f4988SUlrich Spörlein.%N Order Number 253669-027US
537042d3b9SJoseph Koshy.%D July 2008
54b27f4988SUlrich Spörlein.%Q Intel Corporation
557042d3b9SJoseph Koshy.Re
567042d3b9SJoseph Koshy.Ss PMC Features
577042d3b9SJoseph KoshyCPUs conforming to version 1 of the
587042d3b9SJoseph Koshy.Tn Intel
597042d3b9SJoseph Koshyperformance measurement architecture contain two programmable PMCs of
607042d3b9SJoseph Koshyclass
617042d3b9SJoseph Koshy.Li PMC_CLASS_IAP .
627042d3b9SJoseph KoshyThe PMCs are 40 bits width and offer the following capabilities:
637042d3b9SJoseph Koshy.Bl -column "PMC_CAP_INTERRUPT" "Support"
647042d3b9SJoseph Koshy.It Em Capability Ta Em Support
657042d3b9SJoseph Koshy.It PMC_CAP_CASCADE Ta \&No
667042d3b9SJoseph Koshy.It PMC_CAP_EDGE Ta Yes
677042d3b9SJoseph Koshy.It PMC_CAP_INTERRUPT Ta Yes
687042d3b9SJoseph Koshy.It PMC_CAP_INVERT Ta Yes
697042d3b9SJoseph Koshy.It PMC_CAP_READ Ta Yes
707042d3b9SJoseph Koshy.It PMC_CAP_PRECISE Ta \&No
717042d3b9SJoseph Koshy.It PMC_CAP_SYSTEM Ta Yes
727042d3b9SJoseph Koshy.It PMC_CAP_TAGGING Ta \&No
737042d3b9SJoseph Koshy.It PMC_CAP_THRESHOLD Ta Yes
747042d3b9SJoseph Koshy.It PMC_CAP_USER Ta Yes
757042d3b9SJoseph Koshy.It PMC_CAP_WRITE Ta Yes
767042d3b9SJoseph Koshy.El
777042d3b9SJoseph Koshy.Ss Event Qualifiers
787042d3b9SJoseph KoshyEvent specifiers for these PMCs support the following common
797042d3b9SJoseph Koshyqualifiers:
807042d3b9SJoseph Koshy.Bl -tag -width indent
817042d3b9SJoseph Koshy.It Li cmask= Ns Ar value
827042d3b9SJoseph KoshyConfigure the PMC to increment only if the number of configured
837042d3b9SJoseph Koshyevents measured in a cycle is greater than or equal to
847042d3b9SJoseph Koshy.Ar value .
857042d3b9SJoseph Koshy.It Li edge
86ef582158SJoseph KoshyConfigure the PMC to count the number of de-asserted to asserted
877042d3b9SJoseph Koshytransitions of the conditions expressed by the other qualifiers.
887042d3b9SJoseph KoshyIf specified, the counter will increment only once whenever a
897042d3b9SJoseph Koshycondition becomes true, irrespective of the number of clocks during
907042d3b9SJoseph Koshywhich the condition remains true.
917042d3b9SJoseph Koshy.It Li inv
92ef582158SJoseph KoshyInvert the sense of comparison when the
937042d3b9SJoseph Koshy.Dq Li cmask
947042d3b9SJoseph Koshyqualifier is present, making the counter increment when the number of
957042d3b9SJoseph Koshyevents per cycle is less than the value specified by the
967042d3b9SJoseph Koshy.Dq Li cmask
977042d3b9SJoseph Koshyqualifier.
987042d3b9SJoseph Koshy.It Li os
997042d3b9SJoseph KoshyConfigure the PMC to count events happening at processor privilege
1007042d3b9SJoseph Koshylevel 0.
1017042d3b9SJoseph Koshy.It Li usr
1027042d3b9SJoseph KoshyConfigure the PMC to count events occurring at privilege levels 1, 2
1037042d3b9SJoseph Koshyor 3.
1047042d3b9SJoseph Koshy.El
1057042d3b9SJoseph Koshy.Pp
1067042d3b9SJoseph KoshyIf neither of the
1077042d3b9SJoseph Koshy.Dq Li os
1087042d3b9SJoseph Koshyor
1097042d3b9SJoseph Koshy.Dq Li usr
1107042d3b9SJoseph Koshyqualifiers are specified, the default is to enable both.
1117042d3b9SJoseph Koshy.Pp
1127042d3b9SJoseph KoshyEvents that require core-specificity to be specified use a
1137042d3b9SJoseph Koshyadditional qualifier
1147042d3b9SJoseph Koshy.Dq Li core= Ns Ar value ,
1157042d3b9SJoseph Koshywhere argument
1167042d3b9SJoseph Koshy.Ar value
1177042d3b9SJoseph Koshyis one of:
1187042d3b9SJoseph Koshy.Bl -tag -width indent -compact
1197042d3b9SJoseph Koshy.It Li all
1207042d3b9SJoseph KoshyMeasure event conditions on all cores.
1217042d3b9SJoseph Koshy.It Li this
1227042d3b9SJoseph KoshyMeasure event conditions on this core.
1237042d3b9SJoseph Koshy.El
1247042d3b9SJoseph KoshyThe default is
1257042d3b9SJoseph Koshy.Dq Li this .
1267042d3b9SJoseph Koshy.Pp
1277042d3b9SJoseph KoshyEvents that require an agent qualifier to be specified use an
1287042d3b9SJoseph Koshyadditional qualifier
1297042d3b9SJoseph Koshy.Dq Li agent= Ns value ,
1307042d3b9SJoseph Koshywhere argument
1317042d3b9SJoseph Koshy.Ar value
1327042d3b9SJoseph Koshyis one of:
1337042d3b9SJoseph Koshy.Bl -tag -width indent -compact
1347042d3b9SJoseph Koshy.It Li this
1357042d3b9SJoseph KoshyMeasure events associated with this bus agent.
1367042d3b9SJoseph Koshy.It Li any
1377042d3b9SJoseph KoshyMeasure events caused by any bus agent.
1387042d3b9SJoseph Koshy.El
1397042d3b9SJoseph KoshyThe default is
1407042d3b9SJoseph Koshy.Dq Li this .
1417042d3b9SJoseph Koshy.Pp
1427042d3b9SJoseph KoshyEvents that require a hardware prefetch qualifier to be specified use an
1437042d3b9SJoseph Koshyadditional qualifier
1447042d3b9SJoseph Koshy.Dq Li prefetch= Ns Ar value ,
1457042d3b9SJoseph Koshywhere argument
1467042d3b9SJoseph Koshy.Ar value
1477042d3b9SJoseph Koshyis one of:
1487042d3b9SJoseph Koshy.Bl -tag -width "exclude" -compact
1497042d3b9SJoseph Koshy.It Li both
1507042d3b9SJoseph KoshyInclude all prefetches.
1517042d3b9SJoseph Koshy.It Li only
1527042d3b9SJoseph KoshyOnly count hardware prefetches.
1537042d3b9SJoseph Koshy.It Li exclude
1547042d3b9SJoseph KoshyExclude hardware prefetches.
1557042d3b9SJoseph Koshy.El
1567042d3b9SJoseph KoshyThe default is
1577042d3b9SJoseph Koshy.Dq Li both .
1587042d3b9SJoseph Koshy.Pp
1597042d3b9SJoseph KoshyEvents that require a cache coherence qualifier to be specified use an
160ef582158SJoseph Koshyadditional qualifier
1617042d3b9SJoseph Koshy.Dq Li cachestate= Ns Ar value ,
1627042d3b9SJoseph Koshywhere argument
1637042d3b9SJoseph Koshy.Ar value
1647042d3b9SJoseph Koshycontains one or more of the following letters:
1657042d3b9SJoseph Koshy.Bl -tag -width indent -compact
1667042d3b9SJoseph Koshy.It Li e
1677042d3b9SJoseph KoshyCount cache lines in the exclusive state.
1687042d3b9SJoseph Koshy.It Li i
1697042d3b9SJoseph KoshyCount cache lines in the invalid state.
1707042d3b9SJoseph Koshy.It Li m
1717042d3b9SJoseph KoshyCount cache lines in the modified state.
1727042d3b9SJoseph Koshy.It Li s
1737042d3b9SJoseph KoshyCount cache lines in the shared state.
1747042d3b9SJoseph Koshy.El
1757042d3b9SJoseph KoshyThe default is
1767042d3b9SJoseph Koshy.Dq Li eims .
1777042d3b9SJoseph Koshy.Ss Event Specifiers
1787042d3b9SJoseph KoshyThe following event names are case insensitive.
1797042d3b9SJoseph KoshyWhitespace, hyphens and underscore characters in these names are
1807042d3b9SJoseph Koshyignored.
1817042d3b9SJoseph Koshy.Pp
1827042d3b9SJoseph KoshyCore PMCs support the following events:
1837042d3b9SJoseph Koshy.Bl -tag -width indent
1847042d3b9SJoseph Koshy.It Li BAClears
1859275b7fcSJoseph Koshy.Pq Event E6H , Umask 00H
1867042d3b9SJoseph KoshyThe number of BAClear conditions asserted.
1877042d3b9SJoseph Koshy.It Li BTB_Misses
1889275b7fcSJoseph Koshy.Pq Event E2H , Umask 00H
1897042d3b9SJoseph KoshyThe number of branches for which the branch table buffer did not
1907042d3b9SJoseph Koshyproduce a prediction.
1917042d3b9SJoseph Koshy.It Li Br_BAC_Missp_Exec
1929275b7fcSJoseph Koshy.Pq Event 8AH , Umask 00H
1937042d3b9SJoseph KoshyThe number of branch instructions executed that were mispredicted at
1947042d3b9SJoseph Koshythe front end.
1957042d3b9SJoseph Koshy.It Li Br_Bogus
1969275b7fcSJoseph Koshy.Pq Event E4H , Umask 00H
1977042d3b9SJoseph KoshyThe number of bogus branches.
1987042d3b9SJoseph Koshy.It Li Br_Call_Exec
1999275b7fcSJoseph Koshy.Pq Event 92H , Umask 00H
2007042d3b9SJoseph KoshyThe number of
2017042d3b9SJoseph Koshy.Li CALL
2027042d3b9SJoseph Koshyinstructions executed.
2037042d3b9SJoseph Koshy.It Li Br_Call_Missp_Exec
2049275b7fcSJoseph Koshy.Pq Event 93H , Umask 00H
2057042d3b9SJoseph KoshyThe number of
2067042d3b9SJoseph Koshy.Li CALL
2077042d3b9SJoseph Koshyinstructions executed that were mispredicted.
2087042d3b9SJoseph Koshy.It Li Br_Cnd_Exec
2099275b7fcSJoseph Koshy.Pq Event 8BH , Umask 00H
2107042d3b9SJoseph KoshyThe number of conditional branch instructions executed.
2117042d3b9SJoseph Koshy.It Li Br_Cnd_Missp_Exec
2129275b7fcSJoseph Koshy.Pq Event 8CH , Umask 00H
2137042d3b9SJoseph KoshyThe number of conditional branch instructions executed that were mispredicted.
2147042d3b9SJoseph Koshy.It Li Br_Ind_Call_Exec
2159275b7fcSJoseph Koshy.Pq Event 94H , Umask 00H
2167042d3b9SJoseph KoshyThe number of indirect
2177042d3b9SJoseph Koshy.Li CALL
2187042d3b9SJoseph Koshyinstructions executed.
2197042d3b9SJoseph Koshy.It Li Br_Ind_Exec
2209275b7fcSJoseph Koshy.Pq Event 8DH , Umask 00H
2217042d3b9SJoseph KoshyThe number of indirect branches executed.
2227042d3b9SJoseph Koshy.It Li Br_Ind_Missp_Exec
2239275b7fcSJoseph Koshy.Pq Event 8EH , Umask 00H
2247042d3b9SJoseph KoshyThe number of indirect branch instructions executed that were mispredicted.
2257042d3b9SJoseph Koshy.It Li Br_Inst_Exec
2269275b7fcSJoseph Koshy.Pq Event 88H , Umask 00H
2277042d3b9SJoseph KoshyThe number of branch instructions executed including speculative branches.
2287042d3b9SJoseph Koshy.It Li Br_Instr_Decoded
2299275b7fcSJoseph Koshy.Pq Event E0H , Umask 00H
2307042d3b9SJoseph KoshyThe number of branch instructions decoded.
2317042d3b9SJoseph Koshy.It Li Br_Instr_Ret
2326c292c4dSJoseph Koshy.Pq Event C4H , Umask 00H
2336c292c4dSJoseph Koshy.Pq Alias Qq "Branch Instruction Retired"
2347042d3b9SJoseph KoshyThe number of branch instructions retired.
2356c292c4dSJoseph KoshyThis is an architectural performance event.
2367042d3b9SJoseph Koshy.It Li Br_MisPred_Ret
2376c292c4dSJoseph Koshy.Pq Event C5H , Umask 00H
2386c292c4dSJoseph Koshy.Pq Alias Qq "Branch Misses Retired"
2397042d3b9SJoseph KoshyThe number of mispredicted branch instructions retired.
2406c292c4dSJoseph KoshyThis is an architectural performance event.
2417042d3b9SJoseph Koshy.It Li Br_MisPred_Taken_Ret
2429275b7fcSJoseph Koshy.Pq Event CAH , Umask 00H
2437042d3b9SJoseph KoshyThe number of taken and mispredicted branches retired.
2447042d3b9SJoseph Koshy.It Li Br_Missp_Exec
2459275b7fcSJoseph Koshy.Pq Event 89H , Umask 00H
2467042d3b9SJoseph KoshyThe number of branch instructions executed and mispredicted at
2477042d3b9SJoseph Koshyexecution including branches that were not predicted.
2487042d3b9SJoseph Koshy.It Li Br_Ret_BAC_Missp_Exec
2499275b7fcSJoseph Koshy.Pq Event 91H , Umask 00H
2507042d3b9SJoseph KoshyThe number of return branch instructions that were mispredicted at the
2517042d3b9SJoseph Koshyfront end.
2527042d3b9SJoseph Koshy.It Li Br_Ret_Exec
2539275b7fcSJoseph Koshy.Pq Event 8FH , Umask 00H
2547042d3b9SJoseph KoshyThe number of return branch instructions executed.
2557042d3b9SJoseph Koshy.It Li Br_Ret_Missp_Exec
2569275b7fcSJoseph Koshy.Pq Event 90H , Umask 00H
2577042d3b9SJoseph KoshyThe number of return branch instructions executed that were mispredicted.
2587042d3b9SJoseph Koshy.It Li Br_Taken_Ret
2599275b7fcSJoseph Koshy.Pq Event C9H , Umask 00H
2607042d3b9SJoseph KoshyThe number of taken branches retired.
2617042d3b9SJoseph Koshy.It Li Bus_BNR_Clocks
2629275b7fcSJoseph Koshy.Pq Event 61H , Umask 00H
2637042d3b9SJoseph KoshyThe number of external bus cycles while BNR (bus not ready) was asserted.
2647042d3b9SJoseph Koshy.It Li Bus_DRDY_Clocks Op ,agent= Ns Ar agent
2659275b7fcSJoseph Koshy.Pq Event 62H , Umask 00H
2667042d3b9SJoseph KoshyThe number of external bus cycles while DRDY was asserted.
2677042d3b9SJoseph Koshy.It Li Bus_Data_Rcv
2689275b7fcSJoseph Koshy.Pq Event 64H , Umask 40H
2697042d3b9SJoseph Koshy.\" XXX Using the description in Core2 PMC documentation.
2707042d3b9SJoseph KoshyThe number of cycles during which the processor is busy receiving data.
2717042d3b9SJoseph Koshy.It Li Bus_Locks_Clocks Op ,core= Ns Ar core
2727042d3b9SJoseph Koshy.Pq Event 63H
2737042d3b9SJoseph KoshyThe number of external bus cycles while the bus lock signal was asserted.
2747042d3b9SJoseph Koshy.It Li Bus_Not_In_Use Op ,core= Ns Ar core
2757042d3b9SJoseph Koshy.Pq Event 7DH
2767042d3b9SJoseph KoshyThe number of cycles when there is no transaction from the core.
2777042d3b9SJoseph Koshy.It Li Bus_Req_Outstanding Xo
2787042d3b9SJoseph Koshy.Op ,agent= Ns Ar agent
2797042d3b9SJoseph Koshy.Op ,core= Ns Ar core
2807042d3b9SJoseph Koshy.Xc
2817042d3b9SJoseph Koshy.Pq Event 60H
2827042d3b9SJoseph KoshyThe weighted cycles of cacheable bus data read requests
2837042d3b9SJoseph Koshyfrom the data cache unit or hardware prefetcher.
2847042d3b9SJoseph Koshy.It Li Bus_Snoop_Stall
2859275b7fcSJoseph Koshy.Pq Event 7EH , Umask 00H
2867042d3b9SJoseph KoshyThe number bus cycles while a bus snoop is stalled.
2877042d3b9SJoseph Koshy.It Li Bus_Snoops Xo
2887042d3b9SJoseph Koshy.Op ,agent= Ns Ar agent
2897042d3b9SJoseph Koshy.Op ,cachestate= Ns Ar mesi
2907042d3b9SJoseph Koshy.Xc
2917042d3b9SJoseph Koshy.Pq Event 77H
2927042d3b9SJoseph Koshy.\" XXX Using the description in Core2 PMC documentation.
2937042d3b9SJoseph KoshyThe number of snoop responses to bus transactions.
2947042d3b9SJoseph Koshy.It Li Bus_Trans_Any Op ,agent= Ns Ar agent
2957042d3b9SJoseph Koshy.Pq Event 70H
2967042d3b9SJoseph KoshyThe number of completed bus transactions.
2977042d3b9SJoseph Koshy.It Li Bus_Trans_Brd Op ,core= Ns Ar core
2987042d3b9SJoseph Koshy.Pq Event 65H
2997042d3b9SJoseph KoshyThe number of read bus transactions.
3007042d3b9SJoseph Koshy.It Li Bus_Trans_Burst Op ,agent= Ns Ar agent
3017042d3b9SJoseph Koshy.Pq Event 6EH
3027042d3b9SJoseph KoshyThe number of completed burst transactions.
3037042d3b9SJoseph KoshyRetried transactions may be counted more than once.
3047042d3b9SJoseph Koshy.It Li Bus_Trans_Def Op ,core= Ns Ar core
3057042d3b9SJoseph Koshy.Pq Event 6DH
3067042d3b9SJoseph KoshyThe number of completed deferred transactions.
3077042d3b9SJoseph Koshy.It Li Bus_Trans_IO Xo
3087042d3b9SJoseph Koshy.Op ,agent= Ns Ar agent
3097042d3b9SJoseph Koshy.Op ,core= Ns Ar core
3107042d3b9SJoseph Koshy.Xc
3117042d3b9SJoseph Koshy.Pq Event 6CH
3127042d3b9SJoseph KoshyThe number of completed I/O transactions counting both reads and
3137042d3b9SJoseph Koshywrites.
3147042d3b9SJoseph Koshy.It Li Bus_Trans_Ifetch Xo
3157042d3b9SJoseph Koshy.Op ,agent= Ns Ar agent
3167042d3b9SJoseph Koshy.Op ,core= Ns Ar core
3177042d3b9SJoseph Koshy.Xc
3187042d3b9SJoseph Koshy.Pq Event 68H
3197042d3b9SJoseph KoshyCompleted instruction fetch transactions.
3207042d3b9SJoseph Koshy.It Li Bus_Trans_Inval Xo
3217042d3b9SJoseph Koshy.Op ,agent= Ns Ar agent
3227042d3b9SJoseph Koshy.Op ,core= Ns Ar core
3237042d3b9SJoseph Koshy.Xc
3247042d3b9SJoseph Koshy.Pq Event 69H
3257042d3b9SJoseph KoshyThe number completed invalidate transactions.
3267042d3b9SJoseph Koshy.It Li Bus_Trans_Mem Op ,agent= Ns Ar agent
3277042d3b9SJoseph Koshy.Pq Event 6FH
3287042d3b9SJoseph KoshyThe number of completed memory transactions.
3297042d3b9SJoseph Koshy.It Li Bus_Trans_P Xo
3307042d3b9SJoseph Koshy.Op ,agent= Ns Ar agent
3317042d3b9SJoseph Koshy.Op ,core= Ns Ar core
3327042d3b9SJoseph Koshy.Xc
3337042d3b9SJoseph Koshy.Pq Event 6BH
3347042d3b9SJoseph KoshyThe number of completed partial transactions.
3357042d3b9SJoseph Koshy.It Li Bus_Trans_Pwr Xo
3367042d3b9SJoseph Koshy.Op ,agent= Ns Ar agent
3377042d3b9SJoseph Koshy.Op ,core= Ns Ar core
3387042d3b9SJoseph Koshy.Xc
3397042d3b9SJoseph Koshy.Pq Event 6AH
3407042d3b9SJoseph KoshyThe number of completed partial write transactions.
3417042d3b9SJoseph Koshy.It Li Bus_Trans_RFO Xo
3427042d3b9SJoseph Koshy.Op ,agent= Ns Ar agent
3437042d3b9SJoseph Koshy.Op ,core= Ns Ar core
3447042d3b9SJoseph Koshy.Xc
3457042d3b9SJoseph Koshy.Pq Event 66H
3467042d3b9SJoseph KoshyThe number of completed read-for-ownership transactions.
3477042d3b9SJoseph Koshy.It Li Bus_Trans_WB Op ,agent= Ns Ar agent
3487042d3b9SJoseph Koshy.Pq Event 67H
349ef582158SJoseph KoshyThe number of completed write-back transactions from the data cache
350ef582158SJoseph Koshyunit, excluding L2 write-backs.
3517042d3b9SJoseph Koshy.It Li Cycles_Div_Busy
3529275b7fcSJoseph Koshy.Pq Event 14H , Umask 00H
3537042d3b9SJoseph KoshyThe number of cycles the divider is busy.
354d5ec7b69SJoseph KoshyThe event is only available on PMC0.
3557042d3b9SJoseph Koshy.It Li Cycles_Int_Masked
3569275b7fcSJoseph Koshy.Pq Event C6H , Umask 00H
3577042d3b9SJoseph KoshyThe number of cycles while interrupts were disabled.
3587042d3b9SJoseph Koshy.It Li Cycles_Int_Pending_Masked
3599275b7fcSJoseph Koshy.Pq Event C7H , Umask 00H
3607042d3b9SJoseph KoshyThe number of cycles while interrupts were disabled and interrupts
3617042d3b9SJoseph Koshywere pending.
3627042d3b9SJoseph Koshy.It Li DCU_Snoop_To_Share Op ,core= Ns core
3637042d3b9SJoseph Koshy.Pq Event 78H
3647042d3b9SJoseph KoshyThe number of data cache unit snoops to L1 cache lines in the shared
3657042d3b9SJoseph Koshystate.
3667042d3b9SJoseph Koshy.It Li DCache_Cache_Lock Op ,cachestate= Ns Ar mesi
3677042d3b9SJoseph Koshy.\" XXX needs clarification
3687042d3b9SJoseph Koshy.Pq Event 42H
3697042d3b9SJoseph KoshyThe number of cacheable locked read operations to invalid state.
3707042d3b9SJoseph Koshy.It Li DCache_Cache_LD Op ,cachestate= Ns Ar mesi
3717042d3b9SJoseph Koshy.Pq Event 40H
3727042d3b9SJoseph KoshyThe number of cacheable L1 data read operations.
3737042d3b9SJoseph Koshy.It Li DCache_Cache_ST Op ,cachestate= Ns Ar mesi
3747042d3b9SJoseph Koshy.Pq Event 41H
3757042d3b9SJoseph KoshyThe number cacheable L1 data write operations.
3767042d3b9SJoseph Koshy.It Li DCache_M_Evict
3779275b7fcSJoseph Koshy.Pq Event 47H , Umask 00H
3787042d3b9SJoseph KoshyThe number of M state data cache lines that were evicted.
3797042d3b9SJoseph Koshy.It Li DCache_M_Repl
3809275b7fcSJoseph Koshy.Pq Event 46H , Umask 00H
3817042d3b9SJoseph KoshyThe number of M state data cache lines that were allocated.
3827042d3b9SJoseph Koshy.It Li DCache_Pend_Miss
3839275b7fcSJoseph Koshy.Pq Event 48H , Umask 00H
3847042d3b9SJoseph KoshyThe weighted cycles an L1 miss was outstanding.
3857042d3b9SJoseph Koshy.It Li DCache_Repl
3869275b7fcSJoseph Koshy.Pq Event 45H , Umask 0FH
3877042d3b9SJoseph KoshyThe number of data cache line replacements.
3887042d3b9SJoseph Koshy.It Li Data_Mem_Cache_Ref
3899275b7fcSJoseph Koshy.Pq Event 44H , Umask 02H
3907042d3b9SJoseph KoshyThe number of cacheable read and write operations to L1 data cache.
3917042d3b9SJoseph Koshy.It Li Data_Mem_Ref
3929275b7fcSJoseph Koshy.Pq Event 43H , Umask 01H
3937042d3b9SJoseph KoshyThe number of L1 data reads and writes, both cacheable and
394ef582158SJoseph Koshyun-cacheable.
3957042d3b9SJoseph Koshy.It Li Dbus_Busy Op ,core= Ns Ar core
3967042d3b9SJoseph Koshy.Pq Event 22H
3977042d3b9SJoseph KoshyThe number of core cycles during which the data bus was busy.
3987042d3b9SJoseph Koshy.It Li Dbus_Busy_Rd Op ,core= Ns Ar core
3997042d3b9SJoseph Koshy.Pq Event 23H
400ef582158SJoseph KoshyThe number of cycles during which the data bus was busy transferring
4017042d3b9SJoseph Koshydata to a core.
4027042d3b9SJoseph Koshy.It Li Div
4039275b7fcSJoseph Koshy.Pq Event 13H , Umask 00H
4047042d3b9SJoseph KoshyThe number of divide operations including speculative operations for
4057042d3b9SJoseph Koshyinteger and floating point divides.
4067042d3b9SJoseph KoshyThis event can only be counted on PMC1.
4077042d3b9SJoseph Koshy.It Li Dtlb_Miss
4089275b7fcSJoseph Koshy.Pq Event 49H , Umask 00H
4097042d3b9SJoseph KoshyThe number of data references that missed the TLB.
4107042d3b9SJoseph Koshy.It Li ESP_Uops
4119275b7fcSJoseph Koshy.Pq Event D7H , Umask 00H
4127042d3b9SJoseph KoshyThe number of ESP folding instructions decoded.
4137042d3b9SJoseph Koshy.It Li EST_Trans Op ,trans= Ns Ar transition
4147042d3b9SJoseph Koshy.Pq Event 3AH
4157042d3b9SJoseph KoshyCount the number of Intel Enhanced SpeedStep transitions.
4167042d3b9SJoseph KoshyThe argument
4177042d3b9SJoseph Koshy.Ar transition
4187042d3b9SJoseph Koshycan be one of the following values:
4197042d3b9SJoseph Koshy.Bl -tag -width indent -compact
4207042d3b9SJoseph Koshy.It Li any
4217042d3b9SJoseph Koshy(Umask 00H) Count all transitions.
4227042d3b9SJoseph Koshy.It Li frequency
4237042d3b9SJoseph Koshy(Umask 01H) Count frequency transitions.
4247042d3b9SJoseph Koshy.El
4257042d3b9SJoseph KoshyThe default is
4267042d3b9SJoseph Koshy.Dq Li any .
4277042d3b9SJoseph Koshy.It Li FP_Assist
4289275b7fcSJoseph Koshy.Pq Event 11H , Umask 00H
4297042d3b9SJoseph KoshyThe number of floating point operations that required microcode
4307042d3b9SJoseph Koshyassists.
4317042d3b9SJoseph KoshyThe event is only available on PMC1.
4327042d3b9SJoseph Koshy.It Li FP_Comp_Instr_Ret
4339275b7fcSJoseph Koshy.Pq Event C1H , Umask 00H
4347042d3b9SJoseph KoshyThe number of X87 floating point compute instructions retired.
4357042d3b9SJoseph KoshyThe event is only available on PMC0.
4367042d3b9SJoseph Koshy.It Li FP_Comps_Op_Exe
4379275b7fcSJoseph Koshy.Pq Event 10H , Umask 00H
4387042d3b9SJoseph KoshyThe number of floating point computational instructions executed.
4397042d3b9SJoseph Koshy.It Li FP_MMX_Trans
4407042d3b9SJoseph Koshy.Pq Event CCH , Umask 01H
4417042d3b9SJoseph KoshyThe number of transitions from X87 to MMX.
4427042d3b9SJoseph Koshy.It Li Fused_Ld_Uops_Ret
4437042d3b9SJoseph Koshy.Pq Event DAH , Umask 01H
4447042d3b9SJoseph KoshyThe number of fused load uops retired.
4457042d3b9SJoseph Koshy.It Li Fused_St_Uops_Ret
4467042d3b9SJoseph Koshy.Pq Event DAH , Umask 02H
4477042d3b9SJoseph KoshyThe number of fused store uops retired.
4487042d3b9SJoseph Koshy.It Li Fused_Uops_Ret
4497042d3b9SJoseph Koshy.Pq Event DAH , Umask 00H
4507042d3b9SJoseph KoshyThe number of fused uops retired.
4517042d3b9SJoseph Koshy.It Li HW_Int_Rx
4529275b7fcSJoseph Koshy.Pq Event C8H , Umask 00H
4537042d3b9SJoseph KoshyThe number of hardware interrupts received.
4547042d3b9SJoseph Koshy.It Li ICache_Misses
4559275b7fcSJoseph Koshy.Pq Event 81H , Umask 00H
4567042d3b9SJoseph KoshyThe number of instruction fetch misses in the instruction cache and
4577042d3b9SJoseph Koshystreaming buffers.
4587042d3b9SJoseph Koshy.It Li ICache_Reads
4599275b7fcSJoseph Koshy.Pq Event 80H , Umask 00H
46036daf049SEitan AdlerThe number of instruction fetches from the instruction cache and
461ef582158SJoseph Koshystreaming buffers counting both cacheable and un-cacheable fetches.
4627042d3b9SJoseph Koshy.It Li IFU_Mem_Stall
4639275b7fcSJoseph Koshy.Pq Event 86H , Umask 00H
4647042d3b9SJoseph KoshyThe number of cycles the instruction fetch unit was stalled while
4657042d3b9SJoseph Koshywaiting for data from memory.
4667042d3b9SJoseph Koshy.It Li ILD_Stall
4679275b7fcSJoseph Koshy.Pq Event 87H , Umask 00H
4687042d3b9SJoseph KoshyThe number of instruction length decoder stalls.
4697042d3b9SJoseph Koshy.It Li ITLB_Misses
4709275b7fcSJoseph Koshy.Pq Event 85H , Umask 00H
4717042d3b9SJoseph KoshyThe number of instruction TLB misses.
4727042d3b9SJoseph Koshy.It Li Instr_Decoded
4739275b7fcSJoseph Koshy.Pq Event D0H , Umask 00H
4747042d3b9SJoseph KoshyThe number of instructions decoded.
4757042d3b9SJoseph Koshy.It Li Instr_Ret
4769275b7fcSJoseph Koshy.Pq Event C0H , Umask 00H
4776c292c4dSJoseph Koshy.Pq Alias Qq "Instruction Retired"
4787042d3b9SJoseph KoshyThe number of instructions retired.
4796c292c4dSJoseph KoshyThis is an architectural performance event.
4807042d3b9SJoseph Koshy.It Li L1_Pref_Req
4819275b7fcSJoseph Koshy.Pq Event 4FH , Umask 00H
4827042d3b9SJoseph KoshyThe number of L1 prefetch request due to data cache misses.
4837042d3b9SJoseph Koshy.It Li L2_ADS Op ,core= Ns core
4847042d3b9SJoseph Koshy.Pq Event 21H
4857042d3b9SJoseph KoshyThe number of L2 address strobes.
4867042d3b9SJoseph Koshy.It Li L2_IFetch Xo
4877042d3b9SJoseph Koshy.Op ,cachestate= Ns Ar mesi
4887042d3b9SJoseph Koshy.Op ,core= Ns Ar core
4897042d3b9SJoseph Koshy.Xc
4907042d3b9SJoseph Koshy.Pq Event 28H
4917042d3b9SJoseph KoshyThe number of instruction fetches by the instruction fetch unit from
4927042d3b9SJoseph KoshyL2 cache including speculative fetches.
4937042d3b9SJoseph Koshy.It Li L2_LD Xo
4947042d3b9SJoseph Koshy.Op ,cachestate= Ns Ar mesi
4957042d3b9SJoseph Koshy.Op ,core= Ns Ar core
4967042d3b9SJoseph Koshy.Xc
4977042d3b9SJoseph Koshy.Pq Event 29H
4987042d3b9SJoseph KoshyThe number of L2 cache reads.
4997042d3b9SJoseph Koshy.It Li L2_Lines_In Xo
5007042d3b9SJoseph Koshy.Op ,core= Ns Ar core
5017042d3b9SJoseph Koshy.Op ,prefetch= Ns Ar prefetch
5027042d3b9SJoseph Koshy.Xc
5037042d3b9SJoseph Koshy.Pq Event 24H
5047042d3b9SJoseph KoshyThe number of L2 cache lines allocated.
5057042d3b9SJoseph Koshy.It Li L2_Lines_Out Xo
5067042d3b9SJoseph Koshy.Op ,core= Ns Ar core
5077042d3b9SJoseph Koshy.Op ,prefetch= Ns Ar prefetch
5087042d3b9SJoseph Koshy.Xc
5097042d3b9SJoseph Koshy.Pq Event 26H
5107042d3b9SJoseph KoshyThe number of L2 cache lines evicted.
5117042d3b9SJoseph Koshy.It Li L2_M_Lines_In Op ,core= Ns Ar core
5127042d3b9SJoseph Koshy.Pq Event 25H
5137042d3b9SJoseph KoshyThe number of L2 M state cache lines allocated.
5147042d3b9SJoseph Koshy.It Li L2_M_Lines_Out Xo
5157042d3b9SJoseph Koshy.Op ,core= Ns Ar core
5167042d3b9SJoseph Koshy.Op ,prefetch= Ns Ar prefetch
5177042d3b9SJoseph Koshy.Xc
5187042d3b9SJoseph Koshy.Pq Event 27H
5197042d3b9SJoseph KoshyThe number of L2 M state cache lines evicted.
5207042d3b9SJoseph Koshy.It Li L2_No_Request_Cycles Xo
5217042d3b9SJoseph Koshy.Op ,cachestate= Ns Ar mesi
5227042d3b9SJoseph Koshy.Op ,core= Ns Ar core
5237042d3b9SJoseph Koshy.Op ,prefetch= Ns Ar prefetch
5247042d3b9SJoseph Koshy.Xc
5257042d3b9SJoseph Koshy.Pq Event 32H
5267042d3b9SJoseph KoshyThe number of cycles there was no request to access L2 cache.
5277042d3b9SJoseph Koshy.It Li L2_Reject_Cycles Xo
5287042d3b9SJoseph Koshy.Op ,cachestate= Ns Ar mesi
5297042d3b9SJoseph Koshy.Op ,core= Ns Ar core
5307042d3b9SJoseph Koshy.Op ,prefetch= Ns Ar prefetch
5317042d3b9SJoseph Koshy.Xc
5327042d3b9SJoseph Koshy.Pq Event 30H
5337042d3b9SJoseph KoshyThe number of cycles the L2 cache was busy and rejecting new requests.
5347042d3b9SJoseph Koshy.It Li L2_Rqsts Xo
5357042d3b9SJoseph Koshy.Op ,cachestate= Ns Ar mesi
5367042d3b9SJoseph Koshy.Op ,core= Ns Ar core
5377042d3b9SJoseph Koshy.Op ,prefetch= Ns Ar prefetch
5387042d3b9SJoseph Koshy.Xc
5397042d3b9SJoseph Koshy.Pq Event 2EH
5407042d3b9SJoseph KoshyThe number of L2 cache requests.
5417042d3b9SJoseph Koshy.It Li L2_ST Xo
5427042d3b9SJoseph Koshy.Op ,cachestate= Ns Ar mesi
5437042d3b9SJoseph Koshy.Op ,core= Ns Ar core
5447042d3b9SJoseph Koshy.Xc
5457042d3b9SJoseph Koshy.Pq Event 2AH
5467042d3b9SJoseph KoshyThe number of L2 cache writes including speculative writes.
5477042d3b9SJoseph Koshy.It Li LD_Blocks
5489275b7fcSJoseph Koshy.Pq Event 03H , Umask 00H
5497042d3b9SJoseph KoshyThe number of load operations delayed due to store buffer blocks.
5506c292c4dSJoseph Koshy.It Li LLC_Misses
5516c292c4dSJoseph Koshy.Pq Event 2EH , Umask 41H
5526c292c4dSJoseph KoshyThe number of cache misses for references to the last level cache,
5536c292c4dSJoseph Koshyexcluding misses due to hardware prefetches.
5546c292c4dSJoseph KoshyThis is an architectural performance event.
5556c292c4dSJoseph Koshy.It Li LLC_Reference
5566c292c4dSJoseph KoshyThe number of references to the last level cache,
5576c292c4dSJoseph Koshyexcluding those due to hardware prefetches.
5586c292c4dSJoseph KoshyThis is an architectural performance event.
5596c292c4dSJoseph Koshy.Pq Event 2EH , Umask 4FH
5606c292c4dSJoseph KoshyThis is an architectural performance event.
5617042d3b9SJoseph Koshy.It Li MMX_Assist
5629275b7fcSJoseph Koshy.Pq Event CDH , Umask 00H
5637042d3b9SJoseph KoshyThe number of EMMX instructions executed.
5647042d3b9SJoseph Koshy.It Li MMX_FP_Trans
5657042d3b9SJoseph Koshy.Pq Event CCH , Umask 00H
5667042d3b9SJoseph KoshyThe number of transitions from MMX to X87.
5677042d3b9SJoseph Koshy.It Li MMX_Instr_Exec
5689275b7fcSJoseph Koshy.Pq Event B0H , Umask 00H
5697042d3b9SJoseph KoshyThe number of MMX instructions executed excluding
5707042d3b9SJoseph Koshy.Li MOVQ
5717042d3b9SJoseph Koshyand
5727042d3b9SJoseph Koshy.Li MOVD
5737042d3b9SJoseph Koshystores.
5747042d3b9SJoseph Koshy.It Li MMX_Instr_Ret
5759275b7fcSJoseph Koshy.Pq Event CEH , Umask 00H
5767042d3b9SJoseph KoshyThe number of MMX instructions retired.
5777042d3b9SJoseph Koshy.It Li Misalign_Mem_Ref
5789275b7fcSJoseph Koshy.Pq Event 05H , Umask 00H
5797042d3b9SJoseph KoshyThe number of misaligned data memory references, counting loads and
5807042d3b9SJoseph Koshystores.
5817042d3b9SJoseph Koshy.It Li Mul
5829275b7fcSJoseph Koshy.Pq Event 12H , Umask 00H
5837042d3b9SJoseph KoshyThe number of multiply operations include speculative floating point
5847042d3b9SJoseph Koshyand integer multiplies.
5857042d3b9SJoseph KoshyThis event is available on PMC1 only.
5867042d3b9SJoseph Koshy.It Li NonHlt_Ref_Cycles
5877042d3b9SJoseph Koshy.Pq Event 3CH , Umask 01H
5886c292c4dSJoseph Koshy.Pq Alias Qq "Unhalted Reference Cycles"
5897042d3b9SJoseph KoshyThe number of non-halted bus cycles.
5906c292c4dSJoseph KoshyThis is an architectural performance event.
5917042d3b9SJoseph Koshy.It Li Pref_Rqsts_Dn
5929275b7fcSJoseph Koshy.Pq Event F8H , Umask 00H
5937042d3b9SJoseph KoshyThe number of hardware prefetch requests issued in backward streams.
5947042d3b9SJoseph Koshy.It Li Pref_Rqsts_Up
5959275b7fcSJoseph Koshy.Pq Event F0H , Umask 00H
5967042d3b9SJoseph KoshyThe number of hardware prefetch requests issued in forward streams.
5977042d3b9SJoseph Koshy.It Li Resource_Stall
5989275b7fcSJoseph Koshy.Pq Event A2H , Umask 00H
5997042d3b9SJoseph KoshyThe number of cycles where there is a resource related stall.
6007042d3b9SJoseph Koshy.It Li SD_Drains
6019275b7fcSJoseph Koshy.Pq Event 04H , Umask 00H
6027042d3b9SJoseph KoshyThe number of cycles while draining store buffers.
6037042d3b9SJoseph Koshy.It Li SIMD_FP_DP_P_Ret
6047042d3b9SJoseph Koshy.Pq Event D8H , Umask 02H
6057042d3b9SJoseph KoshyThe number of SSE/SSE2 packed double precision instructions retired.
6067042d3b9SJoseph Koshy.It Li SIMD_FP_DP_P_Comp_Ret
6077042d3b9SJoseph Koshy.Pq Event D9H , Umask 02H
6087042d3b9SJoseph KoshyThe number of SSE/SSE2 packed double precision compute instructions
6097042d3b9SJoseph Koshyretired.
6107042d3b9SJoseph Koshy.It Li SIMD_FP_DP_S_Ret
6117042d3b9SJoseph Koshy.Pq Event D8H , Umask 03H
6127042d3b9SJoseph KoshyThe number of SSE/SSE2 scalar double precision instructions retired.
6137042d3b9SJoseph Koshy.It Li SIMD_FP_DP_S_Comp_Ret
6147042d3b9SJoseph Koshy.Pq Event D9H , Umask 03H
6157042d3b9SJoseph KoshyThe number of SSE/SSE2 scalar double precision compute instructions
6167042d3b9SJoseph Koshyretired.
6177042d3b9SJoseph Koshy.It Li SIMD_FP_SP_P_Comp_Ret
6187042d3b9SJoseph Koshy.Pq Event D9H , Umask 00H
6197042d3b9SJoseph KoshyThe number of SSE/SSE2 packed single precision compute instructions
6207042d3b9SJoseph Koshyretired.
6217042d3b9SJoseph Koshy.It Li SIMD_FP_SP_Ret
6227042d3b9SJoseph Koshy.Pq Event D8H , Umask 00H
6237042d3b9SJoseph KoshyThe number of SSE/SSE2 scalar single precision instructions retired,
6247042d3b9SJoseph Koshyboth packed and scalar.
6257042d3b9SJoseph Koshy.It Li SIMD_FP_SP_S_Ret
6267042d3b9SJoseph Koshy.Pq Event D8H , Umask 01H
6277042d3b9SJoseph KoshyThe number of SSE/SSE2 scalar single precision instructions retired.
6287042d3b9SJoseph Koshy.It Li SIMD_FP_SP_S_Comp_Ret
6297042d3b9SJoseph Koshy.Pq Event D9H , Umask 01H
6307042d3b9SJoseph KoshyThe number of SSE/SSE2 single precision compute instructions retired.
6317042d3b9SJoseph Koshy.It Li SIMD_Int_128_Ret
6327042d3b9SJoseph Koshy.Pq Event D8H , Umask 04H
6337042d3b9SJoseph KoshyThe number of SSE2 128-bit integer instructions retired.
6347042d3b9SJoseph Koshy.It Li SIMD_Int_Pari_Exec
6357042d3b9SJoseph Koshy.Pq Event B3H , Umask 20H
6367042d3b9SJoseph KoshyThe number of SIMD integer packed arithmetic instructions executed.
6377042d3b9SJoseph Koshy.It Li SIMD_Int_Pck_Exec
6387042d3b9SJoseph Koshy.Pq Event B3H , Umask 04H
6397042d3b9SJoseph KoshyThe number of SIMD integer pack operations instructions executed.
6407042d3b9SJoseph Koshy.It Li SIMD_Int_Plog_Exec
6417042d3b9SJoseph Koshy.Pq Event B3H , Umask 10H
6427042d3b9SJoseph KoshyThe number of SIMD integer packed logical instructions executed.
6437042d3b9SJoseph Koshy.It Li SIMD_Int_Pmul_Exec
6447042d3b9SJoseph Koshy.Pq Event B3H , Umask 01H
6457042d3b9SJoseph KoshyThe number of SIMD integer packed multiply instructions executed.
6467042d3b9SJoseph Koshy.It Li SIMD_Int_Psft_Exec
6477042d3b9SJoseph Koshy.Pq Event B3H , Umask 02H
6487042d3b9SJoseph KoshyThe number of SIMD integer packed shift instructions executed.
6497042d3b9SJoseph Koshy.It Li SIMD_Int_Sat_Exec
6509275b7fcSJoseph Koshy.Pq Event B1H , Umask 00H
6517042d3b9SJoseph KoshyThe number of SIMD integer saturating instructions executed.
6527042d3b9SJoseph Koshy.It Li SIMD_Int_Upck_Exec
6537042d3b9SJoseph Koshy.Pq Event B3H , Umask 08H
6547042d3b9SJoseph KoshyThe number of SIMD integer unpack instructions executed.
6557042d3b9SJoseph Koshy.It Li SMC_Detected
656d5ec7b69SJoseph Koshy.Pq Event C3H , Umask 00H
6577042d3b9SJoseph KoshyThe number of times self-modifying code was detected.
6587042d3b9SJoseph Koshy.It Li SSE_NTStores_Miss
6597042d3b9SJoseph Koshy.Pq Event 4BH , Umask 03H
6607042d3b9SJoseph KoshyThe number of times an SSE streaming store instruction missed all caches.
6617042d3b9SJoseph Koshy.It Li SSE_NTStores_Ret
6627042d3b9SJoseph Koshy.Pq Event 07H , Umask 03H
6637042d3b9SJoseph KoshyThe number of SSE streaming store instructions executed.
6647042d3b9SJoseph Koshy.It Li SSE_PrefNta_Miss
6657042d3b9SJoseph Koshy.Pq Event 4BH , Umask 00H
6667042d3b9SJoseph KoshyThe number of times
6677042d3b9SJoseph Koshy.Li PREFETCHNTA
6687042d3b9SJoseph Koshymissed all caches.
6697042d3b9SJoseph Koshy.It Li SSE_PrefNta_Ret
6707042d3b9SJoseph Koshy.Pq Event 07H , Umask 00H
6717042d3b9SJoseph KoshyThe number of
6727042d3b9SJoseph Koshy.Li PREFETCHNTA
6737042d3b9SJoseph Koshyinstructions retired.
6747042d3b9SJoseph Koshy.It Li SSE_PrefT1_Miss
6757042d3b9SJoseph Koshy.Pq Event 4BH , Umask 01H
6767042d3b9SJoseph KoshyThe number of times
6777042d3b9SJoseph Koshy.Li PREFETCHT1
6787042d3b9SJoseph Koshymissed all caches.
6797042d3b9SJoseph Koshy.It Li SSE_PrefT1_Ret
6807042d3b9SJoseph Koshy.Pq Event 07H , Umask 01H
6817042d3b9SJoseph KoshyThe number of
6827042d3b9SJoseph Koshy.Li PREFETCHT1
6837042d3b9SJoseph Koshyinstructions retired.
6847042d3b9SJoseph Koshy.It Li SSE_PrefT2_Miss
6857042d3b9SJoseph Koshy.Pq Event 4BH , Umask 02H
6867042d3b9SJoseph KoshyThe number of times
6877042d3b9SJoseph Koshy.Li PREFETCHNT2
6887042d3b9SJoseph Koshymissed all caches.
6897042d3b9SJoseph Koshy.It Li SSE_PrefT2_Ret
6907042d3b9SJoseph Koshy.Pq Event 07H , Umask 02H
6917042d3b9SJoseph KoshyThe number of
6927042d3b9SJoseph Koshy.Li PREFETCHT2
6937042d3b9SJoseph Koshyinstructions retired.
6947042d3b9SJoseph Koshy.It Li Seg_Reg_Loads
6959275b7fcSJoseph Koshy.Pq Event 06H , Umask 00H
6967042d3b9SJoseph KoshyThe number of segment register loads.
6977042d3b9SJoseph Koshy.It Li Serial_Execution_Cycles
6987042d3b9SJoseph Koshy.Pq Event 3CH , Umask 02H
6997042d3b9SJoseph KoshyThe number of non-halted bus cycles of this code while the other core
7007042d3b9SJoseph Koshywas halted.
7017042d3b9SJoseph Koshy.It Li Thermal_Trip
7027042d3b9SJoseph Koshy.Pq Event 3BH , Umask C0H
7037042d3b9SJoseph KoshyThe duration in a thermal trip based on the current core clock.
7047042d3b9SJoseph Koshy.It Li Unfusion
7059275b7fcSJoseph Koshy.Pq Event DBH , Umask 00H
7067042d3b9SJoseph KoshyThe number of unfusion events.
7079275b7fcSJoseph Koshy.It Li Unhalted_Core_Cycles
7086c292c4dSJoseph Koshy.Pq Event 3CH , Umask 00H
7096c292c4dSJoseph KoshyThe number of core clock cycles when the clock signal on a specific
7106c292c4dSJoseph Koshycore is not halted.
7116c292c4dSJoseph KoshyThis is an architectural performance event.
7127042d3b9SJoseph Koshy.It Li Uops_Ret
7139275b7fcSJoseph Koshy.Pq Event C2H , Umask 00H
7147042d3b9SJoseph KoshyThe number of micro-ops retired.
7157042d3b9SJoseph Koshy.El
7167042d3b9SJoseph Koshy.Ss Event Name Aliases
7177042d3b9SJoseph KoshyThe following table shows the mapping between the PMC-independent
7187042d3b9SJoseph Koshyaliases supported by
7197042d3b9SJoseph Koshy.Lb libpmc
7207042d3b9SJoseph Koshyand the underlying hardware events used.
7217042d3b9SJoseph Koshy.Bl -column "branch-mispredicts" "Description"
7227042d3b9SJoseph Koshy.It Em Alias Ta Em Event
7237042d3b9SJoseph Koshy.It Li branches Ta Li Br_Instr_Ret
7247042d3b9SJoseph Koshy.It Li branch-mispredicts Ta Li Br_MisPred_Ret
7257042d3b9SJoseph Koshy.It Li dc-misses Ta (unsupported)
7267042d3b9SJoseph Koshy.It Li ic-misses Ta Li ICache_Misses
7277042d3b9SJoseph Koshy.It Li instructions Ta Li Instr_Ret
7287042d3b9SJoseph Koshy.It Li interrupts Ta Li HW_Int_Rx
7297042d3b9SJoseph Koshy.It Li unhalted-cycles Ta (unsupported)
7307042d3b9SJoseph Koshy.El
7313c83ff13SJoseph Koshy.Sh PROCESSOR ERRATA
7323c83ff13SJoseph KoshyThe following errata affect performance measurement on these
7333c83ff13SJoseph Koshyprocessors.
7343c83ff13SJoseph KoshyThese errata are documented in
7353c83ff13SJoseph Koshy.Rs
736b27f4988SUlrich Spörlein.%B Specification Update
737b27f4988SUlrich Spörlein.%T Intel\(rg CoreTM Duo Processor and Intel\(rg CoreTM Solo Processor on 65 nm Process
738b27f4988SUlrich Spörlein.%N Order Number 309222-017
7393c83ff13SJoseph Koshy.%D July 2008
740b27f4988SUlrich Spörlein.%Q Intel Corporation
7413c83ff13SJoseph Koshy.Re
7423c83ff13SJoseph Koshy.Bl -tag -width indent -compact
7433c83ff13SJoseph Koshy.It AE19
7443c83ff13SJoseph KoshyData prefetch performance monitoring events can only be enabled
7453c83ff13SJoseph Koshyon a single core.
7463c83ff13SJoseph Koshy.It AE25
7473c83ff13SJoseph KoshyPerformance monitoring counters that count external bus events
7483c83ff13SJoseph Koshymay report incorrect values after processor power state transitions.
7493c83ff13SJoseph Koshy.It AE28
7503c83ff13SJoseph KoshyPerformance monitoring events for retired floating point operations
7513c83ff13SJoseph Koshy(C1H) may not be accurate.
7523c83ff13SJoseph Koshy.It AE29
7533c83ff13SJoseph KoshyDR3 address match on MOVD/MOVQ/MOVNTQ memory store
7543c83ff13SJoseph Koshyinstruction may incorrectly increment performance monitoring count
755ef582158SJoseph Koshyfor saturating SIMD instructions retired (Event CFH).
7563c83ff13SJoseph Koshy.It AE33
7573c83ff13SJoseph KoshyHardware prefetch performance monitoring events may be counted
7583c83ff13SJoseph Koshyinaccurately.
7593c83ff13SJoseph Koshy.It AE36
7603c83ff13SJoseph KoshyThe
7613c83ff13SJoseph Koshy.Li CPU_CLK_UNHALTED
7623c83ff13SJoseph Koshyperformance monitoring event (Event 3CH) counts
7633c83ff13SJoseph Koshyclocks when the processor is in the C1/C2 processor power states.
7643c83ff13SJoseph Koshy.It AE39
7653c83ff13SJoseph KoshyCertain performance monitoring counters related to bus, L2 cache
7663c83ff13SJoseph Koshyand power management are inaccurate.
7673c83ff13SJoseph Koshy.It AE51
7683c83ff13SJoseph KoshyPerformance monitoring events for retired instructions (Event C0H) may
7693c83ff13SJoseph Koshynot be accurate.
7703c83ff13SJoseph Koshy.It AE67
7713c83ff13SJoseph KoshyPerformance monitoring event
7723c83ff13SJoseph Koshy.Li FP_ASSIST
7733c83ff13SJoseph Koshymay not be accurate.
7743c83ff13SJoseph Koshy.It AE78
7753c83ff13SJoseph KoshyPerformance monitoring event for hardware prefetch requests (Event
7763c83ff13SJoseph Koshy4EH) and hardware prefetch request cache misses (Event 4FH) may not be
7773c83ff13SJoseph Koshyaccurate.
7783c83ff13SJoseph Koshy.It AE82
7793c83ff13SJoseph KoshyPerformance monitoring event
7803c83ff13SJoseph Koshy.Li FP_MMX_TRANS_TO_MMX
7813c83ff13SJoseph Koshymay not count some transitions.
7823c83ff13SJoseph Koshy.El
7837042d3b9SJoseph Koshy.Sh SEE ALSO
7847042d3b9SJoseph Koshy.Xr pmc 3 ,
785*b2934971SMitchell Horne.Xr pmc.amd 3 ,
7867042d3b9SJoseph Koshy.Xr pmc.atom 3 ,
7877042d3b9SJoseph Koshy.Xr pmc.core2 3 ,
7887042d3b9SJoseph Koshy.Xr pmc.iaf 3 ,
789f5f9340bSFabien Thomas.Xr pmc.soft 3 ,
7907042d3b9SJoseph Koshy.Xr pmc.tsc 3 ,
7917042d3b9SJoseph Koshy.Xr pmclog 3 ,
7927042d3b9SJoseph Koshy.Xr hwpmc 4
7937042d3b9SJoseph Koshy.Sh HISTORY
7947042d3b9SJoseph KoshyThe
7957042d3b9SJoseph Koshy.Nm pmc
7967042d3b9SJoseph Koshylibrary first appeared in
7977042d3b9SJoseph Koshy.Fx 6.0 .
7987042d3b9SJoseph Koshy.Sh AUTHORS
7997042d3b9SJoseph KoshyThe
8007042d3b9SJoseph Koshy.Lb libpmc
8017042d3b9SJoseph Koshylibrary was written by
8022b7af31cSBaptiste Daroussin.An Joseph Koshy Aq Mt jkoshy@FreeBSD.org .
803