From eb82e13357da6ba8f3b4b1e151db55f721352de2 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 16 Apr 2008 07:02:19 +0000 Subject: [PATCH] client_test updates --- examples/client_test.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index b38a15e10..2a246f154 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -1243,11 +1243,12 @@ int main(int ac, char* av[]) out << "download: " << "(" << esc("32") << add_suffix(s.total_download) << esc("0") << ") "; } out << "upload: " << esc("31") << (s.upload_rate > 0 ? add_suffix(s.upload_rate) + "/s ": " ") << esc("0") - << "(" << esc("31") << add_suffix(s.total_upload) << esc("0") << ") " - << "ratio: " << ratio(s.total_payload_download, s.total_payload_upload) - << " bw queue: (" << s.up_bandwidth_queue << " | " << s.down_bandwidth_queue << ") " - "a: " << s.active_time << " s: " << s.seeding_time - << " all-time (Rx :" << s.all_time_download << " Tx: " << s.all_time_upload << ")\n"; + << "(" << esc("31") << add_suffix(s.total_upload) << esc("0") << ") " + << "ratio: " << ratio(s.total_payload_download, s.total_payload_upload) + << " bw queue: (" << s.up_bandwidth_queue << " | " << s.down_bandwidth_queue << ") " + "all-time (" << s.active_time - s.seeding_time << "/" << s.active_time << ")" + " (Rx: " << esc("32") << add_suffix(s.all_time_download) << esc("0") + << " Tx: " << esc("31") << add_suffix(s.all_time_upload) << esc("0") << ")\n"; if (s.state != torrent_status::seeding) { boost::posix_time::time_duration t = s.next_announce;