Ocular Engine
Ocular::Core::Timer Class Reference

Public Member Functions

void start ()
 
void stop ()
 
void reset ()
 
uint64_t getElapsedMS ()
 

Member Function Documentation

uint64_t Ocular::Core::Timer::getElapsedMS ( )

Returns the amount of time elapsed since start was called.
If the timer is stopped, then the elapsed time does not increment.

Returns
Amount of time elapsed in milliseconds
void Ocular::Core::Timer::reset ( )

Resets the timer.

void Ocular::Core::Timer::start ( )

Starts the timer.

void Ocular::Core::Timer::stop ( )

Stops the timer.


The documentation for this class was generated from the following files: