#include <RageTimer.h>
Public Member Functions | |
RageTimer () | |
RageTimer (int secs, int us) | |
float | Ago () const |
void | Touch () |
bool | IsZero () const |
void | SetZero () |
float | GetDeltaTime () |
float | PeekDeltaTime () const |
RageTimer | Half () const |
RageTimer | operator+ (float tm) const |
void | operator+= (float tm) |
float | operator- (const RageTimer &rhs) const |
Static Public Member Functions | |
float | GetTimeSinceStart () |
Public Attributes | |
unsigned | m_secs |
unsigned | m_us |
Static Private Member Functions | |
RageTimer | Sum (const RageTimer &lhs, float tm) |
float | Difference (const RageTimer &lhs, const RageTimer &rhs) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|