show dl speed
authorDaniel Stenberg <daniel@haxx.se>
Tue, 20 Dec 2005 09:19:20 +0000 (09:19 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Dec 2005 09:19:20 +0000 (09:19 +0000)
hiper/hiper.c

index b415648bea4c889af7035768f6609f5fe09f65d7..6114b548c89bfe7537588cf90a3ecc7dd0549a73 100644 (file)
@@ -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) {