TIMER Namespace Reference

Methods to measure ellapsed time. More...


Functions

void SetStartTime (void)
 Set the timers starting time.
double TimeElapsed (const struct timeval &time)
 Compute ellapsed time.
double TimeElapsed (void)
 Compute ellapsed time.


Detailed Description

Methods to measure ellapsed time.

In this namespace methods are defined to measure the time ellapsed between the methods called.

In diesem Namensbereich werden Methoden definiert, die es erlauben die Zeit zu messen die zwischen den Aufrufen der Methode vergangen ist.


Function Documentation

void TIMER::SetStartTime ( void   )  [inline]

Set the timers starting time.

This method takes the time when the method is called. TIMER::TimeElapsed returns the elapsed time since the call of this method. To reset the time call this method again.

Diese Methode nimmt die aktuelle Zeit wenn die Methode aufgerufen wird. TIMER::TimeElapsed liefert die seit dem Aufruf dieser Methode vergangene Zeit. Um die Zeit zurückzusetzen rufen sie diese Methode erneut auf.

See also:
TIMER::TimeElapsed

double TIMER::TimeElapsed ( const struct timeval &  time  )  [inline]

Compute ellapsed time.

This method returns the seconds elapsed since the call of the given time.

Diese methode liefert die Sekunden zurück, die seit der übergebenen Zeit vergangen sind.

Parameters:
time start time
Returns:
seconds since time

double TIMER::TimeElapsed ( void   )  [inline]

Compute ellapsed time.

This method returns the seconds elapsed since the call of TIMER::SetStartTime.

Diese methode liefert die Sekunden zurück, die seit dem Aufruf von TIMER::SetStartTime vergangen sind.

Returns:
Seconds since call of TIMER::SetSartTime
See also:
TIMER::SetStartTime



tams Tim Baier bhandlib v0.25
Generated Wed Aug 16 15:01:41 2006 by doxygen 1.4.7