mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2072
This commit is contained in:
parent
e527722691
commit
4a669bb1ec
|
@ -60,7 +60,7 @@ double CLIENT_STATE::current_work_buf_days() {
|
|||
// Don't count result if we've already computed it
|
||||
if (rp->state >= RESULT_COMPUTE_DONE) continue;
|
||||
// TODO: subtract time already finished for WUs in progress
|
||||
seconds_remaining += estimate_cpu_time(*rp->wup) * get_percent_done(rp);
|
||||
seconds_remaining += estimate_cpu_time(*rp->wup) * (1.0-get_percent_done(rp));
|
||||
}
|
||||
return (seconds_remaining / SECONDS_PER_DAY);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue