DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0022506

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

Open CASCADEOCCT:Foundation Classesclosed3 public notes

Search issues

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.

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear abv,
Fix is integrated into branch 22506.
Please, review.
02Commenter 2
No remarks, please test
03Commenter 3
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