|
PAPI 7.1.0.0
|
This file has the source code for a component that enables PAPI-C to access hardware power data for BG/Q through the EMON interface. More...

Go to the source code of this file.
Data Structures | |
| struct | EMON_register_t |
| struct | EMON_native_event_entry_t |
| struct | EMON_reg_alloc_t |
| struct | EMON_overflow_t |
| struct | EMON_control_state_t |
| struct | EMON_context_t |
Macros | |
| #define | EMON_DEFINE_GLOBALS |
| #define | EMON_MAX_COUNTERS 8 |
| #define | EMON_TOTAL_EVENTS 8 |
| #define | EMONDBG(fmt, args...) do { printf("%s:%d\t"fmt, __func__, __LINE__, ##args); } while(0) |
Variables | |
| papi_vector_t | _emon2_vector |
| static EMON_native_event_entry_t | EMON_native_table [] |
| papi_vector_t | _emon_vector |
Definition in file linux-emon.c.
| #define EMON_DEFINE_GLOBALS |
Definition at line 24 of file linux-emon.c.
| #define EMON_MAX_COUNTERS 8 |
Definition at line 28 of file linux-emon.c.
| #define EMON_TOTAL_EVENTS 8 |
Definition at line 29 of file linux-emon.c.
| #define EMONDBG | ( | fmt, | |
| args... | |||
| ) | do { printf("%s:%d\t"fmt, __func__, __LINE__, ##args); } while(0) |
Definition at line 34 of file linux-emon.c.
|
static |
Definition at line 88 of file linux-emon.c.

|
static |
Definition at line 214 of file linux-emon.c.


| int EMON_cleanup_eventset | ( | hwd_control_state_t * | ctrl | ) |
Definition at line 379 of file linux-emon.c.
| int EMON_ctl | ( | hwd_context_t * | ctx, |
| int | code, | ||
| _papi_int_option_t * | option | ||
| ) |
Definition at line 364 of file linux-emon.c.
Definition at line 177 of file linux-emon.c.

| int EMON_init_control_state | ( | hwd_control_state_t * | ptr | ) |
Definition at line 203 of file linux-emon.c.
| int EMON_init_thread | ( | hwd_context_t * | ctx | ) |
Definition at line 163 of file linux-emon.c.
| int EMON_ntv_code_to_bits | ( | unsigned int | EventCode, |
| hwd_register_t * | bits | ||
| ) |
Definition at line 552 of file linux-emon.c.
Definition at line 530 of file linux-emon.c.
| int EMON_ntv_code_to_info | ( | unsigned int | EventCode, |
| PAPI_event_info_t * | info | ||
| ) |
Definition at line 561 of file linux-emon.c.
Definition at line 496 of file linux-emon.c.
Definition at line 462 of file linux-emon.c.
Definition at line 517 of file linux-emon.c.
| int EMON_read | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ptr, | ||
| long long ** | events, | ||
| int | flags | ||
| ) |
Definition at line 324 of file linux-emon.c.

| int EMON_reset | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ptr | ||
| ) |
Definition at line 443 of file linux-emon.c.
| int EMON_set_domain | ( | hwd_control_state_t * | cntrl, |
| int | domain | ||
| ) |
Definition at line 427 of file linux-emon.c.
| int EMON_shutdown_component | ( | void | ) |
Definition at line 352 of file linux-emon.c.
| int EMON_shutdown_thread | ( | hwd_context_t * | ctx | ) |
Definition at line 343 of file linux-emon.c.
| int EMON_start | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ptr | ||
| ) |
Definition at line 295 of file linux-emon.c.
| int EMON_stop | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ptr | ||
| ) |
Definition at line 310 of file linux-emon.c.

| int EMON_update_control_state | ( | hwd_control_state_t * | ptr, |
| NativeInfo_t * | native, | ||
| int | count, | ||
| hwd_context_t * | ctx | ||
| ) |
Definition at line 394 of file linux-emon.c.
| papi_vector_t _emon2_vector |
Definition at line 86 of file linux-emon.c.
| papi_vector_t _emon_vector |
Definition at line 585 of file linux-emon.c.
|
static |
This table contains the native events So with the EMON interface, we get every domain at a time.
Definition at line 101 of file linux-emon.c.