Amesos
Development
|
Amesos_Time: Container for timing information. More...
#include <Amesos_Time.h>
Public Member Functions | |
Amesos_Time () | |
Default constructor to create size timers. | |
virtual | ~Amesos_Time () |
Default destructor. | |
void | CreateTimer (const Epetra_Comm &Comm, int size=1) |
Initializes the Time object. | |
void | ResetTimer (const int timerID=0) |
Resets the internally stored time object. | |
int | AddTime (const std::string what, int dataID, const int timerID=0) |
Adds to field what the time elapsed since last call to ResetTimer(). | |
double | GetTime (const std::string what) const |
Gets the cumulative time using the string. | |
double | GetTime (const int dataID) const |
Gets the cumulative time using the dataID. | |
void | GetTiming (Teuchos::ParameterList &list) const |
Load up the current timing information into the parameter list. | |
Amesos_Time: Container for timing information.