PAPI 7.1.0.0
Loading...
Searching...
No Matches
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
18enum
19{
36};
37
38typedef struct Native_Event_LabelDescription
39{
40 char *name;
43
44typedef struct Native_Event_Info
45{
46 /* Name and description for all native events */
49
51extern void init_freebsd_libpmc_mappings (void);
52extern 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_ */
void init_freebsd_libpmc_mappings(void)
Definition: map.c:19
@ CPU_K7
Definition: map.h:27
@ CPU_P6
Definition: map.h:21
@ CPU_P6_2
Definition: map.h:23
@ CPU_COREWESTMERE
Definition: map.h:34
@ CPU_P6_3
Definition: map.h:24
@ CPU_LAST
Definition: map.h:35
@ CPU_P6_M
Definition: map.h:25
@ CPU_CORE
Definition: map.h:30
@ CPU_CORE2
Definition: map.h:31
@ CPU_P6_C
Definition: map.h:22
@ CPU_ATOM
Definition: map.h:29
@ CPU_K8
Definition: map.h:28
@ CPU_CORE2EXTREME
Definition: map.h:32
@ CPU_P4
Definition: map.h:26
@ CPU_COREI7
Definition: map.h:33
@ CPU_UNKNOWN
Definition: map.h:20
Native_Event_Info_t _papi_hwd_native_info[CPU_LAST+1]
Definition: map.c:17
int freebsd_number_of_events(int processortype)
Definition: map.c:40
Native_Event_LabelDescription_t * info
Definition: map.h:47