From f6c23fe69aba1a6c6d28cf6bfcd4609644199364 Mon Sep 17 00:00:00 2001 From: Vulpine05 Date: Sun, 3 Jul 2022 14:34:13 -0500 Subject: [PATCH] Added estimated transfer time remaining to boinccmd --- lib/gui_rpc_client_print.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gui_rpc_client_print.cpp b/lib/gui_rpc_client_print.cpp index ecfaae8da8..92e5d20805 100644 --- a/lib/gui_rpc_client_print.cpp +++ b/lib/gui_rpc_client_print.cpp @@ -1,6 +1,6 @@ // This file is part of BOINC. // http://boinc.berkeley.edu -// Copyright (C) 2019 University of California +// Copyright (C) 2022 University of California // // BOINC is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License @@ -207,6 +207,7 @@ void FILE_TRANSFER::print() { printf(" sticky: %s\n", sticky?"yes":"no"); printf(" xfer active: %s\n", xfer_active?"yes":"no"); printf(" time_so_far: %f\n", time_so_far); + if (xfer_active) printf(" estimated_xfer_time_remaining: %f\n", estimated_xfer_time_remaining); printf(" bytes_xferred: %f\n", bytes_xferred); printf(" xfer_speed: %f\n", xfer_speed); }