mirror of https://github.com/BOINC/boinc.git
- client: fix bug that caused a project's jobs to all be run EDF
if the project has the <dont_use_dcf> flag set. svn path=/trunk/boinc/; revision=25593
This commit is contained in:
parent
6e65ae4df1
commit
b6b02aedf4
|
@ -3455,3 +3455,10 @@ Rom 23 Apr 2012
|
|||
|
||||
client/
|
||||
coproc_detect.cpp
|
||||
|
||||
David 23 Apr 2012
|
||||
- client: fix bug that caused a project's jobs to all be run EDF
|
||||
if the project has the <dont_use_dcf> flag set.
|
||||
|
||||
client/
|
||||
cpu_sched.cpp
|
||||
|
|
|
@ -468,9 +468,11 @@ static RESULT* earliest_deadline_result(int rsc_type) {
|
|||
if (rp->non_cpu_intensive()) continue;
|
||||
PROJECT* p = rp->project;
|
||||
|
||||
// treat projects with DCF>90 as if they had deadline misses
|
||||
// Skip this job if the project's deadline-miss count is zero.
|
||||
// If the project's DCF is > 90 (and we're not ignoring it)
|
||||
// treat all jobs as deadline misses
|
||||
//
|
||||
if (!p->dont_use_dcf && p->duration_correction_factor < 90.0) {
|
||||
if (p->dont_use_dcf || p->duration_correction_factor < 90.0) {
|
||||
if (p->rsc_pwf[rsc_type].deadlines_missed_copy <= 0) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue