Public Member Functions | List of all members
b2Timer Class Reference

#include <b2_timer.h>

Public Member Functions

 b2Timer ()
 Constructor. More...
 
float 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 31 of file b2_timer.h.

Constructor & Destructor Documentation

◆ b2Timer()

b2Timer::b2Timer ( )

Constructor.

Definition at line 112 of file b2_timer.cpp.

Member Function Documentation

◆ GetMilliseconds()

float b2Timer::GetMilliseconds ( ) const

Get the time since construction or the last reset.

Definition at line 120 of file b2_timer.cpp.

◆ Reset()

void b2Timer::Reset ( )

Reset the timer.

Definition at line 116 of file b2_timer.cpp.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22