mirror of https://github.com/BOINC/boinc.git
client: don't use FLOPS info for completion estimates of NCI jobs
This commit is contained in:
parent
0c430ce1fa
commit
c26f05a516
|
@ -544,6 +544,16 @@ double RESULT::estimated_runtime() {
|
|||
double RESULT::estimated_runtime_remaining() {
|
||||
if (computing_done()) return 0;
|
||||
ACTIVE_TASK* atp = gstate.lookup_active_task_by_result(this);
|
||||
if (app->non_cpu_intensive) {
|
||||
if (atp && atp->fraction_done>0) {
|
||||
double est_dur = atp->fraction_done_elapsed_time / atp->fraction_done;
|
||||
double x = est_dur - atp->elapsed_time;
|
||||
if (x <= 0) x = 1;
|
||||
return x;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (atp) {
|
||||
#ifdef SIM
|
||||
return sim_flops_left/avp->flops;
|
||||
|
|
Loading…
Reference in New Issue