Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions
AngelOgre::Timer Class Reference

Description

A high-resolution timer, starts counting when created.

Binding of Ogre::Timer.

Definition at line 14 of file AngelOgre_Timer.h.

Public Member Functions

 Timer ()
 
 Timer (const Timer &in other)
 
Timer & opAssign (const Timer &in other)
 
void reset ()
 
uint getMilliseconds ()
 
uint getMicroseconds ()
 
uint getMillisecondsCPU ()
 
uint getMicrosecondsCPU ()
 

Constructor & Destructor Documentation

◆ Timer() [1/2]

AngelOgre::Timer::Timer ( )

Creates a timer and starts counting.

◆ Timer() [2/2]

AngelOgre::Timer::Timer ( const Timer &in  other)

Creates a copy with the same start time.

Member Function Documentation

◆ getMicroseconds()

uint AngelOgre::Timer::getMicroseconds ( )

Wall-clock time since creation or last reset(), in microseconds.

◆ getMicrosecondsCPU()

uint AngelOgre::Timer::getMicrosecondsCPU ( )

CPU (process) time since creation or last reset(), in microseconds.

◆ getMilliseconds()

uint AngelOgre::Timer::getMilliseconds ( )

Wall-clock time since creation or last reset(), in milliseconds.

◆ getMillisecondsCPU()

uint AngelOgre::Timer::getMillisecondsCPU ( )

CPU (process) time since creation or last reset(), in milliseconds.

◆ opAssign()

Timer & AngelOgre::Timer::opAssign ( const Timer &in  other)

◆ reset()

void AngelOgre::Timer::reset ( )

Restarts counting from zero.


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