|
PAPI 7.1.0.0
|
This file has the source code for a component that enables PAPI-C to access hardware monitoring counters for BG/Q through the BGPM library. More...

Go to the source code of this file.
Data Structures | |
| struct | bgq_generic_events_t |
Macros | |
| #define | get_cycles GetTimeBase |
| #define | OPCODE_EVENT_CHUNK 8 |
Variables | |
| UPC_Lock_t | thdLocks [PAPI_MAX_LOCK] |
| papi_vector_t | _bgq_vectors |
| PAPI_os_info_t | _papi_os_info |
| static int | allocated_opcode_events = 0 |
| static int | num_opcode_events = 0 |
| static struct bgq_generic_events_t * | GenericEvent |
| papi_os_vector_t | _papi_os_vector |
Tested version of bgpm (early access)
Definition in file linux-bgq.c.
| #define get_cycles | ( | void | ) | GetTimeBase |
Definition at line 48 of file linux-bgq.c.
| #define OPCODE_EVENT_CHUNK 8 |
Definition at line 63 of file linux-bgq.c.
| int _bgq_allocate_registers | ( | EventSetInfo_t * | ESI | ) |
Definition at line 323 of file linux-bgq.c.
| int _bgq_cleanup_eventset | ( | hwd_control_state_t * | ctrl | ) |
Definition at line 351 of file linux-bgq.c.
| int _bgq_ctl | ( | hwd_context_t * | ctx, |
| int | code, | ||
| _papi_int_option_t * | option | ||
| ) |
Definition at line 895 of file linux-bgq.c.

| void _bgq_dispatch_timer | ( | int | signal, |
| hwd_siginfo_t * | info, | ||
| void * | uc | ||
| ) |
Definition at line 663 of file linux-bgq.c.

| int _bgq_get_dmem_info | ( | PAPI_dmem_info_t * | pDmemInfo | ) |
Definition at line 53 of file linux-bgq-memory.c.
| int _bgq_get_memory_info | ( | PAPI_hw_info_t * | pHwInfo, |
| int | pCPU_Type | ||
| ) |
Definition at line 33 of file linux-bgq-memory.c.


Definition at line 942 of file linux-bgq.c.

Definition at line 920 of file linux-bgq.c.

| int _bgq_get_system_info | ( | papi_mdi_t * | mdi | ) |
Definition at line 138 of file linux-bgq.c.

Definition at line 973 of file linux-bgq.c.

Definition at line 958 of file linux-bgq.c.

| int _bgq_init | ( | hwd_context_t * | ctx | ) |
Definition at line 234 of file linux-bgq.c.

Definition at line 990 of file linux-bgq.c.

| int _bgq_init_control_state | ( | hwd_control_state_t * | ptr | ) |
Definition at line 179 of file linux-bgq.c.

| int _bgq_multiplex | ( | hwd_control_state_t * | bgq_state | ) |
Definition at line 262 of file linux-bgq.c.


| int _bgq_ntv_code_to_bits | ( | unsigned int | EventCode, |
| hwd_register_t * | bits | ||
| ) |
Definition at line 1218 of file linux-bgq.c.
Definition at line 1192 of file linux-bgq.c.

Definition at line 1161 of file linux-bgq.c.
Definition at line 1235 of file linux-bgq.c.
Definition at line 1060 of file linux-bgq.c.
| int _bgq_read | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ptr, | ||
| long_long ** | dp, | ||
| int | flags | ||
| ) |
Definition at line 556 of file linux-bgq.c.

| int _bgq_reset | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ptr | ||
| ) |
Definition at line 588 of file linux-bgq.c.

| int _bgq_set_domain | ( | hwd_control_state_t * | cntrl, |
| int | domain | ||
| ) |
Definition at line 206 of file linux-bgq.c.
| int _bgq_set_overflow | ( | EventSetInfo_t * | ESI, |
| int | EventIndex, | ||
| int | threshold | ||
| ) |
Definition at line 776 of file linux-bgq.c.

| int _bgq_set_profile | ( | EventSetInfo_t * | ESI, |
| int | EventIndex, | ||
| int | threshold | ||
| ) |
Definition at line 858 of file linux-bgq.c.
| int _bgq_shutdown | ( | hwd_context_t * | ctx | ) |
Definition at line 620 of file linux-bgq.c.

| int _bgq_start | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ptr | ||
| ) |
Definition at line 499 of file linux-bgq.c.

| int _bgq_stop | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ptr | ||
| ) |
Definition at line 535 of file linux-bgq.c.

| int _bgq_stop_profiling | ( | ThreadInfo_t * | master, |
| EventSetInfo_t * | ESI | ||
| ) |
Definition at line 877 of file linux-bgq.c.
| int _bgq_update_control_state | ( | hwd_control_state_t * | ptr, |
| NativeInfo_t * | native, | ||
| int | count, | ||
| hwd_context_t * | ctx | ||
| ) |
Definition at line 377 of file linux-bgq.c.

| int _bgq_write | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | cntrl, | ||
| long_long * | from | ||
| ) |
Definition at line 643 of file linux-bgq.c.
| void _papi_hwd_lock | ( | int | lock | ) |
Definition at line 93 of file linux-bgq.c.
| void _papi_hwd_unlock | ( | int | lock | ) |
Definition at line 116 of file linux-bgq.c.
| int _papi_hwi_init_os | ( | void | ) |
Definition at line 1269 of file linux-bgq.c.
| void user_signal_handler | ( | int | hEvtSet, |
| uint64_t | address, | ||
| uint64_t | ovfVector, | ||
| const ucontext_t * | pContext | ||
| ) |
Definition at line 684 of file linux-bgq.c.


| papi_vector_t _bgq_vectors |
Definition at line 60 of file linux-bgq.c.
| PAPI_os_info_t _papi_os_info |
Definition at line 61 of file linux-bgq.c.
| papi_os_vector_t _papi_os_vector |
Definition at line 1351 of file linux-bgq.c.
|
static |
Definition at line 64 of file linux-bgq.c.
|
static |
Definition at line 75 of file linux-bgq.c.
|
static |
Definition at line 65 of file linux-bgq.c.
| UPC_Lock_t thdLocks[PAPI_MAX_LOCK] |
Definition at line 52 of file linux-bgq.c.