Current-Users archive

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

Re: progress(1) a bit drunk?



On Thu, Jul 17, 2008 at 01:11:22PM +0200, Martin S. Weber wrote:
 > Hoi,
 > 
 > after the hiccups I've seen with progressbar.c in ftp(1) [1], now
 > I'm seeing something different. Isn't progress(1) supposed to
 > display the amount of data read followed by the data RATE ? Then
 > why does my transfer [2] look like this:
 > 
 >    439 MiB  439.11 MiB/s 
 >    441 MiB  441.55 MiB/s 
 >    442 MiB  442.44 MiB/s 
 > 
 > ... (I'm sucking at 225 kiB/s) ?
 > 
 > To me it seems as if the reference to start-time has been
 > lost. Instead of the data RATE, all data read until now are
 > displayed as rate.

Wading through the code, I don't see any obvious way for this to
happen. Are your timecounters working properly?

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


Home | Main Index | Thread Index | Old Index