|
ML
Version of the Day
|
Class to track time spent in an object. More...
#include <MLAPI_TimeObject.h>


Public Member Functions | |
| TimeObject () | |
| Constructor, set counter to 0.0. | |
| ~TimeObject () | |
| Destructor. | |
| void | ResetTimer () const |
| Resets the internal timer. | |
| void | UpdateTime () const |
| Updates the internal timer with the time spent since the last call to ResetTimer(). | |
| void | UpdateTime (double t) const |
Updates the internal timer with input value t. | |
| double | GetTime () const |
| Returns the internally stored counter. | |
Protected Attributes | |
| Epetra_Time | Time_ |
| Object used to track time. | |
| double | TotalTime_ |
| Internal counter. | |
Class to track time spent in an object.
1.8.5