|
PAPI
5.7.0.0
|
This file has the source code for a component that enables PAPI-C to access hardware monitoring counters for InfiniBand devices through the. More...

Go to the source code of this file.
Macros | |
| #define | infiniband_native_table subscriptions |
| #define | InitStruct(var, type) type var; memset(&var, 0, sizeof(type)) |
Variables | |
| void(* | _dl_non_dynamic_init )(void) |
| papi_vector_t | _infiniband_umad_vector |
InfiniBand component
Tested version of OFED: 1.4
OFED library. Since a new interface was introduced with OFED version 1.4 (released Dec 2008), the current InfiniBand component does not support OFED versions < 1.4.
Definition in file linux-infiniband_umad.c.
| #define infiniband_native_table subscriptions |
| #define InitStruct | ( | var, | |
| type | |||
| ) | type var; memset(&var, 0, sizeof(type)) |
|
static |
add a counter to the list of available counters
| name | the short name of the counter |
| desc | a longer description |
| unit | the unit for this counter |
Definition at line 157 of file linux-infiniband_umad.c.


|
static |
add one IB port to the list of available ports and add the counters related to this port to the global counter list
Definition at line 190 of file linux-infiniband_umad.c.

|
static |
find the pointer for a counter_info structure based on the counter name
Definition at line 357 of file linux-infiniband_umad.c.


|
static |
delete a list of strings
Definition at line 525 of file linux-infiniband_umad.c.


|
static |
finalizes the library
Definition at line 485 of file linux-infiniband_umad.c.

|
static |
return a newly allocated list of strings containing all counter names
Definition at line 452 of file linux-infiniband_umad.c.


| void host_read_values | ( | long long * | data | ) |
Definition at line 338 of file linux-infiniband_umad.c.


|
static |
allow external code to subscribe to a counter based on the counter name
Definition at line 393 of file linux-infiniband_umad.c.


| int INFINIBAND_ctl | ( | hwd_context_t * | ctx, |
| int | code, | ||
| _papi_int_option_t * | option | ||
| ) |
Definition at line 803 of file linux-infiniband_umad.c.
| int INFINIBAND_init_component | ( | int | cidx | ) |
Definition at line 585 of file linux-infiniband_umad.c.

| int INFINIBAND_init_control_state | ( | hwd_control_state_t * | ctrl | ) |
Definition at line 703 of file linux-infiniband_umad.c.
| int INFINIBAND_init_thread | ( | hwd_context_t * | ctx | ) |
Definition at line 548 of file linux-infiniband_umad.c.

| int INFINIBAND_ntv_code_to_bits | ( | unsigned int | EventCode, |
| hwd_register_t * | bits | ||
| ) |
Definition at line 913 of file linux-infiniband_umad.c.
| int INFINIBAND_ntv_code_to_descr | ( | unsigned int | EventCode, |
| char * | name, | ||
| int | len | ||
| ) |
Definition at line 901 of file linux-infiniband_umad.c.
| int INFINIBAND_ntv_code_to_name | ( | unsigned int | EventCode, |
| char * | name, | ||
| int | len | ||
| ) |
Definition at line 889 of file linux-infiniband_umad.c.
| int INFINIBAND_ntv_enum_events | ( | unsigned int * | EventCode, |
| int | modifier | ||
| ) |
Definition at line 865 of file linux-infiniband_umad.c.
| int INFINIBAND_read | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ctrl, | ||
| long_long ** | events, | ||
| int | flags | ||
| ) |
Definition at line 753 of file linux-infiniband_umad.c.

| int INFINIBAND_reset | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ctrl | ||
| ) |
Definition at line 854 of file linux-infiniband_umad.c.

| int INFINIBAND_set_domain | ( | hwd_control_state_t * | cntrl, |
| int | domain | ||
| ) |
Definition at line 840 of file linux-infiniband_umad.c.
| int INFINIBAND_shutdown_component | ( | void | ) |
Definition at line 788 of file linux-infiniband_umad.c.
| int INFINIBAND_shutdown_thread | ( | hwd_context_t * | ctx | ) |
| int INFINIBAND_start | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ctrl | ||
| ) |
Definition at line 714 of file linux-infiniband_umad.c.


| int INFINIBAND_stop | ( | hwd_context_t * | ctx, |
| hwd_control_state_t * | ctrl | ||
| ) |
Definition at line 732 of file linux-infiniband_umad.c.

| int INFINIBAND_update_control_state | ( | hwd_control_state_t * | ptr, |
| NativeInfo_t * | native, | ||
| int | count, | ||
| hwd_context_t * | ctx | ||
| ) |
Definition at line 819 of file linux-infiniband_umad.c.
|
static |
initialize one IB port so that we are able to read values from it
Definition at line 235 of file linux-infiniband_umad.c.


|
static |
Definition at line 622 of file linux-infiniband_umad.c.

|
static |
read and reset IB counters (reset on demand)
Definition at line 284 of file linux-infiniband_umad.c.


| void(* _dl_non_dynamic_init) (void) |
use libumad to discover IB ports
Definition at line 36 of file linux-infiniband_umad.c.
| papi_vector_t _infiniband_umad_vector |
Definition at line 926 of file linux-infiniband_umad.c.