PAPI  5.4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 {
36 };
37 
38 typedef struct Native_Event_LabelDescription
39 {
40  char *name;
41  char *description;
43 
44 typedef struct Native_Event_Info
45 {
46  /* Name and description for all native events */
49 
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_ */
Definition: map.h:28
Native_Event_LabelDescription_t * info
Definition: map.h:47
void init_freebsd_libpmc_mappings(void)
Definition: map.c:19
Definition: map.h:30
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
Definition: map.h:31
Definition: map.h:26
Definition: map.h:27
Definition: map.h:25
Definition: map.h:22
Definition: map.h:23
Definition: map.h:24
Definition: map.h:35
Definition: map.h:33
Definition: map.h:29
Definition: map.h:21