PAPI 7.1.0.0
Loading...
Searching...
No Matches
amd64_events.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2006, 2007 Advanced Micro Devices, Inc.
3 * Contributed by Ray Bryant <raybry@mpdtxmail.amd.com>
4 * Contributed by Robert Richter <robert.richter@amd.com>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
10 * of the Software, and to permit persons to whom the Software is furnished to do so,
11 * subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in all
14 * copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
17 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
18 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
20 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
21 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 *
23 * This file is part of libpfm, a performance monitoring support library for
24 * applications on Linux.
25 */
26
27#include "amd64_events_k7.h"
28#include "amd64_events_k8.h"
29#include "amd64_events_fam10h.h"
30#include "amd64_events_fam15h.h"
31
33 unsigned int num;
35 unsigned int cpu_clks;
36 unsigned int ret_inst;
37};
38
41 .events = amd64_k7_pe,
44};
45
48 .events = amd64_k8_pe,
51};
52
55 .events = amd64_fam10h_pe,
58};
59
62 .events = amd64_fam15h_pe,
65};
static struct pme_amd64_table amd64_fam15h_table
Definition: amd64_events.h:60
static struct pme_amd64_table amd64_k7_table
Definition: amd64_events.h:39
static struct pme_amd64_table amd64_k8_table
Definition: amd64_events.h:46
static struct pme_amd64_table amd64_fam10h_table
Definition: amd64_events.h:53
#define PME_AMD64_FAM10H_CPU_CLK_UNHALTED
#define PME_AMD64_FAM10H_EVENT_COUNT
static pme_amd64_entry_t amd64_fam10h_pe[]
#define PME_AMD64_FAM10H_RETIRED_INSTRUCTIONS
#define PME_AMD64_FAM15H_CPU_CLK_UNHALTED
#define PME_AMD64_FAM15H_EVENT_COUNT
static pme_amd64_entry_t amd64_fam15h_pe[]
#define PME_AMD64_FAM15H_RETIRED_INSTRUCTIONS
#define PME_AMD64_K7_CPU_CLK_UNHALTED
static pme_amd64_entry_t amd64_k7_pe[]
#define PME_AMD64_K7_RETIRED_INSTRUCTIONS
#define PME_AMD64_K7_EVENT_COUNT
static pme_amd64_entry_t amd64_k8_pe[]
#define PME_AMD64_K8_RETIRED_INSTRUCTIONS
#define PME_AMD64_K8_EVENT_COUNT
#define PME_AMD64_K8_CPU_CLK_UNHALTED
unsigned int cpu_clks
Definition: amd64_events.h:35
pme_amd64_entry_t * events
Definition: amd64_events.h:34
unsigned int num
Definition: amd64_events.h:33
unsigned int ret_inst
Definition: amd64_events.h:36