|
|
@ -365,11 +365,12 @@ TTime CTime::getLocalTime ()
|
|
|
|
QueryPerformanceCounter(&counter);
|
|
|
|
QueryPerformanceCounter(&counter);
|
|
|
|
counter.QuadPart *= (LONGLONG)1000L;
|
|
|
|
counter.QuadPart *= (LONGLONG)1000L;
|
|
|
|
counter.QuadPart /= a_QueryPerformanceFrequency.QuadPart;
|
|
|
|
counter.QuadPart /= a_QueryPerformanceFrequency.QuadPart;
|
|
|
|
|
|
|
|
return counter.QuadPart;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Use default reliable low resolution timer.
|
|
|
|
// Use default reliable low resolution timer.
|
|
|
|
return getLocalTime();
|
|
|
|
return timeGetTime();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#elif defined (NL_OS_UNIX)
|
|
|
|
#elif defined (NL_OS_UNIX)
|
|
|
|