High-resolution operating system timer used in profiling.
More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Core/Timer.h>
|
| HiresTimer () |
| Construct. Get the starting high-resolution clock value.
|
|
long long | GetUSec (bool reset) |
| 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:
- /home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Core/Timer.h
- /home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Core/Timer.cpp