40 if ( !QueryPerformanceFrequency(&m_Frequency) )
42 m_Frequency.QuadPart = 0;
52 __int64 time, ticks = 0;
54 if (m_Frequency.QuadPart < 1)
59 QueryPerformanceCounter( (LARGE_INTEGER*) &ticks);
60 time = (ticks * 100000) / this->m_Frequency.QuadPart;
61 double milliseconds = (
double) (time & 0xffffffff);
62 milliseconds /= (double)100.0;
71 return this->m_Frequency;
virtual LARGE_INTEGER GetFrequency()
returns the QueryPerformanceFrequency
virtual double GetCurrentStamp()
returns the current time in milliseconds as a double
virtual ~WindowsRealTimeClock()
basic destructor
WindowsRealTimeClock()
basic contructor