aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-12-20 09:19:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-12-20 09:19:20 +0000
commitf3af5d7b8ec12321b616082c4447972792fd48dd (patch)
tree52d707d6cad4b8e7c849a2987bf291944c6cd3f5
parentd551412a32baae7048491b03ed572ba63cc62d21 (diff)
show dl speed
-rw-r--r--hiper/hiper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hiper/hiper.c b/hiper/hiper.c
index b415648be..6114b548c 100644
--- a/hiper/hiper.c
+++ b/hiper/hiper.c
@@ -192,6 +192,11 @@ static void report(void)
printf("%ld select() timeouts\n", timeouts);
+ printf("Downloaded %ld bytes in %ld bytes/sec, %ld usec/byte\n",
+ info.dlcounter,
+ info.dlcounter/(total/1000000),
+ total/info.dlcounter);
+
#if 0
for(i=1; i< num_total; i++) {
if(timecount[i].laps) {