Skip to content
Tcl Source Code Artifact [7df48e2701]
Login

Artifact [7df48e2701]

Artifact 7df48e2701f73fd45ffbc5e68f1e6cd82072f7c6:

Ticket change [7df48e2701] - Ticket [1821187fffffffff|1821187fff] <i>extend TclpGetWideClicks to other platforms</i> status still Open with 4 other changes by das on 2007-11-06 12:26:59.
D 2007-11-06T12:26:59
J icomment Logged\sIn:\sYES\s\nuser_id=90580\nOriginator:\sNO\n\nOn\sOSX,\sTclpGetWideClicks()\sis\sbased\son\smach_absolute_time()\swhich\sis\sthe\shighest\sresolution\stimer\savailable\son\sOSX\sin\sa\sprocessor-independent\sfashion.\sIt\sruns\sat\sthe\sCPU\sbus\sfrequency\sand\sis\sincremented\sindependently\sof\smultiple\scores/CPUs\sor\sspeedstep\sand\sthe\slike.\sThe\sfrequency\scan\sbe\sdetermined\svia\smach_timebase_info(),\sallowing\sconversion\sof\swide\sclicks\sto\snanonseconds\sin\sTclpWideClicksToNanoseconds()\s\s-\swhich\sis\sused\sby\s[time]\son\sOSX\s(for\sdocs\sc.f.\shttp://developer.apple.com/qa/qa2004/qa1398.html).\nThere\sare\shigher\sresolution\sprocessor-specific\stimers\savailable,\se.g.\son\sthe\sintel\spentium\sm\sfamily\sthere\sare\sthe\sPMCs\sCPU_CLK_UNHALTED\sand\sCPU_CLK_UNHALTED.BUS\s(the\slatter\sindependent\sof\sspeedstep),\smy\stclCHUDtime.tcl\sextension\suses\sthese\sto\sdo\shigher-resolution\stiming,\salso\sc.f.\sthere\sfor\sthe\scode\sto\sconvert\sticks\sof\sthese\stimers\sto\snanoseconds:\shttp://rutherglen.ics.mq.edu.au/~steffen/tcltk/carboncritlib/tclCHUDtime.tcl\n
J login das
J mimetype text/plain
J username das
K 1821187fffffffffffffffffffffffffffffffff
U das
Z 6f24621374829f0c2e9447759c99a46f