1 #ifndef _UT_StopWatch_h_
2 #define _UT_StopWatch_h_
36 bool isRunning()
const;
72 explicit UT_Timer(
const char *block_name);
81 static void timeStamp(
const char *msg1,
const char *msg2=0);
85 void begin(
const char *block_name = NULL );
86 int lap() { myCount++;
return myCount; }
98 void displayBlockDuration(
const char *block_name = NULL );
99 void displayTotalDuration(
const char *block_name = NULL );
100 void displayAverageDuration(
const char *block_name = NULL );
112 static int theIndentation;
121 : myBlockName(block_name)
130 const char* myBlockName;
139 myTimeStamp.begin( name );
155 #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.
UT_TimerAuto(UT_Timer &ts)
UT_TimerAuto(UT_Timer &ts, const char *name)
GLuint const GLchar * name
void displayAverageDuration(const char *block_name=NULL)
void displayTotalDuration(const char *block_name=NULL)
LeafData & operator=(const LeafData &)=delete
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.