PAPI  5.4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
map.c File Reference
Include dependency graph for map.c:

Go to the source code of this file.

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]
 

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.