Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
34a1426f
Commit
34a1426f
authored
Jan 25, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use the monotonic counter for NtGetTickCount.
parent
04e14c7b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
time.c
dlls/ntdll/time.c
+1
-4
No files found.
dlls/ntdll/time.c
View file @
34a1426f
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment