Amesos Package Browser (Single Doxygen Collection)
Development
|
Amesos_Time: Container for timing information. More...
#include <Amesos_Time.h>
Public Member Functions | |
Amesos_Time () | |
Default constructor to create size timers. More... | |
virtual | ~Amesos_Time () |
Default destructor. More... | |
void | CreateTimer (const Epetra_Comm &Comm, int size=1) |
Initializes the Time object. More... | |
void | ResetTimer (const int timerID=0) |
Resets the internally stored time object. More... | |
int | AddTime (const std::string what, int dataID, const int timerID=0) |
Adds to field what the time elapsed since last call to ResetTimer(). More... | |
double | GetTime (const std::string what) const |
Gets the cumulative time using the string. More... | |
double | GetTime (const int dataID) const |
Gets the cumulative time using the dataID. More... | |
void | GetTiming (Teuchos::ParameterList &list) const |
Load up the current timing information into the parameter list. More... | |
Private Attributes | |
int | size_ |
Number of Epetra_Time objects allocated in this object. More... | |
Array< RCP< Epetra_Time > > | time_ |
Time object. More... | |
Array< Amesos_Time_Data > | data_ |
Fast accessable container for timing data. More... | |
Amesos_Time: Container for timing information.
Definition at line 56 of file Amesos_Time.h.
|
inline |
Default constructor to create size
timers.
Definition at line 61 of file Amesos_Time.h.
|
inlinevirtual |
Default destructor.
Definition at line 66 of file Amesos_Time.h.
|
inline |
Initializes the Time object.
Definition at line 70 of file Amesos_Time.h.
|
inline |
Resets the internally stored time object.
Definition at line 80 of file Amesos_Time.h.
|
inline |
Adds to field what
the time elapsed since last call to ResetTimer().
Definition at line 86 of file Amesos_Time.h.
|
inline |
Gets the cumulative time using the string.
Definition at line 108 of file Amesos_Time.h.
|
inline |
Gets the cumulative time using the dataID.
Definition at line 120 of file Amesos_Time.h.
|
inline |
Load up the current timing information into the parameter list.
Definition at line 130 of file Amesos_Time.h.
|
private |
Number of Epetra_Time objects allocated in this
object.
Definition at line 141 of file Amesos_Time.h.
|
private |
Time object.
Definition at line 144 of file Amesos_Time.h.
|
private |
Fast accessable container for timing data.
Definition at line 147 of file Amesos_Time.h.