pmc.iaf.3 (06209c4453e740261361dc3839cf1a2123015b3f) | pmc.iaf.3 (944e20faf56a73620846dbc249b3f9c222274548) |
---|---|
1.\" Copyright (c) 2008 Joseph Koshy. All rights reserved. 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" or services; loss of use, data, or profits; or business interruption) 19.\" however caused and on any theory of liability, whether in contract, strict 20.\" liability, or tort (including negligence or otherwise) arising in any way 21.\" out of the use of this software, even if advised of the possibility of 22.\" such damage. 23.\" 24.\" $FreeBSD$ 25.\" | 1.\" Copyright (c) 2008 Joseph Koshy. All rights reserved. 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" or services; loss of use, data, or profits; or business interruption) 19.\" however caused and on any theory of liability, whether in contract, strict 20.\" liability, or tort (including negligence or otherwise) arising in any way 21.\" out of the use of this software, even if advised of the possibility of 22.\" such damage. 23.\" 24.\" $FreeBSD$ 25.\" |
26.Dd October 3, 2008 | 26.Dd November 14, 2008 |
27.Os 28.Dt PMC.IAF 3 29.Sh NAME 30.Nm pmc.iaf 31.Nd measurement events for 32.Tn Intel 33fixed function performance counters. 34.Sh LIBRARY --- 32 unchanged lines hidden (view full) --- 67.It PMC_CAP_READ Ta Yes 68.It PMC_CAP_PRECISE Ta \&No 69.It PMC_CAP_SYSTEM Ta Yes 70.It PMC_CAP_TAGGING Ta \&No 71.It PMC_CAP_THRESHOLD Ta \&No 72.It PMC_CAP_USER Ta Yes 73.It PMC_CAP_WRITE Ta Yes 74.El | 27.Os 28.Dt PMC.IAF 3 29.Sh NAME 30.Nm pmc.iaf 31.Nd measurement events for 32.Tn Intel 33fixed function performance counters. 34.Sh LIBRARY --- 32 unchanged lines hidden (view full) --- 67.It PMC_CAP_READ Ta Yes 68.It PMC_CAP_PRECISE Ta \&No 69.It PMC_CAP_SYSTEM Ta Yes 70.It PMC_CAP_TAGGING Ta \&No 71.It PMC_CAP_THRESHOLD Ta \&No 72.It PMC_CAP_USER Ta Yes 73.It PMC_CAP_WRITE Ta Yes 74.El |
75.Ss Class Name Prefix 76These pmcs are named using a class name prefix of 77.Dq Li iaf- . |
|
75.Ss Event Qualifiers (Fixed Function PMCs) 76These PMCs support the following modifiers: 77.Bl -tag -width indent 78.It Li os 79Configure the PMC to count events occurring at ring level 0. 80.It Li usr 81Configure the PMC to count events occurring at ring levels 1, 2 82or 3. | 78.Ss Event Qualifiers (Fixed Function PMCs) 79These PMCs support the following modifiers: 80.Bl -tag -width indent 81.It Li os 82Configure the PMC to count events occurring at ring level 0. 83.It Li usr 84Configure the PMC to count events occurring at ring levels 1, 2 85or 3. |
86.It Li anythread 87.Pq Tn Atom CPUs 88Configure the PMC to count events on all logical processors sharing a 89processor core. 90The default is to count events on the current logical processor. |
|
83.El 84.Pp 85If neither of the 86.Dq Li os 87or 88.Dq Li usr 89qualifiers are specified, the default is to enable both. 90.Ss Event Specifiers (Fixed Function PMCs) --- 5 unchanged lines hidden (view full) --- 96The number of instructions retired. 97.It Li CPU_CLK_UNHALTED.CORE 98.Pq Fixed Function Counter 1 99The number of core cycles for which the core is not halted. 100.It Li CPU_CLK_UNHALTED.REF 101.Pq Fixed Function Counter 2 102The number of reference cycles for which the core is not halted. 103.El | 91.El 92.Pp 93If neither of the 94.Dq Li os 95or 96.Dq Li usr 97qualifiers are specified, the default is to enable both. 98.Ss Event Specifiers (Fixed Function PMCs) --- 5 unchanged lines hidden (view full) --- 104The number of instructions retired. 105.It Li CPU_CLK_UNHALTED.CORE 106.Pq Fixed Function Counter 1 107The number of core cycles for which the core is not halted. 108.It Li CPU_CLK_UNHALTED.REF 109.Pq Fixed Function Counter 2 110The number of reference cycles for which the core is not halted. 111.El |
112.Sh EXAMPLES 113To measure the number of core cycles for which the core was not halted 114use the event specifier 115.Qq iaf-cpu-clk-unhalted.core . 116.Pp 117To measure the number of user instructions retired use the event specifier 118.Qq iaf-instr-retired.any,usr . 119.Pp 120To measure the number of user instructions retired on all logical processors 121in an 122.Tn Atom 123CPU, use the event specifier 124.Qq iaf-instr-retired.any,usr,anythread . |
|
104.Sh SEE ALSO 105.Xr pmc 3 , 106.Xr pmc.atom 3 , 107.Xr pmc.core 3 , 108.Xr pmc.core2 3 , 109.Xr pmc.k7 3 , 110.Xr pmc.k8 3 , 111.Xr pmc.p4 3 , --- 17 unchanged lines hidden --- | 125.Sh SEE ALSO 126.Xr pmc 3 , 127.Xr pmc.atom 3 , 128.Xr pmc.core 3 , 129.Xr pmc.core2 3 , 130.Xr pmc.k7 3 , 131.Xr pmc.k8 3 , 132.Xr pmc.p4 3 , --- 17 unchanged lines hidden --- |