solaris-niagara2.h File Reference

Include dependency graph for solaris-niagara2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _niagara2_register_t
struct  _niagara2_control_state_t

Defines

#define MAX_COUNTERS   2
#define MAX_COUNTER_TERMS   MAX_COUNTERS
#define PAPI_MAX_NATIVE_EVENTS   71
#define MAX_NATIVE_EVENT   PAPI_MAX_NATIVE_EVENTS
#define BUF_T0   0
#define BUF_T1   1
#define EVENT_NOT_SET   -1;
#define SYNTHETIC_EVENTS_SUPPORTED   1
#define GET_OVERFLOW_ADDRESS(ctx)   (void*)(ctx->ucontext->uc_mcontext.gregs[REG_PC])
#define _papi_hwd_lock(lck)   rw_wrlock(&lock[lck]);
#define _papi_hwd_unlock(lck)   rw_unlock(&lock[lck]);
#define DEFAULT_CNTR_PRESET   (0)
#define NOT_A_PAPI_HWD_READ   -666
#define CPC_COUNTING_DOMAINS   (CPC_COUNT_USER|CPC_COUNT_SYSTEM|CPC_COUNT_HV)
#define EVENT_NOT_SET   -1;
#define hwd_context_t   _niagara2_context_t
#define hwd_control_state_t   _niagara2_control_state_t
#define hwd_register_t   _niagara2_register_t

Typedefs

typedef int niagara2_reg_alloc_t
typedef int hwd_register_map_t
typedef _niagara2_control_state_t _niagara2_context_t

Variables

rwlock_t lock [PAPI_MAX_LOCK]

Define Documentation

#define _papi_hwd_lock ( lck   )     rw_wrlock(&lock[lck]);

Definition at line 140 of file solaris-niagara2.h.

#define _papi_hwd_unlock ( lck   )     rw_unlock(&lock[lck]);

Definition at line 141 of file solaris-niagara2.h.

#define BUF_T0   0

Definition at line 79 of file solaris-niagara2.h.

#define BUF_T1   1

Definition at line 80 of file solaris-niagara2.h.

#define CPC_COUNTING_DOMAINS   (CPC_COUNT_USER|CPC_COUNT_SYSTEM|CPC_COUNT_HV)

Definition at line 145 of file solaris-niagara2.h.

#define DEFAULT_CNTR_PRESET   (0)

Definition at line 143 of file solaris-niagara2.h.

#define EVENT_NOT_SET   -1;

Definition at line 146 of file solaris-niagara2.h.

#define EVENT_NOT_SET   -1;

Definition at line 146 of file solaris-niagara2.h.

#define GET_OVERFLOW_ADDRESS ( ctx   )     (void*)(ctx->ucontext->uc_mcontext.gregs[REG_PC])

Definition at line 128 of file solaris-niagara2.h.

Definition at line 150 of file solaris-niagara2.h.

Definition at line 153 of file solaris-niagara2.h.

Definition at line 156 of file solaris-niagara2.h.

#define MAX_COUNTER_TERMS   MAX_COUNTERS

Definition at line 66 of file solaris-niagara2.h.

#define MAX_COUNTERS   2

COPIED ITEMS FROM THE OLD PORT TO SOLARIS //////////////////////////////////

Definition at line 65 of file solaris-niagara2.h.

#define MAX_NATIVE_EVENT   PAPI_MAX_NATIVE_EVENTS

Definition at line 68 of file solaris-niagara2.h.

#define NOT_A_PAPI_HWD_READ   -666

Definition at line 144 of file solaris-niagara2.h.

#define PAPI_MAX_NATIVE_EVENTS   71

Definition at line 67 of file solaris-niagara2.h.

#define SYNTHETIC_EVENTS_SUPPORTED   1

Definition at line 84 of file solaris-niagara2.h.


Typedef Documentation

Definition at line 134 of file solaris-niagara2.h.

typedef int hwd_register_map_t

Definition at line 130 of file solaris-niagara2.h.

typedef int niagara2_reg_alloc_t

Definition at line 70 of file solaris-niagara2.h.


Variable Documentation

rwlock_t lock[PAPI_MAX_LOCK]

Definition at line 137 of file solaris-niagara2.h.


Generated on 26 Jan 2016 for PAPI by  doxygen 1.6.1