Skip to content

Commit

Permalink
#2178 monotonic_time must return a value in seconds, not milliseconds…
Browse files Browse the repository at this point in the history
… - doh

git-svn-id: https://xpra.org/svn/Xpra/trunk@23233 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 19, 2019
1 parent 45c9160 commit 5768677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/monotonic_ctime.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ double get_monotonic_time(void){
}
if (freq.QuadPart>0) {
if (QueryPerformanceCounter(&t)) {
return (((double) t.QuadPart) * 1000 / freq.QuadPart);
return (((double) t.QuadPart) / freq.QuadPart);
}
}
ULONGLONG ticks = GetTickCount64();
Expand Down

0 comments on commit 5768677

Please sign in to comment.