High-resolution operating system timer used in profiling.
More...
#include <Timer.h>
List of all members.
Public Member Functions |
| 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 Public Member Functions |
static bool | IsSupported () |
| Return if high-resolution timer is supported.
|
static long long | GetFrequency () |
| Return high-resolution timer frequency if supported.
|
Private Attributes |
long long | startTime_ |
| Starting clock value in CPU ticks.
|
Static Private Attributes |
static bool | supported |
| High-resolution timer support flag.
|
static long long | frequency |
| High-resolution timer frequency.
|
Detailed Description
High-resolution operating system timer used in profiling.
The documentation for this class was generated from the following files:
- D:/UrhoV122Source/Engine/Core/Timer.h
- D:/UrhoV122Source/Engine/Core/Timer.cpp