mirror of https://github.com/BOINC/boinc.git
- scheduler: make NCI app versions preferable to non-plan-class
svn path=/trunk/boinc/; revision=17004
This commit is contained in:
parent
4cd3c530b0
commit
08ab3c630f
|
@ -687,3 +687,9 @@ David 23 Jan 2009
|
||||||
sched/
|
sched/
|
||||||
sched_array.cpp
|
sched_array.cpp
|
||||||
sched_send.app
|
sched_send.app
|
||||||
|
|
||||||
|
David 23 Jan 2009
|
||||||
|
- scheduler: make NCI app versions preferable to non-plan-class
|
||||||
|
|
||||||
|
sched/
|
||||||
|
sched_plan.cpp
|
||||||
|
|
|
@ -147,7 +147,9 @@ int app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) {
|
||||||
//
|
//
|
||||||
hu.avg_ncpus = .01;
|
hu.avg_ncpus = .01;
|
||||||
hu.max_ncpus = .01;
|
hu.max_ncpus = .01;
|
||||||
hu.flops = sreq.host.p_fpops;
|
hu.flops = sreq.host.p_fpops*1.01;
|
||||||
|
// The *1.01 is needed to ensure that we'll send this app
|
||||||
|
// version rather than a non-plan-class one
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
log_messages.printf(MSG_CRITICAL,
|
log_messages.printf(MSG_CRITICAL,
|
||||||
|
|
Loading…
Reference in New Issue