mirror of https://github.com/BOINC/boinc.git
Added estimated transfer time remaining to boinccmd
This commit is contained in:
parent
57a6e3ac29
commit
f6c23fe69a
|
@ -1,6 +1,6 @@
|
||||||
// This file is part of BOINC.
|
// This file is part of BOINC.
|
||||||
// http://boinc.berkeley.edu
|
// 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
|
// BOINC is free software; you can redistribute it and/or modify it
|
||||||
// under the terms of the GNU Lesser General Public License
|
// 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(" sticky: %s\n", sticky?"yes":"no");
|
||||||
printf(" xfer active: %s\n", xfer_active?"yes":"no");
|
printf(" xfer active: %s\n", xfer_active?"yes":"no");
|
||||||
printf(" time_so_far: %f\n", time_so_far);
|
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(" bytes_xferred: %f\n", bytes_xferred);
|
||||||
printf(" xfer_speed: %f\n", xfer_speed);
|
printf(" xfer_speed: %f\n", xfer_speed);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue