PAPI 7.1.0.0
Loading...
Searching...
No Matches
linux-powercap-ppc.h File Reference
Include dependency graph for linux-powercap-ppc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _powercap_ppc_register_t
 
struct  _powercap_ppc_native_event_entry_t
 
struct  _powercap_ppc_reg_alloc_t
 
struct  _powercap_ppc_control_state_t
 
struct  _powercap_ppc_context_t
 

Macros

#define papi_powercap_ppc_lock()   _papi_hwi_lock(COMPONENT_LOCK);
 
#define papi_powercap_ppc_unlock()   _papi_hwi_unlock(COMPONENT_LOCK);
 
#define PKG_MIN_POWER   0
 
#define PKG_MAX_POWER   1
 
#define PKG_CUR_POWER   2
 
#define PKG_NUM_EVENTS   3
 
#define POWERCAP_MAX_COUNTERS   (PKG_NUM_EVENTS)
 

Macro Definition Documentation

◆ papi_powercap_ppc_lock

#define papi_powercap_ppc_lock ( )    _papi_hwi_lock(COMPONENT_LOCK);

Definition at line 28 of file linux-powercap-ppc.h.

◆ papi_powercap_ppc_unlock

#define papi_powercap_ppc_unlock ( )    _papi_hwi_unlock(COMPONENT_LOCK);

Definition at line 29 of file linux-powercap-ppc.h.

◆ PKG_CUR_POWER

#define PKG_CUR_POWER   2

Definition at line 55 of file linux-powercap-ppc.h.

◆ PKG_MAX_POWER

#define PKG_MAX_POWER   1

Definition at line 54 of file linux-powercap-ppc.h.

◆ PKG_MIN_POWER

#define PKG_MIN_POWER   0

Definition at line 53 of file linux-powercap-ppc.h.

◆ PKG_NUM_EVENTS

#define PKG_NUM_EVENTS   3

Definition at line 57 of file linux-powercap-ppc.h.

◆ POWERCAP_MAX_COUNTERS

#define POWERCAP_MAX_COUNTERS   (PKG_NUM_EVENTS)

Definition at line 58 of file linux-powercap-ppc.h.