Inheritance diagram for Epetra_Time:
Public Member Functions
|Epetra_Time (const Epetra_Comm &Comm)|
|Epetra_Time Constructor. |
|Epetra_Time (const Epetra_Time &Time)|
|Epetra_Time Copy Constructor. |
|double||WallTime (void) const|
|Epetra_Time wall-clock time function. |
|Epetra_Time function to reset the start time for a timer object. |
|double||ElapsedTime (void) const|
|Epetra_Time elapsed time function. |
|Epetra_Time Destructor. |
|Epetra_Time &||operator= (const Epetra_Time &src)|
The Epetra_Time class is a wrapper that encapsulates the general information needed getting timing information. Currently it return the elapsed time for each calling processor.. A Epetra_Comm object is required for building all Epetra_Time objects.
Epetra_Time support both serial execution and (via MPI) parallel distributed memory execution. It is meant to insulate the user from the specifics of timing across a variety of platforms.
|Epetra_Time::Epetra_Time||(||const Epetra_Comm &||Comm||)|
|Epetra_Time::Epetra_Time||(||const Epetra_Time &||Time||)|
Epetra_Time elapsed time function.
Returns the elapsed time in seconds since the timer object was constructed, or since the ResetStartTime function was called. A code section can be timed by putting it between the Epetra_Time constructor and a call to ElapsedTime, or between a call to ResetStartTime and ElapsedTime.
Epetra_Time function to reset the start time for a timer object.
Resets the start time for the timer object to the current time A code section can be timed by putting it between a call to ResetStartTime and ElapsedTime.
Epetra_Time wall-clock time function.
Returns the wall-clock time in seconds. A code section can be timed by putting it between two calls to WallTime and taking the difference of the times.