![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
A high-resolution timer, starts counting when created.
Binding of Ogre::Timer.
Definition at line 14 of file AngelOgre_Timer.h.
Public Member Functions | |
| Timer () | |
| Timer (const Timer &in other) | |
| Timer & | opAssign (const Timer &in other) |
| void | reset () |
| uint | getMilliseconds () |
| uint | getMicroseconds () |
| uint | getMillisecondsCPU () |
| uint | getMicrosecondsCPU () |
| AngelOgre::Timer::Timer | ( | ) |
Creates a timer and starts counting.
| AngelOgre::Timer::Timer | ( | const Timer &in | other | ) |
Creates a copy with the same start time.
| uint AngelOgre::Timer::getMicroseconds | ( | ) |
Wall-clock time since creation or last reset(), in microseconds.
| uint AngelOgre::Timer::getMicrosecondsCPU | ( | ) |
CPU (process) time since creation or last reset(), in microseconds.
| uint AngelOgre::Timer::getMilliseconds | ( | ) |
Wall-clock time since creation or last reset(), in milliseconds.
| uint AngelOgre::Timer::getMillisecondsCPU | ( | ) |
CPU (process) time since creation or last reset(), in milliseconds.
| void AngelOgre::Timer::reset | ( | ) |
Restarts counting from zero.