SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
High Resolution Timer class using C++11. More...
#include <HighResTimer.h>
Public Member Functions | |
HighResTimer () | |
void | start () |
void | stop () |
float | elapsedTimeInSec () |
float | elapsedTimeInMilliSec () |
int64_t | elapsedTimeInMicroSec () |
Static Public Member Functions | |
static void | callAfterSleep (int milliSec, const function< void(void)> &callbackFunc) |
Private Attributes | |
HighResTimePoint | _timePoint1 |
high precision start time point More... | |
HighResTimePoint | _timePoint2 |
high precision end time point More... | |
High Resolution Timer class using C++11.
High Resolution Timer that is able to measure the elapsed time with 1 micro-second accuracy.
Definition at line 30 of file HighResTimer.h.
|
inline |
Definition at line 33 of file HighResTimer.h.
|
inlinestatic |
Definition at line 41 of file HighResTimer.h.
|
inline |
Definition at line 39 of file HighResTimer.h.
|
inline |
Definition at line 38 of file HighResTimer.h.
|
inline |
Definition at line 37 of file HighResTimer.h.
|
inline |
Definition at line 35 of file HighResTimer.h.
|
inline |
Definition at line 36 of file HighResTimer.h.
|
private |
high precision start time point
Definition at line 54 of file HighResTimer.h.
|
private |
high precision end time point
Definition at line 55 of file HighResTimer.h.