add throughput to progress display
authorNicolas Pitre <nico@cam.org>
Tue, 30 Oct 2007 18:57:34 +0000 (14:57 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Oct 2007 23:08:40 +0000 (16:08 -0700)
commitcf84d51c43fa05cce416bfa3f5db3ad70773abdf
tree66174c02c7eb0d9cae466960a60467dd1e8fb297
parent4d4fcc5451d9d653bebcc8afa18543cb426abeed
add throughput to progress display

This adds the ability for the progress code to also display transfer
throughput when that makes sense.

The math was inspired by commit c548cf4ee0737a321ffe94f6a97c65baf87281be
from Linus.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
progress.c
progress.h