HDK
|
#include <UT_StopWatch.h>
Public Member Functions | |
void | clear () |
void | start () |
fpreal64 | lap () const |
fpreal64 | stop () |
void | resume () |
fpreal64 | restart () |
fpreal64 | getTime () const |
bool | isRunning () const |
fpreal64 | operator- (const UT_StopWatch &other) |
SYS_TimeVal | getStartTime () const |
Protected Attributes | |
bool | myRunning = false |
fpreal64 | myElapsedTime = 0 |
SYS_TimeVal | myStartTime |
A simple stopwatch class.
It implements functions much like a regular stopwatch: start(): resets stopwatch to zero, and starts it. lap(): returns the elapsed time. stop(): stop the stopwatch resume(): resumes the stopwatch getTime(): returns elapsed time, may be used when stopped. operator-: difference in start time between two watches
Definition at line 20 of file UT_StopWatch.h.
|
inline |
Definition at line 156 of file UT_StopWatch.h.
|
inline |
Definition at line 233 of file UT_StopWatch.h.
|
inline |
Definition at line 215 of file UT_StopWatch.h.
|
inline |
Definition at line 221 of file UT_StopWatch.h.
|
inline |
Definition at line 169 of file UT_StopWatch.h.
|
inline |
Definition at line 227 of file UT_StopWatch.h.
|
inline |
Definition at line 207 of file UT_StopWatch.h.
|
inline |
Definition at line 197 of file UT_StopWatch.h.
|
inline |
Definition at line 162 of file UT_StopWatch.h.
|
inline |
Definition at line 182 of file UT_StopWatch.h.
|
protected |
Definition at line 38 of file UT_StopWatch.h.
|
protected |
Definition at line 37 of file UT_StopWatch.h.
|
protected |
Definition at line 40 of file UT_StopWatch.h.