HDK
|
#include <UT_StopWatch.h>
Public Member Functions | |
UT_StopWatch () | |
void | clear () |
void | start () |
fpreal64 | lap () const |
fpreal64 | stop () |
void | resume () |
fpreal64 | restart () |
fpreal64 | getTime () const |
bool | isRunning () const |
fpreal64 | operator- (const UT_StopWatch &) |
UT_TIMERVAL | getStartTime () const |
Static Public Member Functions | |
static fpreal64 | _timeDiff (const UT_TIMERVAL &later, const UT_TIMERVAL &sooner) |
Protected Attributes | |
bool | _running |
fpreal64 | _elapsedTime |
UT_TIMERVAL | _startTime |
Definition at line 23 of file UT_StopWatch.h.
UT_StopWatch::UT_StopWatch | ( | ) |
|
static |
void UT_StopWatch::clear | ( | ) |
UT_TIMERVAL UT_StopWatch::getStartTime | ( | ) | const |
fpreal64 UT_StopWatch::getTime | ( | ) | const |
bool UT_StopWatch::isRunning | ( | ) | const |
fpreal64 UT_StopWatch::lap | ( | ) | const |
fpreal64 UT_StopWatch::operator- | ( | const UT_StopWatch & | ) |
|
inline |
Definition at line 33 of file UT_StopWatch.h.
void UT_StopWatch::resume | ( | ) |
void UT_StopWatch::start | ( | ) |
fpreal64 UT_StopWatch::stop | ( | ) |
|
protected |
Definition at line 45 of file UT_StopWatch.h.
|
protected |
Definition at line 44 of file UT_StopWatch.h.
|
protected |
Definition at line 47 of file UT_StopWatch.h.