.
D 2005-11-11T11:32:42
J assignee nobody
J cmimetype text/plain
J comment Since\sthe\sswitch\sto\susing\sPerf\scounters\stiming\sbelow\s10ms\shas\sbeen\s\nseriously\simpacted\s-\smany\sof\sthe\smachines\swe\sus\sfair\sthe\stests,\s\ncausing\sa\sfallback\sto\sthe\sold\smethod\swhich\swas\salways\s10ms\sor\s\nworse.\sBut\sthis\sproblem\shas\sbeen\scompounded\sfor\sexplicit\ssleeps\sin\s\nTcl_Sleep,\ssince\sbefore\sthat\swould\swork\scorrectly,\sbut\snow\sit\sloops\s\nuntil\sthe\stime\sis\sright,\swhich\sif\syou\sare\slimited\sto\s10ms\sgranularity\s\nmeans\sa\sTcl_Sleep(1)\smight\stake\sanywhere\sfrom\s11\sto\s20\sor\sso\sms.\s\nto\scomplete.\n\nAfter\sresearching\sthis\sit\sis\sclear\s(to\sme\sat\sleast)\sthat\sthe\sPerfCounter\s\napporach,\swhilst\sseemingly\sattractive\sis\squite\sflawed\s-\sesp.\son\sMP\s\nmachines.\n\nThe\sattached\sdiffs\schange\sthe\sapproach\sto\suse\sthe\smulti-media\s\ntimers\swith\sare\snot\ssubject\sto\sOEM\svagraties\sand\son\sall\sthe\smodern\s\nsystems\sI\shave\saccess\sto\s(which\sis\squite\sa\sfew!)\sseem\sto\swork\swell.\n\nWe\shave\sbeen\susing\sthis\spatch\sin\sproduction\sfor\sover\sthree\smonths\s\nwith\sonly\sgood\sresults\s:-)\n\nMatt
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter matt-newman
J subsystem None
J title windows:\stiming\sgranularity\sis\spoor\son\smany\ssystems
J type Patch
K 1353858fffffffffffffffffffffffffffffffff
U matt-newman
Z 3beefd6ca00ac5e59357eaa9f5e59604