svn path=/trunk/boinc/; revision=16895

This commit is contained in:
David Anderson 2009-01-13 01:02:30 +00:00
parent 1680b0e11a
commit fbbdabcb1b
2 changed files with 7 additions and 1 deletions

View File

@ -201,3 +201,9 @@ David 12 Jan 2009
sched/
handle_request.cpp
sched_send.cpp
David 12 Jan 2009
- scheduler: bug fixes
sched/
sched_plan.cpp

View File

@ -120,7 +120,7 @@ bool app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) {
// assume we'll need 0.5% as many CPU FLOPS as GPU FLOPS
// to keep the GPU fed.
//
double x = hu.flops*0.005;
double x = (hu.flops*0.005)/sreq.host.p_fpops;
hu.avg_ncpus = x;
hu.max_ncpus = x;