Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
b2Timer Class Reference

`#include <b2Timer.h>`

## Public Member Functions
| b2Timer ()
| Constructor. More...
void | Reset ()
| Reset the timer. More...
float32 | 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

b2Timer | ( |  | ) |

Constructor.

## Member Function Documentation

float32 GetMilliseconds | ( |  | ) | const

Get the time since construction or the last reset.

void Reset | ( |  | ) |

Reset the timer.

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

- Box2D/Common/b2Timer.h
- Box2D/Common/b2Timer.cpp