Skip to content
Tcl Source Code Artifact [d31c97e6a0]
Login

Artifact [d31c97e6a0]

Artifact d31c97e6a05eaa42e9c192950c9826a7db4f1292:

Ticket change [d31c97e6a0] - New ticket [625454ffffffffff|625454ffff] <i>new arg to &#39;time&#39; - iterations in secs</i>. by davidw on 2002-10-18 23:13:25.
D 2002-10-18T23:13:25
J assignee dkf
J cmimetype text/plain
J comment [\sI\shate\sthe\sbrevity\sof\sthe\ssummary\sfield\s]\n\nHi,\n\nWhile\srunning\ssome\stesting\scode\sthat\sI\swanted\sto\stime,\nit\scame\sup\sas\sa\srequirement\sthat\susers\swant\sto\srun\sit\nnot\sby\snumber\sof\siterations,\sbut\sby\sa\scertain\slength\sof\ntime.\n\nThe\sidea\soccurred\sto\sme\sthat\s[time]\scould\stake\san\nadditional\sargument\s-\sa\squalifier\sstating\sthat\niterations\sis\sa\snumber\sof\sseconds\s(I\ssuppose\syou\scould\nalso\suse\s'minutes'\sor\s'hours'\sfor\sthe\sadditional\sarg\sif\nyou\swanted).\n\nThe\sloop\swould\sthen\srun\sfor\sat\sleast,\sbut\snot\nprecisely,\sthat\samount\sof\stime,\sand\sreturn\sthe\samount\nof\smicroseconds\sper\siteration.\n\nIt\swould\salso\sbe\spossible\sto\sscript\sthe\swhole\sthing,\sof\ncourse.\s\sMaybe\sthat's\sa\sbetter\scourse\sof\saction?\s\sThe\nnice\sthing\sabout\stime\sis\sthat\sthe\sloop\soverhead\sis\nminimal.\s\sHaving\sit\scoded\sin\sC\swould\smean\sthat\sthe\nresults\swould\sbe\scomparable\sto\sregular\s[time]\sresults.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter davidw
J subsystem 18.\sCommands\sM-Z
J title new\sarg\sto\s'time'\s-\siterations\sin\ssecs
J type RFE
K 625454ffffffffffffffffffffffffffffffffff
U davidw
Z 76f3fc4881a4cffed08defc85c3cf9df