Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Member Functions | List of all members
box2d::Timer Class Reference

Timer for profiling. This has platform specific code and may not work on every platform. More...

#include <Timer.hpp>

Public Member Functions

 Timer ()
 Constructor. More...
 
void Reset ()
 Reset the timer. More...
 
RealNum GetMilliseconds () const
 Get the time since construction or the last reset. More...
 

Detailed Description

Timer for profiling. This has platform specific code and may not work on every platform.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( )

Constructor.

Member Function Documentation

◆ GetMilliseconds()

RealNum Timer::GetMilliseconds ( ) const

Get the time since construction or the last reset.

◆ Reset()

void Timer::Reset ( )

Reset the timer.


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