PAPI 7.1.0.0
Loading...
Searching...
No Matches
map.h File Reference
Include dependency graph for map.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Native_Event_LabelDescription_t
 
struct  Native_Event_Info_t
 

Enumerations

enum  {
  CPU_UNKNOWN = 0 , CPU_P6 , CPU_P6_C , CPU_P6_2 ,
  CPU_P6_3 , CPU_P6_M , CPU_P4 , CPU_K7 ,
  CPU_K8 , CPU_ATOM , CPU_CORE , CPU_CORE2 ,
  CPU_CORE2EXTREME , CPU_COREI7 , CPU_COREWESTMERE , CPU_LAST
}
 

Functions

void init_freebsd_libpmc_mappings (void)
 
int freebsd_number_of_events (int processortype)
 

Variables

Native_Event_Info_t _papi_hwd_native_info [CPU_LAST+1]
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CPU_UNKNOWN 
CPU_P6 
CPU_P6_C 
CPU_P6_2 
CPU_P6_3 
CPU_P6_M 
CPU_P4 
CPU_K7 
CPU_K8 
CPU_ATOM 
CPU_CORE 
CPU_CORE2 
CPU_CORE2EXTREME 
CPU_COREI7 
CPU_COREWESTMERE 
CPU_LAST 

Definition at line 18 of file map.h.

19{
20 CPU_UNKNOWN = 0,
21 CPU_P6,
26 CPU_P4,
27 CPU_K7,
28 CPU_K8,
36};
@ 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

Function Documentation

◆ freebsd_number_of_events()

int freebsd_number_of_events ( int  processortype)

Definition at line 40 of file map.c.

41{
42 int counter = 0;
43
44 while (_papi_hwd_native_info[processortype].info[counter].name != NULL)
45 counter++;
46
47 return counter;
48}
Native_Event_Info_t _papi_hwd_native_info[CPU_LAST+1]
Definition: map.c:17
const char * name
Definition: rocs.c:225
Here is the caller graph for this function:

◆ init_freebsd_libpmc_mappings()

void init_freebsd_libpmc_mappings ( void  )

Definition at line 19 of file map.c.

20{
36
38}
Native_Event_LabelDescription_t AtomProcessor_info[]
Definition: map-atom.c:27
Native_Event_LabelDescription_t Core2ExtremeProcessor_info[]
Native_Event_LabelDescription_t Core2Processor_info[]
Definition: map-core2.c:30
Native_Event_LabelDescription_t CoreProcessor_info[]
Definition: map-core.c:27
Native_Event_LabelDescription_t i7Processor_info[]
Definition: map-i7.c:30
Native_Event_LabelDescription_t K7Processor_info[]
Definition: map-k7.c:28
Native_Event_LabelDescription_t K8Processor_info[]
Definition: map-k8.c:28
Native_Event_LabelDescription_t P4Processor_info[]
Definition: map-p4.c:28
Native_Event_LabelDescription_t P6_2_Processor_info[]
Definition: map-p6-2.c:27
Native_Event_LabelDescription_t P6_3_Processor_info[]
Definition: map-p6-3.c:27
Native_Event_LabelDescription_t P6_C_Processor_info[]
Definition: map-p6-c.c:27
Native_Event_LabelDescription_t P6_M_Processor_info[]
Definition: map-p6-m.c:27
Native_Event_LabelDescription_t P6Processor_info[]
Definition: map-p6.c:28
Native_Event_LabelDescription_t UnkProcessor_info[]
Definition: map-unknown.c:26
Native_Event_LabelDescription_t WestmereProcessor_info[]
Definition: map-westmere.c:30
Native_Event_LabelDescription_t * info
Definition: map.h:47
Here is the caller graph for this function:

Variable Documentation

◆ _papi_hwd_native_info

Native_Event_Info_t _papi_hwd_native_info[CPU_LAST+1]
extern

See other freebsd-map*.* for more details!

Definition at line 17 of file map.c.