gml_TTimer Class Reference

#include <gml_Timer.h>

Collaboration diagram for gml_TTimer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Timer objects with fine granularity.


Public Member Functions

gml_TError Init ()
 Call Reset ().
void Dispose ()
 Do nothing.
void Reset ()
 Zero accumulated time.
void Mark ()
 Mark the current time.
UInt64 Get ()
 Return the accumulated time.
UInt64 Lap ()
 Return the time elapsed since the last time mark, < add it to the accumulated time, < and mark the current time.

Static Public Member Functions

static UInt64 Time ()
 return the current absolute time

Protected Attributes

UInt64 fAccumulator
 accumulated time
UInt64 fTimeStamp
 last marked time

The documentation for this class was generated from the following files:
  • base/gml_Timer.h
  • base/gml_Timer.cc
  • base/gml_Timer_MacOSX.cc
  • base/gml_Timer_Unix.cc
Generated on Tue Jun 12 14:03:28 2007 for gml by Doxygen 1.5.2.