Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: progress(1) a bit drunk?



On Sun, Jul 20, 2008 at 08:42:25PM +0100, Roy Marples wrote:
 > > If the time jumps backward it will confuse progressbar.c, but to get
 > > the results you were seeing with the rate it'd need to have jumped
 > > back to before the transfer started. (Plus, if you're losing time
 > > that's probably not it.)
 > 
 > Maybe the code should use the clock_gettime(CLOCK_MONOTONIC, &timespec) 
 > function instead then, so any clock changes don't affect the progress bar.

Patches are welcome :-)

-- 
   - David A. Holland / dholland+netbsd%eecs.harvard.edu@localhost


Home | Main Index | Thread Index | Old Index