PAPI  5.3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
linux-infiniband.h File Reference

This file has the source code for a component that enables PAPI-C to access hardware monitoring counters for InfiniBand devices through the 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. More...

Include dependency graph for linux-infiniband.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  STEALTIME_reg_alloc_t
 
struct  string_list
 
struct  ib_port
 
struct  INFINIBAND_control_state_t
 
struct  INFINIBAND_context_t
 

Macros

#define __BUILD_VERSION_TAG__   1.2
 
#define INFINIBAND_MAX_COUNTERS   100
 
#define INFINIBAND_MAX_COUNTER_TERMS   INFINIBAND_MAX_COUNTERS
 

Typedefs

typedef counter_info INFINIBAND_register_t
 
typedef counter_info INFINIBAND_native_event_entry_t
 
typedef counter_info INFINIBAND_reg_alloc_t
 

Functions

static void init_ib_counter ()
 
static int read_ib_counter ()
 
static int init_ib_port (ib_port *portdata)
 
static void addIBPort (const char *ca_name, umad_port_t *port)
 

Detailed Description

Author
Heike Jagode (in collaboration with Michael Kluge, TU Dresden) jagod.nosp@m.e@ee.nosp@m.cs.ut.nosp@m.k.ed.nosp@m.u

InfiniBand component

Tested version of OFED: 1.4

Definition in file linux-infiniband.h.

Macro Definition Documentation

#define __BUILD_VERSION_TAG__   1.2

Definition at line 27 of file linux-infiniband.h.

#define INFINIBAND_MAX_COUNTER_TERMS   INFINIBAND_MAX_COUNTERS

Definition at line 76 of file linux-infiniband.h.

#define INFINIBAND_MAX_COUNTERS   100

Definition at line 75 of file linux-infiniband.h.

Typedef Documentation

Definition at line 80 of file linux-infiniband.h.

Definition at line 78 of file linux-infiniband.h.

Function Documentation

static void addIBPort ( const char *  ca_name,
umad_port_t *  port 
)
static
static void init_ib_counter ( )
static

Here is the caller graph for this function:

static int init_ib_port ( ib_port portdata)
static
static int read_ib_counter ( )
static