29 #ifndef __PASO_PERFORMANCE_H__ 30 #define __PASO_PERFORMANCE_H__ 38 #define PERFORMANCE_UNMONITORED_EVENT -1 39 #define PERFORMANCE_NUM_EVENTS 10 // maximum number of events handled by PAPI 41 #define PERFORMANCE_ALL 0 42 #define PERFORMANCE_SOLVER 1 43 #define PERFORMANCE_PRECONDITIONER_INIT 2 44 #define PERFORMANCE_PRECONDITIONER 3 45 #define PERFORMANCE_MVM 4 46 #define PERFORMANCE_ASSEMBLAGE 5 47 #define PERFORMANCE_UNKNOWN 6 // more can be added here 48 #define PERFORMANCE_NUM_MONITORS PERFORMANCE_UNKNOWN+1 50 #define PERFORMANCE_UNUSED -1 51 #define PERFORMANCE_CLOSED 0 52 #define PERFORMANCE_OPENED 1 81 #endif // __PASO_PERFORMANCE_H__
void Performance_open(Performance *pp, int verbose)
sets up the monitoring process
Definition: performance.cpp:35
int Performance_getEventIndex(Performance *pp, int event_id)
find the index of an event in the list of monitored events
Definition: performance.cpp:81
void Performance_startMonitor(Performance *pp, int monitor)
switches on a monitor
Definition: performance.cpp:162
void Performance_close(Performance *pp, int verbose)
shuts down the monitoring process
Definition: performance.cpp:92
void Performance_stopMonitor(Performance *pp, int monitor)
switches off a monitor
Definition: performance.cpp:181