goblinTimer Class Reference
[Timers]

Module performance measurement. More...

#include <timers.h>


Public Member Functions

 goblinTimer (goblinTimer **=NULL) throw ()
 ~goblinTimer () throw ()
void Reset () throw (ERRejected)
bool Enable () throw ()
bool Disable () throw ()
double AccTime () const throw ()
double AvTime () const throw ()
double MaxTime () const throw ()
double MinTime () const throw ()
double PrevTime () const throw ()
double CurrTime () const throw ()
double ChildTime (TTimer tm) const throw ()
bool Enabled () const throw ()
bool FullInfo () const throw ()


Detailed Description

Module performance measurement.


Constructor & Destructor Documentation

goblinTimer goblinTimer **  = NULL  )  throw ()
 

~goblinTimer  )  throw ()
 


Member Function Documentation

double AccTime  )  const throw ()
 

Retrieve the running times, accumulated since the most recent Reset().

double AvTime  )  const throw ()
 

Retrieve the average running time since the most recent Reset().

double ChildTime TTimer  tm  )  const throw ()
 

Retrieve the relative running time of a global timer.

If this timer is enabled, the accumulated times since the most recent Enable() of this solver are returned. Otherwise, the times in the most recent Enable() / Disable() interval of this timer are counted.

double CurrTime  )  const throw ()
 

Retrieve the running time of a currently running measurement.

bool Disable  )  throw ()
 

Stop the time measurement, but only if the top nesting level has been reached.

Return values:
true If the timer actually is enabled

bool Enable  )  throw ()
 

Start the time measurement if it is not already running.

Return values:
true If the timer has not been already enabled

bool Enabled  )  const throw ()
 

Check if the time measurement is currently running.

bool FullInfo  )  const throw ()
 

Check if this timer can access a global timer list.

double MaxTime  )  const throw ()
 

Retrieve the maximum running time since the most recent Reset().

double MinTime  )  const throw ()
 

Retrieve the minimum running time since the most recent Reset().

double PrevTime  )  const throw ()
 

Retrieve the running time of the most recent, completed measurement.

void Reset  )  throw (ERRejected)
 

Reset the accumulated running times.