basso::Stopwatch Class Reference

A class to perform cpu time tracking. More...

#include <Stopwatch.h>

List of all members.

Public Member Functions

 Stopwatch ()
virtual ~Stopwatch ()
Numeric Start ()
Numeric Read () const


Detailed Description

A class to perform cpu time tracking.

This class uses ctime so this may not be the most accurate. Works just like a three button stopwatch (lap)

Definition at line 31 of file Stopwatch.h.


Member Function Documentation

Numeric basso::Stopwatch::Start (  ) 

Starts the Stopwatch. If the Stopwatch was stoped it will start from that time

Definition at line 76 of file Stopwatch.h.

References Read().

Referenced by basso::pause().

Numeric basso::Stopwatch::Read (  )  const

Reads the Stopwatch.

Definition at line 102 of file Stopwatch.h.

References TPS.

Referenced by basso::operator<<(), basso::pause(), and Start().


The documentation for this class was generated from the following file:
Generated on Sat Jan 19 09:03:59 2008 for Basso by  doxygen 1.5.2