ntdll: Use the monotonic counter for NtGetTickCount.
This commit is contained in:
parent
04e14c7b46
commit
34a1426fc3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue