ntdll: Use the monotonic counter for NtGetTickCount.

This commit is contained in:
Alexandre Julliard 2013-01-25 17:28:28 +01:00
parent 04e14c7b46
commit 34a1426fc3
1 changed files with 1 additions and 4 deletions

View File

@ -492,10 +492,7 @@ NTSTATUS WINAPI NtQueryPerformanceCounter( LARGE_INTEGER *counter, LARGE_INTEGER
*/
ULONG WINAPI NtGetTickCount(void)
{
LARGE_INTEGER now;
NtQuerySystemTime( &now );
return (now.QuadPart - server_start_time) / 10000;
return monotonic_counter() / TICKSPERMSEC;
}
/* calculate the mday of dst change date, so that for instance Sun 5 Oct 2007