From fbbdabcb1b36edac35113930cb260791aadf30b7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 13 Jan 2009 01:02:30 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=16895 --- checkin_notes | 6 ++++++ sched/sched_plan.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 99da406639..b9f3ec54fa 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/sched/sched_plan.cpp b/sched/sched_plan.cpp index 91229b5929..2664df4e77 100644 --- a/sched/sched_plan.cpp +++ b/sched/sched_plan.cpp @@ -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;