1 #ifndef _UT_StopWatch_h_
2 #define _UT_StopWatch_h_
35 bool isRunning()
const;
71 explicit UT_Timer(
const char *block_name);
77 static void timeStamp(
const char *msg1,
const char *msg2=0);
81 void begin(
const char *block_name = NULL );
82 int lap() { myCount++;
return myCount; }
94 void displayBlockDuration(
const char *block_name = NULL );
95 void displayTotalDuration(
const char *block_name = NULL );
96 void displayAverageDuration(
const char *block_name = NULL );
108 static int theIndentation;
117 : myBlockName(block_name)
126 const char* myBlockName;
135 myTimeStamp.begin( name );
151 #endif // _UT_StopWatch_h_
struct timeval SYS_TimeVal
UT_TimerDisplayTotal(const char *block_name)
IMATH_HOSTDEVICE constexpr Plane3< T > operator-(const Plane3< T > &plane) IMATH_NOEXCEPT
Reflect the pla.
GLuint const GLchar * name
UT_TimerAuto(UT_Timer &ts)
UT_TimerAuto(UT_Timer &ts, const char *name)
void displayAverageDuration(const char *block_name=NULL)
void displayTotalDuration(const char *block_name=NULL)
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.