From: Daniel Stenberg Date: Tue, 20 Dec 2005 09:19:20 +0000 (+0000) Subject: show dl speed X-Git-Tag: upstream/7.37.1~10629 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3af5d7b8ec12321b616082c4447972792fd48dd;p=platform%2Fupstream%2Fcurl.git show dl speed --- 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) {