srchilite::StopWatch Class Reference

Records elapsed time. More...

#include <stopwatch.h>

List of all members.

Public Member Functions

 StopWatch ()
 constructs a StopWatch object by storing the current time (uses clock())
 ~StopWatch ()
 Upon destruction, prints the elapsed time in seconds, since the construction of this StopWatch.

Private Attributes

clock_t start


Detailed Description

Records elapsed time.
The documentation for this class was generated from the following files:

Generated on Sun Jun 14 18:23:26 2009 for Source-highlight Library by  doxygen 1.5.9