Low-resolution operating system timer. More...

#include <Urho3D/Core/Timer.h>

Public Member Functions

 Timer ()
 Construct. Get the starting clock value.
 
unsigned GetMSec (bool reset)
 Return elapsed milliseconds and optionally reset.
 
void Reset ()
 Reset the timer.
 

Private Attributes

unsigned startTime_ {}
 Starting clock value in milliseconds.
 

Detailed Description

Low-resolution operating system timer.


The documentation for this class was generated from the following files:
  • Source/Urho3D/Core/Timer.h
  • Source/Urho3D/Core/Timer.cpp