mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 11:16:38 +02:00
Update comments; no functional change.
According to <http://msdn.microsoft.com/en-us/library/windows/desktop/ms644905(v=vs.85).aspx> "The frequency cannot change while the system is running".
This commit is contained in:
@@ -471,9 +471,6 @@ DLL_EXPORT int clock_gettime ( clockid_t clk_id, struct timespec *tp )
|
||||
GetSystemTimeAsFileTime( &ftStartingSystemTime );
|
||||
liStartingHPCTick.QuadPart = liWork.QuadPart;
|
||||
|
||||
// FIXME: Performance frequency may change more frequently than once
|
||||
// every 30 seconds. Possible to receive notification of
|
||||
// frequency change?
|
||||
VERIFY( QueryPerformanceFrequency( &liHPCTicksPerSecond ) );
|
||||
|
||||
liStartingNanoTime = FileTimeTo1970Nanoseconds( &ftStartingSystemTime );
|
||||
|
||||
Reference in New Issue
Block a user