ESYS13  Revision_
Classes | Defines | Typedefs | Functions
performance.h File Reference

Go to the source code of this file.

Classes

struct  Paso_Performance

Defines

#define PERFORMANCE_UNMONITORED_EVENT   -1
#define PERFORMANCE_NUM_EVENTS   10 /* maximum number of events handled by PAPI */
#define PERFORMANCE_ALL   0
#define PERFORMANCE_SOLVER   1
#define PERFORMANCE_PRECONDITIONER_INIT   2
#define PERFORMANCE_PRECONDITIONER   3
#define PERFORMANCE_MVM   4
#define PERFORMANCE_ASSEMBLAGE   5
#define PERFORMANCE_UNKNOWN   6 /* more can be added here */
#define PERFORMANCE_NUM_MONITORS   PERFORMANCE_UNKNOWN+1
#define PERFORMANCE_UNUSED   -1
#define PERFORMANCE_CLOSED   0
#define PERFORMANCE_OPENED   1

Typedefs

typedef struct Paso_Performance Paso_Performance

Functions

void Performance_open (Paso_Performance *pp, int verbose)
int Performance_getEventIndex (Paso_Performance *pp, int event_id)
void Performance_close (Paso_Performance *pp, int verbose)
void Performance_startMonitor (Paso_Performance *pp, int monitor)
void Performance_stopMonitor (Paso_Performance *pp, int monitor)

Define Documentation

#define PERFORMANCE_ALL   0
#define PERFORMANCE_ASSEMBLAGE   5

Referenced by Performance_close().

#define PERFORMANCE_CLOSED   0
#define PERFORMANCE_MVM   4
#define PERFORMANCE_NUM_EVENTS   10 /* maximum number of events handled by PAPI */
#define PERFORMANCE_OPENED   1
#define PERFORMANCE_SOLVER   1
#define PERFORMANCE_UNKNOWN   6 /* more can be added here */
#define PERFORMANCE_UNUSED   -1

Typedef Documentation


Function Documentation

void Performance_close ( Paso_Performance pp,
int  verbose 
)
int Performance_getEventIndex ( Paso_Performance pp,
int  event_id 
)
void Performance_open ( Paso_Performance pp,
int  verbose 
)
void Performance_startMonitor ( Paso_Performance pp,
int  monitor 
)
void Performance_stopMonitor ( Paso_Performance pp,
int  monitor 
)