Public Member Functions | List of all members
b2Timer Class Reference

#include <b2Timer.h>

Public Member Functions

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

Detailed Description

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

Definition at line 26 of file b2Timer.h.

Constructor & Destructor Documentation

b2Timer::b2Timer ( )

Constructor.

Definition at line 88 of file b2Timer.cpp.

Member Function Documentation

float32 b2Timer::GetMilliseconds ( ) const

Get the time since construction or the last reset.

Definition at line 96 of file b2Timer.cpp.

void b2Timer::Reset ( )

Reset the timer.

Definition at line 92 of file b2Timer.cpp.


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


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52