PAPI
5.7.0.0
map.h
Go to the documentation of this file.
1
/****************************/
2
/* THIS IS OPEN SOURCE CODE */
3
/****************************/
4
5
/*
6
* File: freebsd-map.h
7
* Author: Harald Servat
8
* redcrash@gmail.com
9
*/
10
11
#ifndef _FreeBSD_MAP_H_
12
#define _FreeBSD_MAP_H_
13
14
#include "../papi.h"
15
#include "../papi_internal.h"
16
#include "../papi_vector.h"
17
18
enum
19
{
20
CPU_UNKNOWN
= 0,
21
CPU_P6
,
22
CPU_P6_C
,
23
CPU_P6_2
,
24
CPU_P6_3
,
25
CPU_P6_M
,
26
CPU_P4
,
27
CPU_K7
,
28
CPU_K8
,
29
CPU_ATOM
,
30
CPU_CORE
,
31
CPU_CORE2
,
32
CPU_CORE2EXTREME
,
33
CPU_COREI7
,
34
CPU_COREWESTMERE
,
35
CPU_LAST
36
};
37
38
typedef
struct
Native_Event_LabelDescription
39
{
40
char
*
name
;
41
char
*
description
;
42
}
Native_Event_LabelDescription_t
;
43
44
typedef
struct
Native_Event_Info
45
{
46
/* Name and description for all native events */
47
Native_Event_LabelDescription_t
*
info
;
48
}
Native_Event_Info_t
;
49
50
extern
Native_Event_Info_t
_papi_hwd_native_info
[
CPU_LAST
+1];
51
extern
void
init_freebsd_libpmc_mappings
(
void
);
52
extern
int
freebsd_number_of_events
(
int
processortype);
53
54
#include "
map-unknown.h
"
55
#include "
map-p6.h
"
56
#include "
map-p6-c.h
"
57
#include "
map-p6-2.h
"
58
#include "
map-p6-3.h
"
59
#include "
map-p6-m.h
"
60
#include "
map-p4.h
"
61
#include "
map-k7.h
"
62
#include "
map-k8.h
"
63
#include "
map-atom.h
"
64
#include "
map-core.h
"
65
#include "
map-core2.h
"
66
#include "
map-core2-extreme.h
"
67
#include "
map-i7.h
"
68
#include "
map-westmere.h
"
69
70
#endif
/* _FreeBSD_MAP_H_ */
Native_Event_Info_t::info
Native_Event_LabelDescription_t * info
Definition:
map.h:47
map-core2-extreme.h
CPU_K7
Definition:
map.h:27
CPU_CORE2
Definition:
map.h:31
Native_Event_LabelDescription_t
Definition:
map.h:38
CPU_COREI7
Definition:
map.h:33
CPU_LAST
Definition:
map.h:35
init_freebsd_libpmc_mappings
void init_freebsd_libpmc_mappings(void)
Definition:
map.c:19
map-atom.h
freebsd_number_of_events
int freebsd_number_of_events(int processortype)
Definition:
map.c:40
map-p6-3.h
CPU_CORE2EXTREME
Definition:
map.h:32
CPU_P4
Definition:
map.h:26
CPU_UNKNOWN
Definition:
map.h:20
_papi_hwd_native_info
Native_Event_Info_t _papi_hwd_native_info[CPU_LAST+1]
Definition:
map.c:17
Native_Event_Info_t
Definition:
map.h:44
map-core.h
CPU_P6_C
Definition:
map.h:22
map-p6-c.h
CPU_CORE
Definition:
map.h:30
map-westmere.h
CPU_P6
Definition:
map.h:21
map-core2.h
CPU_K8
Definition:
map.h:28
CPU_COREWESTMERE
Definition:
map.h:34
map-p4.h
Native_Event_LabelDescription_t::description
char * description
Definition:
map.h:41
map-p6.h
map-i7.h
CPU_P6_3
Definition:
map.h:24
Native_Event_LabelDescription_t::name
char * name
Definition:
map.h:40
map-k8.h
CPU_P6_M
Definition:
map.h:25
map-unknown.h
map-p6-m.h
map-p6-2.h
CPU_P6_2
Definition:
map.h:23
CPU_ATOM
Definition:
map.h:29
map-k7.h
src
freebsd
map.h
Generated on Wed Mar 27 2019 00:55:12 for PAPI by
1.8.15