From 84a53855ade756dba5fafcc4cba444f75ae34cd3 Mon Sep 17 00:00:00 2001 From: Bernd Machenschalk Date: Tue, 8 May 2012 12:51:20 +0000 Subject: [PATCH] scheduler: don't override avg_ncpus per default svn path=/trunk/boinc/; revision=25657 --- checkin_notes | 6 ++++++ sched/plan_class_spec.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 3c0ba59bf9..046247ba66 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3737,3 +3737,9 @@ Bernd 8 May 2012 sched/ plan_class_spec.cpp,h +Bernd 8 May 2012 + - scheduler: don't override avg_ncpus per default + + sched/ + plan_class_spec.cpp + diff --git a/sched/plan_class_spec.cpp b/sched/plan_class_spec.cpp index 003531384f..5927a879b3 100644 --- a/sched/plan_class_spec.cpp +++ b/sched/plan_class_spec.cpp @@ -780,7 +780,7 @@ PLAN_CLASS_SPEC::PLAN_CLASS_SPEC() { peak_flops_factor = 1.0; cpu_flops = 0; gpu_flops = 0; - avg_ncpus = 1.0; + avg_ncpus = 0; max_ncpus = 1.0; ngpus = 0; /* defaults to CPU plan classes */ }