From 7fc6db685ea6e007c1706c493e2bed20e6e41a4a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 28 Jun 2006 03:10:49 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10532 --- checkin_notes | 7 +++++++ client/cpu_sched.C | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 555b81c482..7ec8779cb9 100755 --- a/checkin_notes +++ b/checkin_notes @@ -6966,3 +6966,10 @@ Charlie 27 June 2006 mac_build/ boinc.xcodeproj/ project.pbxproj + +David 27 June 2006 + - CPU sched fix (minutes*60) + From John McLeod + + client/ + cpu_sched.C diff --git a/client/cpu_sched.C b/client/cpu_sched.C index 6d7f5c7e90..cc8c389b29 100644 --- a/client/cpu_sched.C +++ b/client/cpu_sched.C @@ -585,7 +585,7 @@ bool CLIENT_STATE::enforce_schedule() { atp = running_tasks[0]; bool running_beyond_sched_period = gstate.now - atp->episode_start_wall_time - > gstate.global_prefs.cpu_scheduling_period_minutes; + > gstate.global_prefs.cpu_scheduling_period_minutes*60; bool checkpointed_recently = atp->checkpoint_wall_time > atp->episode_start_wall_time; if (rp->project->deadlines_missed