Deleted Added
full compact
pmc_mdep.h (331722) pmc_mdep.h (339767)
1/*-
2 * Copyright (c) 2003-2008 Joseph Koshy
3 * Copyright (c) 2007 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by A. Joseph Koshy under
7 * sponsorship from the FreeBSD Foundation and Google, Inc.
8 *

--- 13 unchanged lines hidden (view full) ---

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
1/*-
2 * Copyright (c) 2003-2008 Joseph Koshy
3 * Copyright (c) 2007 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by A. Joseph Koshy under
7 * sponsorship from the FreeBSD Foundation and Google, Inc.
8 *

--- 13 unchanged lines hidden (view full) ---

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD: stable/11/sys/amd64/include/pmc_mdep.h 331722 2018-03-29 02:50:57Z eadler $
30 * $FreeBSD: stable/11/sys/amd64/include/pmc_mdep.h 339767 2018-10-26 05:12:56Z mmacy $
31 */
32
33/* Machine dependent interfaces */
34
35#ifndef _MACHINE_PMC_MDEP_H
36#define _MACHINE_PMC_MDEP_H 1
37
38#ifdef _KERNEL

--- 8 unchanged lines hidden (view full) ---

47
48/*
49 * Intel processors implementing V2 and later of the Intel performance
50 * measurement architecture have PMCs of the following classes: TSC,
51 * IAF, IAP, UCF and UCP.
52 */
53#define PMC_MDEP_CLASS_INDEX_TSC 1
54#define PMC_MDEP_CLASS_INDEX_K8 2
31 */
32
33/* Machine dependent interfaces */
34
35#ifndef _MACHINE_PMC_MDEP_H
36#define _MACHINE_PMC_MDEP_H 1
37
38#ifdef _KERNEL

--- 8 unchanged lines hidden (view full) ---

47
48/*
49 * Intel processors implementing V2 and later of the Intel performance
50 * measurement architecture have PMCs of the following classes: TSC,
51 * IAF, IAP, UCF and UCP.
52 */
53#define PMC_MDEP_CLASS_INDEX_TSC 1
54#define PMC_MDEP_CLASS_INDEX_K8 2
55#define PMC_MDEP_CLASS_INDEX_F17H 2
55#define PMC_MDEP_CLASS_INDEX_P4 2
56#define PMC_MDEP_CLASS_INDEX_IAP 2
57#define PMC_MDEP_CLASS_INDEX_IAF 3
58#define PMC_MDEP_CLASS_INDEX_UCP 4
59#define PMC_MDEP_CLASS_INDEX_UCF 5
60
61/*
62 * On the amd64 platform we support the following PMCs.

--- 79 unchanged lines hidden ---
56#define PMC_MDEP_CLASS_INDEX_P4 2
57#define PMC_MDEP_CLASS_INDEX_IAP 2
58#define PMC_MDEP_CLASS_INDEX_IAF 3
59#define PMC_MDEP_CLASS_INDEX_UCP 4
60#define PMC_MDEP_CLASS_INDEX_UCF 5
61
62/*
63 * On the amd64 platform we support the following PMCs.

--- 79 unchanged lines hidden ---