Skip to content
Tcl Source Code Artifact [73654c2add]
Login

Artifact [73654c2add]

Artifact 73654c2add5e16f300ca323c6c14207df21257eb:

Ticket change [73654c2add] - Ticket [1353858fffffffff|1353858fff] <i>windows: timing granularity is poor on many systems</i> status still Open with 4 other changes by matt-newman on 2005-11-11 22:03:00.
D 2005-11-11T22:03:00
J icomment Logged\sIn:\sYES\s\nuser_id=1333796\n\nI\sdon't\sthink\syou\squite\sfollow\s-\son\s*all*\sthe\sMP\shyperthreaded\ssystems\sI\s\nhave\stested\sfrom\sDell\sand\sHP\sthe\scriteria\sfails\sand\sit\sfalls\sback\sto\s10ms\s\ngranularity.\n\nAlso\sPerfCounters\sis\splain\sflawed\son\sMP\sboxes\sanyway\sdue\sto\sthe\sfact\s\nthat\sunless\syour\sprocess\sis\slocked\son\son\sCPU\sthe\snumbers\sreturned\sby\s\nPerfCounters\sdepend\son\swhich\sCPU\syour\scode\sis\sexecuting\son\sat\sthat\s\nmomement!\n\nIf\syou\swant\ssub-1ms\stiming\sfor\sprofiling\spurposes\sthat\sis\sentirely\sa\s\ndifferent\sissue\sfrom\sthe\sprimary\stiming\ssub-system.\s\n\nWhen\swe\sprofile\sus\shave\san\sextension\sthat\sworks\slike\sthe\stcl\s[time]\s\ncommand,\sbut\sdoes\stwo\sthings\sto\smake\sthe\sresults\spredicable\s-\s1.\sit\s\nlocks\sthe\sprocess\sonto\sa\scpu\s(non-HT)\sand\suses\sperf-counters\sfor\sthe\s\nextra\sresolution\s-\sthis\syields\sexcellent\sresults\sfor\sprofiling...\n\nAlso\sanother\sthing\sto\sconsider,\sif\syou\slike\sI,\sship\scommercial\sserver\s\nprocesses\sthat\sheavily\suse\s\s[after]\sit\sis\snot\sacceptable\sto\shave\sthe\stiming\s\nof\sa\s[after\s1]\sbe\s10ms\son\ssome\ssystems\sand\snot\sothers\s-\sit\sundermines\s\nthe\sentire\sdesign\sof\sthe\sapplication.\n\nSo\sin\sconsidering\sthis\spatch,\sI\sask\syou\sto\sseperate\syour\s(valid)\sconcerns\s\nabout\sgood\sprofiling,\sfrom\sthe\smore\sgeneral\sissues\sof\sa\shighly\stime-\ndependent\sevent\sloop.\n\nMatt\n
J login matt-newman
J mimetype text/plain
J username matt-newman
K 1353858fffffffffffffffffffffffffffffffff
U matt-newman
Z 49598190c0bb4b4d89b308000326e97f