From: omy Date: Fri, 2 Nov 2012 09:48:15 +0000 (+0400) Subject: 0022506: Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer X-Git-Tag: V6_6_0_beta~228 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=999c0ca13265634ad478c6d285f9d0ccdb5657e9 0022506: Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer Commit details: set the proper factor value. --- 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 */