Parent Directory
|
Revision Log
|
Patch
| revision 32 by appaji-guest, Fri Sep 12 06:44:54 2008 UTC | revision 35 by appaji-guest, Fri Sep 12 09:23:59 2008 UTC | |
|---|---|---|
| # | Line 493 static void print_alternate_output(axel_ | Line 493 static void print_alternate_output(axel_ |
| 493 | putchar(' '); | putchar(' '); |
| 494 | } | } |
| 495 | ||
| 496 | printf( "] [%6.1fKB/s]", (double) axel->bytes_per_second / 1024 ); | if(axel->bytes_per_second > 1048576) |
| 497 | printf( "] [%6.1fMB/s]", (double) axel->bytes_per_second / 1024*1024 ); | |
| 498 | else if(axel->bytes_per_second > 1024) | |
| 499 | printf( "] [%6.1fKB/s]", (double) axel->bytes_per_second / 1024 ); | |
| 500 | else | |
| 501 | printf( "] [%6.1fB/s]", (double) axel->bytes_per_second ); | |
| 502 | ||
| 503 | if(done<total) | if(done<total) |
| 504 | { | { |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |