GitHub link
PMP
The Polygon Mesh Processing Library
Timer Class Reference

A simple timer class.

#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).