Commit 34a1426f authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Use the monotonic counter for NtGetTickCount.

parent 04e14c7b
...@@ -492,10 +492,7 @@ NTSTATUS WINAPI NtQueryPerformanceCounter( LARGE_INTEGER *counter, LARGE_INTEGER ...@@ -492,10 +492,7 @@ NTSTATUS WINAPI NtQueryPerformanceCounter( LARGE_INTEGER *counter, LARGE_INTEGER
*/ */
ULONG WINAPI NtGetTickCount(void) ULONG WINAPI NtGetTickCount(void)
{ {
LARGE_INTEGER now; return monotonic_counter() / TICKSPERMSEC;
NtQuerySystemTime( &now );
return (now.QuadPart - server_start_time) / 10000;
} }
/* calculate the mday of dst change date, so that for instance Sun 5 Oct 2007 /* calculate the mday of dst change date, so that for instance Sun 5 Oct 2007
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment