MLAPI::TimeObject Class Reference

Class to track time spent in an object. More...

#include <MLAPI_TimeObject.h>

Inheritance diagram for MLAPI::TimeObject:

[legend]
Collaboration diagram for MLAPI::TimeObject:
[legend]
List of all members.

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.

Detailed Description

Class to track time spent in an object.

Author:
Marzio Sala, SNL 9214
Date:
Last updated on Feb-05.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:38:46 2008 for ML by doxygen 1.3.9.1