Archived issue #0022506
Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer
Description
The improvement OCC21724 introduced regression in OSD_Timer when it measures
elapsed time with help of GetTickCount() on Windows: the factor used to convert
its result to seconds is incorrect (0.000001 instead of 0.001).
The attached patch fixes this problem.
elapsed time with help of GetTickCount() on Windows: the factor used to convert
its result to seconds is incorrect (0.000001 instead of 0.001).
The attached patch fixes this problem.
Public activity
3 archived notes
Participants are labeled by their role within this record.
Dear abv,
Fix is integrated into branch 22506.
Please, review.
Fix is integrated into branch 22506.
Please, review.
No remarks, please test
Dear Commenter 1,
Branch CR22506 (and master from occt GIT master) was compiled on Linux and Windows platforms and tested.
Regressions:
Not detected
Improvements:
Not detected
Testing cases:
Not needed
Branch CR22506 (and master from occt GIT master) was compiled on Linux and Windows platforms and tested.
Regressions:
Not detected
Improvements:
Not detected
Testing cases:
Not needed