MyraMath
|
Simplistic timing class, might dispatch to platform specific timers depending upon environment. More...
#include <myramath/MYRAMATH_EXPORT.h>
Go to the source code of this file.
Classes | |
class | myra::Timer |
Measures elapsed time. More... | |
Functions | |
template<class Lambda > | |
double | myra::ticktock (const Lambda &f) |
Measures the time (in seconds) required to execute a given Lambda. | |
void | myra::sleep (double time) |
Sleeps for a user-specified duration of time (in seconds). | |
Simplistic timing class, might dispatch to platform specific timers depending upon environment.