17 #ifndef __igtlTimeStamp_h
18 #define __igtlTimeStamp_h
25 #if defined(WIN32) || defined(_WIN32)
50 void SetTime(
double tm);
51 void SetTime(igtlUint32 second, igtlUint32 nanosecond);
52 void SetTime(igtlUint64 tm);
54 double GetTimeStamp();
55 void GetTimeStamp(igtlUint32* second, igtlUint32* nanosecond);
56 igtlUint64 GetTimeStampUint64();
68 virtual void PrintSelf( std::ostream& os)
const;
72 igtlInt32 m_Frequency;
74 igtlInt32 m_Nanosecond;
77 #if defined(WIN32) || defined(_WIN32)
85 time_t m_WinTimeOrigin;
86 clock_t m_WinClockOrigin;
94 #endif // __igtlTimeStamp_h