make the -T option to stats accept milliseconds instead of seconds. default is unchanged, but milliseconds allow us to see much more detail. Notes: Sat Oct 21 22:18:59 EDT 2006 geoff I made the argument -T floating point instead. Reference: /n/sources/patch/sorry/stats-msec Date: Tue Oct 3 00:52:32 CES 2006 Signed-off-by: andrey@lanl.gov Reviewed-by: geoff --- /sys/src/cmd/stats.c Tue Oct 3 00:49:51 2006 +++ /sys/src/cmd/stats.c Tue Oct 3 00:49:46 2006 @@ -1243,7 +1243,7 @@ usage(); i = atoi(s); if(i > 0) - sleeptime = 1000*i; + sleeptime = i; break; case 'S': s = ARGF(); --- /sys/man/8/stats Tue Oct 3 00:50:11 2006 +++ /sys/man/8/stats Tue Oct 3 00:50:07 2006 @@ -110,9 +110,9 @@ All graphs are affected; there is no mechanism to affect only one graph. .TP -.BI -T " sleepsecs -Set the number of seconds between samples to -.I sleepsecs +.BI -T " msec +Set the number of milliseconds between samples to +.I msec (default one second). .TP .BI -S " scale