HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Timer Class Reference

#include <UT_StopWatch.h>

+ Inheritance diagram for UT_Timer:

Public Member Functions

 UT_Timer ()
 
 UT_Timer (const char *block_name)
 
 ~UT_Timer ()
 
 UT_Timer (const UT_Timer &)=delete
 
UT_Timeroperator= (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_TimergetTimer (int id)
 

Detailed Description

Definition at line 68 of file UT_StopWatch.h.

Constructor & Destructor Documentation

UT_Timer::UT_Timer ( )
UT_Timer::UT_Timer ( const char *  block_name)
explicit
UT_Timer::~UT_Timer ( )
UT_Timer::UT_Timer ( const UT_Timer )
delete

Member Function Documentation

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 ( )
static UT_Timer* UT_Timer::getTimer ( int  id)
static
fpreal64 UT_Timer::getTotalDuration ( )
static void UT_Timer::indent ( )
static
bool UT_Timer::isRunning ( ) const
inline

Definition at line 89 of file UT_StopWatch.h.

int UT_Timer::lap ( )
inline

Definition at line 86 of file UT_StopWatch.h.

UT_Timer& UT_Timer::operator= ( const UT_Timer )
delete
void UT_Timer::setDisplay ( bool  d)
inline

Definition at line 95 of file UT_StopWatch.h.

static void UT_Timer::timeStamp ( const char *  msg1,
const char *  msg2 = 0 
)
static
bool UT_Timer::willDisplay ( ) const
inline

Definition at line 96 of file UT_StopWatch.h.


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