From 57686777f7fd53ffb74979fdbd3b682c86284236 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 19 Jul 2019 18:09:59 +0000 Subject: [PATCH] #2178 monotonic_time must return a value in seconds, not milliseconds - doh git-svn-id: https://xpra.org/svn/Xpra/trunk@23233 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/monotonic_ctime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpra/monotonic_ctime.c b/src/xpra/monotonic_ctime.c index dd8a23c373..46773657b0 100644 --- a/src/xpra/monotonic_ctime.c +++ b/src/xpra/monotonic_ctime.c @@ -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();