High-resolution operating system timer used in profiling.
More...
#include <Urho3D/Core/Timer.h>
|
| HiresTimer () |
| Construct. Get the starting high-resolution clock value.
|
|
long long | GetUSec (bool reset=false) |
| Return elapsed microseconds and optionally reset.
|
|
void | Reset () |
| Reset the timer.
|
|
|
static bool | IsSupported () |
| Return if high-resolution timer is supported.
|
|
static long long | GetFrequency () |
| Return high-resolution timer frequency if supported.
|
|
|
long long | startTime_ {} |
| Starting clock value in CPU ticks.
|
|
|
static bool | supported |
| High-resolution timer support flag.
|
|
static long long | frequency |
| High-resolution timer frequency.
|
|
High-resolution operating system timer used in profiling.
The documentation for this class was generated from the following files:
- Urho3D/Core/Timer.h
- Urho3D/Core/Timer.cpp