Ticket #1443: show average copying velocity/ETA for whole operation.
commitf5beb5b2c6d8fcbd84039bc1f6adc6be8aabec5f
authorAndrew Borodin <aborodin@vmail.ru>
Wed, 10 Feb 2010 11:39:30 +0000 (10 11:39 +0000)
committerSlava Zanko <slavazanko@gmail.com>
Wed, 24 Feb 2010 08:37:42 +0000 (24 10:37 +0200)
treebeee2395157eac661ef5bb1965c4afaeb2cb023f
parent48b71733b0fbfa581ac1645af8b247126cdef111
Ticket #1443: show average copying velocity/ETA for whole operation.

Problem description:
  Let's consider large directory (~4GB) with relatively small files:
  each 1-2MB.
  When I try to copy whole directory I would like to see average
  copying velocity (and ETA) not only per-file (I just don't see
  stats for small files), but for the whole progress.

This commit fixes the issue. Thanks Sergey <sergemp at mail dot ru>
for the initial patch.

Additionally, the minor type accuracy was provided.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/file.c