escript  Revision_
Classes | Namespaces | Defines | Functions
performance.h File Reference

Go to the source code of this file.

Classes

struct  paso::Performance

Namespaces

namespace  paso

Defines

#define PERFORMANCE_UNMONITORED_EVENT   -1
#define PERFORMANCE_NUM_EVENTS   10
#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
#define PERFORMANCE_NUM_MONITORS   PERFORMANCE_UNKNOWN+1
#define PERFORMANCE_UNUSED   -1
#define PERFORMANCE_CLOSED   0
#define PERFORMANCE_OPENED   1

Functions

void paso::Performance_open (Performance *pp, int verbose)
 sets up the monitoring process
int paso::Performance_getEventIndex (Performance *pp, int event_id)
 find the index of an event in the list of monitored events
void paso::Performance_close (Performance *pp, int verbose)
 shuts down the monitoring process
void paso::Performance_startMonitor (Performance *pp, int monitor)
 switches on a monitor
void paso::Performance_stopMonitor (Performance *pp, int monitor)
 switches off a monitor

Define Documentation

#define PERFORMANCE_ALL   0
#define PERFORMANCE_ASSEMBLAGE   5

Referenced by paso::Performance_close().

#define PERFORMANCE_CLOSED   0
#define PERFORMANCE_MVM   4
#define PERFORMANCE_NUM_EVENTS   10
#define PERFORMANCE_OPENED   1
#define PERFORMANCE_SOLVER   1
#define PERFORMANCE_UNKNOWN   6
#define PERFORMANCE_UNUSED   -1