1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0022506: Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer

Commit details: set the proper factor value.
This commit is contained in:
omy
2012-11-02 13:48:15 +04:00
parent dc9b6d23b6
commit 999c0ca132

View File

@@ -73,7 +73,7 @@ static inline Standard_Real GetWallClockTime ()
LARGE_INTEGER time; LARGE_INTEGER time;
return isOk && QueryPerformanceCounter (&time) ? return isOk && QueryPerformanceCounter (&time) ?
(Standard_Real)time.QuadPart / (Standard_Real)freq.QuadPart : (Standard_Real)time.QuadPart / (Standard_Real)freq.QuadPart :
0.000001 * GetTickCount(); 0.001 * GetTickCount();
} }
#endif /* WNT */ #endif /* WNT */