From 999c0ca13265634ad478c6d285f9d0ccdb5657e9 Mon Sep 17 00:00:00 2001 From: omy Date: Fri, 2 Nov 2012 13:48:15 +0400 Subject: [PATCH] 0022506: Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer Commit details: set the proper factor value. --- src/OSD/OSD_Timer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OSD/OSD_Timer.cxx b/src/OSD/OSD_Timer.cxx index 48a14f4968..8940f49bbc 100755 --- a/src/OSD/OSD_Timer.cxx +++ b/src/OSD/OSD_Timer.cxx @@ -73,7 +73,7 @@ static inline Standard_Real GetWallClockTime () LARGE_INTEGER time; return isOk && QueryPerformanceCounter (&time) ? (Standard_Real)time.QuadPart / (Standard_Real)freq.QuadPart : - 0.000001 * GetTickCount(); + 0.001 * GetTickCount(); } #endif /* WNT */ -- 2.39.5