PlatformTimer

Engine/source/platform/platformTimer.h

Platform-specific timer class.

More...

Protected Functions

Public Functions

Get the number of MS that have elapsed since creation or the last reset call.

Reset elapsed ms back to zero.

Public Static Functions

Detailed Description

Platform-specific timer class.

This exists primarily as support for the TimeManager, but may be useful elsewhere.

Protected Functions

PlatformTimer()

Public Functions

~PlatformTimer()

getElapsedMs()

Get the number of MS that have elapsed since creation or the last reset call.

Reimplemented by: DefaultPlatformTimer, Win32Timer

reset()

Reset elapsed ms back to zero.

Reimplemented by: DefaultPlatformTimer, Win32Timer

Public Static Functions

create()

Create a new PlatformTimer.