1 #ifndef _PAPI_SOLARIS_ULTRA_H 2 #define _PAPI_SOLARIS_ULTRA_H 18 #include <sys/times.h> 20 #include <sys/types.h> 21 #include <sys/processor.h> 22 #include <sys/procset.h> 27 #include "papi_defines.h" 29 #define MAX_COUNTERS 2 30 #define MAX_COUNTER_TERMS MAX_COUNTERS 31 #define PAPI_MAX_NATIVE_EVENTS 71 32 #define MAX_NATIVE_EVENT PAPI_MAX_NATIVE_EVENTS 33 #define MAX_NATIVE_EVENT_USII 22 37 #undef hwd_control_state_t 38 #undef hwd_reg_alloc_t 45 typedef struct US_register
50 typedef struct papi_cpc_event
58 typedef struct hwd_control_state
68 typedef struct _native_info
83 extern unsigned long long get_tick(
void );
88 #define _papi_hwd_lock(lck) rw_wrlock(&lock[lck]); 90 #define _papi_hwd_unlock(lck) rw_unlock(&lock[lck]);
#define hwd_control_state_t
unsigned long long get_tick(void)
rwlock_t lock[PAPI_MAX_LOCK]
papi_cpc_event_t counter_cmd