PAPI  5.0.1.0
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.


Function Documentation

int freebsd_number_of_events ( int  processortype)

Definition at line 40 of file map.c.

{
    int counter = 0;

    while (_papi_hwd_native_info[processortype].info[counter].name != NULL)
        counter++;

    return counter;
}

Here is the caller graph for this function:


Variable Documentation

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

Definition at line 17 of file map.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines