HDK
|
#include <UT_StopWatch.h>
Public Member Functions | |
UT_Timer () | |
UT_Timer (const char *block_name) | |
~UT_Timer () | |
UT_Timer (const UT_Timer &)=delete | |
UT_Timer & | operator= (const UT_Timer &)=delete |
void | clear () |
void | begin (const char *block_name=NULL) |
int | lap () |
void | end () |
bool | isRunning () const |
fpreal64 | getBlockDuration () |
fpreal64 | getTotalDuration () |
fpreal64 | getAverageDuration () |
void | setDisplay (bool d) |
bool | willDisplay () const |
void | displayBlockDuration (const char *block_name=NULL) |
void | displayTotalDuration (const char *block_name=NULL) |
void | displayAverageDuration (const char *block_name=NULL) |
Static Public Member Functions | |
static void | indent () |
static void | timeStamp (const char *msg1, const char *msg2=0) |
static UT_Timer * | getTimer (int id) |
Definition at line 68 of file UT_StopWatch.h.
UT_Timer::UT_Timer | ( | ) |
|
explicit |
UT_Timer::~UT_Timer | ( | ) |
|
delete |
void UT_Timer::begin | ( | const char * | block_name = NULL | ) |
void UT_Timer::clear | ( | ) |
void UT_Timer::displayAverageDuration | ( | const char * | block_name = NULL | ) |
void UT_Timer::displayBlockDuration | ( | const char * | block_name = NULL | ) |
void UT_Timer::displayTotalDuration | ( | const char * | block_name = NULL | ) |
void UT_Timer::end | ( | ) |
fpreal64 UT_Timer::getAverageDuration | ( | ) |
fpreal64 UT_Timer::getBlockDuration | ( | ) |
fpreal64 UT_Timer::getTotalDuration | ( | ) |
|
static |
|
inline |
Definition at line 89 of file UT_StopWatch.h.
|
inline |
Definition at line 86 of file UT_StopWatch.h.
|
inline |
Definition at line 95 of file UT_StopWatch.h.
|
static |
|
inline |
Definition at line 96 of file UT_StopWatch.h.