HL::Timer Class Reference

#include <timer.h>

List of all members.

Public Member Functions

 Timer (void)
 Initializes the timer.
void start (void)
 Start the timer.
void stop (void)
 Stop the timer.
void reset (void)
 Reset the timer.
 operator double (void)
 Return the number of seconds elapsed.

Static Public Member Functions

static double currentTime (void)

Private Types

typedef long TimeType

Static Private Member Functions

static TimeType _time (void)
static double _timetosec (TimeType t)
static TimeType _sectotime (double sec)

Private Attributes

TimeType _starttime
TimeType _elapsedtime

Member Typedef Documentation

typedef long HL::Timer::TimeType [private]

Constructor & Destructor Documentation

HL::Timer::Timer ( void   )  [inline]

Initializes the timer.


Member Function Documentation

static TimeType HL::Timer::_sectotime ( double  sec  )  [inline, static, private]
static TimeType HL::Timer::_time ( void   )  [inline, static, private]
static double HL::Timer::_timetosec ( TimeType  t  )  [inline, static, private]
static double HL::Timer::currentTime ( void   )  [inline, static]
HL::Timer::operator double ( void   )  [inline]

Return the number of seconds elapsed.

void HL::Timer::reset ( void   )  [inline]

Reset the timer.

void HL::Timer::start ( void   )  [inline]

Start the timer.

void HL::Timer::stop ( void   )  [inline]

Stop the timer.


Member Data Documentation


The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:31 2011 for Galois by  doxygen 1.6.3