17 #include "itkObject.h"
18 #include "itkObjectFactory.h"
86 void StartTimer(
void );
87 int StopTimer(
void );
88 int ElapsedClockAndTime(
void );
93 const std::string & PrintStartTime(
void );
94 const std::string & PrintStopTime(
void );
95 const std::string & PrintElapsedTimeDHMS(
void );
96 const std::string & PrintElapsedTimeSec(
void );
97 const std::string & PrintElapsedClock(
void );
98 const std::string & PrintElapsedClockSec(
void );
101 itkGetConstMacro( StartTime, time_t );
102 itkGetConstMacro( StopTime, time_t );
103 itkGetConstMacro( ElapsedTime,
double );
105 itkGetConstMacro( ElapsedTimeSec, std::size_t );
106 itkGetConstMacro( ElapsedClock,
double );
107 itkGetConstMacro( ElapsedClockSec,
double );
126 #if defined( __GNUC__ ) && !defined( __APPLE__ )
127 #define ELX_USE_CLOCK_GETTIME
128 struct timespec m_StartClockMonotonic;
129 struct timespec m_StopClockMonotonic;
143 void operator=(
const Self& );
151 #endif // end #ifndef __elxTimer_H_