Polygon Mesh Processing Library
Loading...
Searching...
No Matches
StopWatch Class Reference

A simple stop watch class. More...

#include <pmp/stop_watch.h>

Public Member Functions

void start ()
 Start time measurement.
 
void resume ()
 Continue measurement, accumulates elapsed times.
 
StopWatch & stop ()
 Stop time measurement.
 
double elapsed () const
 Return elapsed time in ms (watch has to be stopped).
 

Detailed Description

A simple stop watch class.