added active_time, seeding_time, all_time_upload and all_time_download to torrent_status. Also updated docs with some missing entries in torrent_status

This commit is contained in:
Arvid Norberg
2008-04-16 06:31:05 +00:00
parent 1724b1eb75
commit 755e50bb12
8 changed files with 131 additions and 7 deletions

View File

@@ -1245,7 +1245,9 @@ int main(int ac, char* av[])
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 << ")\n";
<< " 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";
if (s.state != torrent_status::seeding)
{
boost::posix_time::time_duration t = s.next_announce;