|
typedef
high_resolution_clock::time_point | TimePoint |
|
|
TimePoint | m_startTime |
|
TimePoint | m_elapsedTime |
|
|
static TimePoint | m_gStartTime |
|
static TimePoint | m_gElapsedTime |
|
template<typename T >
T OdinAI::Timer::GetElapsedMillisec |
( |
| ) |
|
|
inline |
Time since last call to this or other functions, which also use elapsed time.
template<typename T >
T OdinAI::Timer::GetElapsedTime |
( |
| ) |
|
|
inline |
Elapsed time from last call to this function, or other functions which also use elapsed time.
- Returns
- Real number in seconds.
template<typename T >
static T OdinAI::Timer::GetGlobalElapsedMillisec |
( |
| ) |
|
|
inlinestatic |
Elapsed ticks from last call to this or other functions, which also use elapsed time..
template<typename T >
static T OdinAI::Timer::GetGlobalElapsedTime |
( |
| ) |
|
|
inlinestatic |
Elapsed time from last call to this function, or other functions which also use elapsed time.
- Returns
- Real number in seconds.
template<typename T >
static T OdinAI::Timer::GetGlobalMillisec |
( |
| ) |
|
|
inlinestatic |
Time since last reset of global clock.
template<typename T >
T OdinAI::Timer::GetMillisec |
( |
| ) |
|
|
inline |
Time since last reset of this instance.
template<typename T >
T OdinAI::Timer::GetTime |
( |
| ) |
|
|
inline |
Time since last reset of this instance.
static void OdinAI::Timer::GlobalReset |
( |
| ) |
|
|
inlinestatic |
static bool OdinAI::Timer::Init |
( |
| ) |
|
|
inlinestatic |
Initialize timer. NOTE: This function should only be called once!
void OdinAI::Timer::Reset |
( |
| ) |
|
|
inline |
Reset this instance of timer.
The documentation for this class was generated from the following file:
- E:/Development/Projects/OdinAI/Include/OdinAI/Timer.h