YourGameLib
|
time measure related functions More...
Functions | |
double | getClockPeriod () |
returns time clock period [seconds] (clock precision) | |
double | getDelta () |
returns time delta [seconds] since last cycle | |
double | getTime () |
returns (monotonic) time duration [seconds] since init | |
void | reset () |
resets the timing so time retrieved by getTime() starts at 0 again | |
time measure related functions
double yourgame::time::getClockPeriod | ( | ) |
returns time clock period [seconds] (clock precision)
double yourgame::time::getDelta | ( | ) |
returns time delta [seconds] since last cycle
double yourgame::time::getTime | ( | ) |
returns (monotonic) time duration [seconds] since init
void yourgame::time::reset | ( | ) |
resets the timing so time retrieved by getTime() starts at 0 again