1 .\" Copyright (c) 2010 Fabien Thomas. All rights reserved.
3 .\" Redistribution and use in source and binary forms, with or without
4 .\" modification, are permitted provided that the following conditions
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 .\" notice, this list of conditions and the following disclaimer in the
10 .\" documentation and/or other materials provided with the distribution.
12 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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
29 .Nd measurement events for
31 uncore fixed function performance counters.
37 Each fixed-function PMC measures a specific hardware event.
38 The number of fixed-function PMCs implemented in a CPU can vary.
39 The number of fixed-function PMCs present can be determined at runtime
43 Intel uncore fixed-function PMCs are documented in
45 .%B "Intel(R) 64 and IA-32 Architectures Software Developes Manual"
46 .%T "Volume 3B: System Programming Guide, Part 2"
47 .%N "Order Number: 253669-033US"
49 .%Q "Intel Corporation"
53 Fixed-function PMCs support the following capabilities:
54 .Bl -column "PMC_CAP_INTERRUPT" "Support"
55 .It Em Capability Ta Em Support
56 .It PMC_CAP_CASCADE Ta \&No
57 .It PMC_CAP_EDGE Ta \&No
58 .It PMC_CAP_INTERRUPT Ta \&No
59 .It PMC_CAP_INVERT Ta \&No
60 .It PMC_CAP_READ Ta Yes
61 .It PMC_CAP_PRECISE Ta \&No
62 .It PMC_CAP_SYSTEM Ta \&No
63 .It PMC_CAP_TAGGING Ta \&No
64 .It PMC_CAP_THRESHOLD Ta \&No
65 .It PMC_CAP_USER Ta \&No
66 .It PMC_CAP_WRITE Ta Yes
69 These PMCs are named using a class name prefix of
71 .Ss Event Specifiers (Fixed Function PMCs)
72 The fixed function PMCs are selectable using the following
74 .Bl -tag -width indent
76 .Pq Fixed Function Counter 0
77 The fixed-function uncore counter increments at the rate of the U-clock.
78 The frequency of the uncore clock domain can be determined from the uncore
79 clock ratio which is available in the PCI configuration space register at
80 offset C0H under device number 0 and Function 0.
94 .Xr pmc.westmereuc 3 ,
101 library first appeared in
106 library was written by
107 .An Joseph Koshy Aq Mt jkoshy@FreeBSD.org .