From ff8e00536a5a2370dcf45a76ec59e37bc1ec2105 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 9 Sep 2004 00:45:46 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4166 --- client/cs_apps.C | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/cs_apps.C b/client/cs_apps.C index 7bd81bdd92..62d5620ee8 100644 --- a/client/cs_apps.C +++ b/client/cs_apps.C @@ -350,6 +350,8 @@ bool CLIENT_STATE::schedule_cpus(bool must_reschedule) { double vm_limit; unsigned int i; + SCOPE_MSG_LOG scope_messages(log_messages, CLIENT_MSG_LOG::DEBUG_TASK); + // Reschedule every cpu_sched_period seconds or as needed // elapsed_time = time(0) - cpu_sched_last_time; @@ -423,7 +425,10 @@ bool CLIENT_STATE::schedule_cpus(bool must_reschedule) { p->anticipated_debt = p->debt; } p->next_runnable_result = NULL; - //msg_printf(p, MSG_INFO, "debt: %f", p->debt); + scope_messages.printf( + "CLIENT_STATE::schedule_cpus(): overall project debt; project '%s', debt '%f'\n", + p->project_name, p->debt + ); } // schedule tasks for projects in order of decreasing anticipated debt