sparkle::Timer Class Reference
[Sparkle Helper Library]

System clock timer class. More...

#include <timer.h>

List of all members.

Public Member Functions

 Timer ()
void restart ()
double elapsed () const


Detailed Description

System clock timer class.

A timer similar to boost::timer but instead of counting processor ticks used to run this program, instead counts absolute time using the system clock


Constructor & Destructor Documentation

Timer::Timer  ) 
 

Constructor

Postcondition:
elapsed() == 0
Todo:
Link post conds to attributes


Member Function Documentation

void Timer::restart  ) 
 

Restart timer

Postcondition:
elapsed() == 0
Todo:
Link post conds to attributes

double Timer::elapsed  )  const
 

System time elapsed since timer started

Returns:
System time elapsed in seconds


Hosted by SourceForge.net Logo Generated on Sat Sep 16 01:51:09 2006 for Sparkle by Doxygen 1.4.6.