Overview
| Artifact ID: | 4fbfa2964341e8af6ae19c19b221029e04178d54 |
|---|---|
| Ticket: | 1353858fffffffffffffffffffffffffffffffff
windows: timing granularity is poor on many systems |
| User & Date: | matt-newman on 2005-11-11 11:32:42 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Since the switch to using Perf counters timing below 10ms has been seriously impacted - many of the machines we us fair the tests, causing a fallback to the old method which was always 10ms or worse. But this problem has been compounded for explicit sleeps in Tcl_Sleep, since before that would work correctly, but now it loops until the time is right, which if you are limited to 10ms granularity means a Tcl_Sleep(1) might take anywhere from 11 to 20 or so ms. to complete. After researching this it is clear (to me at least) that the PerfCounter apporach, whilst seemingly attractive is quite flawed - esp. on MP machines. The attached diffs change the approach to use the multi-media timers with are not subject to OEM vagraties and on all the modern systems I have access to (which is quite a few!) seem to work well. We have been using this patch in production for over three months with only good results :-) Matt
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "matt-newman"
- subsystem changed to: "None"
- title changed to:
windows: timing granularity is poor on many systems
- type changed to: "Patch"