PAPI  5.0.1.0
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

Defines

#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) jagode@eecs.utk.edu

InfiniBand component

Tested version of OFED: 1.4

Definition in file linux-infiniband.h.


Define Documentation

#define __BUILD_VERSION_TAG__   1.2

Definition at line 27 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]
static int init_ib_port ( ib_port portdata) [static]
static int read_ib_counter ( ) [static]
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines