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.

00019 {
00020     CPU_UNKNOWN = 0,
00021     CPU_P6,
00022     CPU_P6_C,
00023     CPU_P6_2,
00024     CPU_P6_3,
00025     CPU_P6_M,
00026     CPU_P4,
00027     CPU_K7,
00028     CPU_K8,
00029     CPU_ATOM,
00030     CPU_CORE,
00031     CPU_CORE2,
00032     CPU_CORE2EXTREME,
00033     CPU_COREI7,
00034     CPU_COREWESTMERE,
00035     CPU_LAST
00036 };


Function Documentation

int freebsd_number_of_events ( int  processortype  ) 

Definition at line 40 of file map.c.

00041 {
00042     int counter = 0;
00043 
00044     while (_papi_hwd_native_info[processortype].info[counter].name != NULL)
00045         counter++;
00046 
00047     return counter;
00048 }

Here is the caller graph for this function:

void init_freebsd_libpmc_mappings ( void   ) 

Variable Documentation

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

Definition at line 17 of file map.c.


Generated on 26 Jan 2016 for PAPI by  doxygen 1.6.1