pmp-library  1.0

A simple timer class. More...

#include <pmp/Timer.h>

Public Member Functions

 Timer ()
 Constructor.
 
void start ()
 Start time measurement.
 
void cont ()
 Continue measurement, accumulates elapased times.
 
Timerstop ()
 Stop time measurement, return elapsed time in ms.
 
double elapsed () const
 Return elapsed time in ms (watch has to be stopped).
 

Detailed Description

A simple timer class.