sprint 1-alpha
|
#include <timer.h>
Inherits sprint::rtc.
Public Member Functions | |
void | start () |
Start Timer (Reset Timer) | |
double | getTime () const |
Return Timer Value. |
Cross platform high precision timer
sprint::timer t; t.start(); ... do something ... std::cout << "Elapsed " << t.getTime() << " seconds" << std::endl;