PAPI  5.7.0.0
linux-infiniband_umad.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. More...

Include dependency graph for linux-infiniband_umad.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

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.h.

Macro Definition Documentation

◆ __BUILD_VERSION_TAG__

#define __BUILD_VERSION_TAG__   1.2

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

◆ INFINIBAND_MAX_COUNTER_TERMS

#define INFINIBAND_MAX_COUNTER_TERMS   INFINIBAND_MAX_COUNTERS

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

◆ INFINIBAND_MAX_COUNTERS

#define INFINIBAND_MAX_COUNTERS   100

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

Typedef Documentation

◆ INFINIBAND_native_event_entry_t

◆ INFINIBAND_reg_alloc_t

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

◆ INFINIBAND_register_t

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

Function Documentation

◆ addIBPort()

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

◆ init_ib_counter()

static void init_ib_counter ( )
static
Here is the caller graph for this function:

◆ init_ib_port()

static int init_ib_port ( ib_port portdata)
static

◆ read_ib_counter()

static int read_ib_counter ( )
static