PAPI  5.3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
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,
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,
33  CPU_COREI7,
35  CPU_LAST
36 };
Definition: map.h:28
Definition: map.h:30
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

Function Documentation

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
char * name
Definition: iozone.c:23648

Here is the caller graph for this function:

void init_freebsd_libpmc_mappings ( void  )

Definition at line 19 of file map.c.

20 {
36 
38 }
Definition: map.h:28
Native_Event_LabelDescription_t * info
Definition: map.h:47
Native_Event_LabelDescription_t Core2Processor_info[]
Definition: map-core2.c:30
Definition: map.h:30
Native_Event_Info_t _papi_hwd_native_info[CPU_LAST+1]
Definition: map.c:17
Native_Event_LabelDescription_t AtomProcessor_info[]
Definition: map-atom.c:27
Native_Event_LabelDescription_t K7Processor_info[]
Definition: map-k7.c:28
Native_Event_LabelDescription_t P6_M_Processor_info[]
Definition: map-p6-m.c:27
Native_Event_LabelDescription_t K8Processor_info[]
Definition: map-k8.c:28
Definition: map.h:31
Native_Event_LabelDescription_t Core2ExtremeProcessor_info[]
Definition: map.h:26
Native_Event_LabelDescription_t P6_C_Processor_info[]
Definition: map-p6-c.c:27
Definition: map.h:27
Native_Event_LabelDescription_t i7Processor_info[]
Definition: map-i7.c:30
Native_Event_LabelDescription_t P6_3_Processor_info[]
Definition: map-p6-3.c:27
Definition: map.h:25
Definition: map.h:22
Definition: map.h:23
Native_Event_LabelDescription_t WestmereProcessor_info[]
Definition: map-westmere.c:30
Native_Event_LabelDescription_t UnkProcessor_info[]
Definition: map-unknown.c:26
Definition: map.h:24
Definition: map.h:35
Native_Event_LabelDescription_t P6Processor_info[]
Definition: map-p6.c:28
Native_Event_LabelDescription_t P6_2_Processor_info[]
Definition: map-p6-2.c:27
Definition: map.h:33
Definition: map.h:29
Native_Event_LabelDescription_t P4Processor_info[]
Definition: map-p4.c:28
Native_Event_LabelDescription_t CoreProcessor_info[]
Definition: map-core.c:27
Definition: map.h:21

Here is the caller graph for this function:

Variable Documentation

Native_Event_Info_t _papi_hwd_native_info[CPU_LAST+1]

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

Definition at line 17 of file map.c.