logEvent Class Reference

Routines for doing event logging/tracing of parallel codes using MPE. More...

#include <logEvent.h>

List of all members.

Public Types

enum  { undefinedState = -MAXINT }

Public Methods

 CLASS_PARAMETER (eventLog)
 The global parameter of the logging level.


Static Public Methods

void init ()
 Initializes the MPI event logging capability.

void open ()
 Opens an event file (event.alog or event.clog in the current default directory. More...

void close ()
 Writes and closes the log file. More...

int defineState (const char *description, const char *color)
 Defines a state to desplay in the log file. More...

void log_start (int stateNumber)
 Indicate the start of a state (states can be nested).

void log_end (int stateNumber)
 Indicate the end of a state.

void log_point (int stateNumber)
 Equivalent to log_start(stateNumber) followed by log_end(stateNumber).


Static Private Methods

void event (int eventNumber)
 Log event eventNumber.


Static Private Attributes

int numberOfStates
 Number of states that can be logged.


Detailed Description

Routines for doing event logging/tracing of parallel codes using MPE.


Member Function Documentation

void logEvent::close   [static]
 

Writes and closes the log file.

This can be quite slow, depending on the system.

int logEvent::defineState const char *    description,
const char *    color
[static]
 

Defines a state to desplay in the log file.

descrip is the name. color is an X windows color for the visualizer to use.

void logEvent::open   [static]
 

Opens an event file (event.alog or event.clog in the current default directory.

Call after calling init() but before any log_xxx calls.


The documentation for this class was generated from the following file: