Simple timer class based on gettimeofday (POSIX) or QueryPerformanceCounter (Windows). More...
#include <timer.hpp>
Public Member Functions | |
| timer () | |
| void | start () |
| double | get () const |
Simple timer class based on gettimeofday (POSIX) or QueryPerformanceCounter (Windows).
Avoids messing with Boost and should be sufficient for benchmarking purposes.
|
inline |
|
inline |