From 1b9ad8669496be4473904bbb353dab8691fbdc4e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 2 Apr 2013 12:31:32 -0700 Subject: [PATCH] - client: don't prefix messages with [task] --- client/cpu_sched.cpp | 2 +- client/cs_prefs.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/cpu_sched.cpp b/client/cpu_sched.cpp index c95dc2814f..a5868d212f 100644 --- a/client/cpu_sched.cpp +++ b/client/cpu_sched.cpp @@ -1001,7 +1001,7 @@ static inline bool more_important(RESULT* r0, RESULT* r1) { if (!unfin0 && unfin1) return false; // favor jobs selected first by schedule_cpus() - // (e.g., because their project has high STD) + // (e.g., because their project has high sched priority) // if (r0->seqno < r1->seqno) return true; if (r0->seqno > r1->seqno) return false; diff --git a/client/cs_prefs.cpp b/client/cs_prefs.cpp index 8934a42636..34510e6b51 100644 --- a/client/cs_prefs.cpp +++ b/client/cs_prefs.cpp @@ -311,12 +311,12 @@ int CLIENT_STATE::check_suspend_processing() { if (old_gpu_suspend_reason && !gpu_suspend_reason) { if (log_flags.task) { - msg_printf(NULL, MSG_INFO, "[task] Resuming GPU computation"); + msg_printf(NULL, MSG_INFO, "Resuming GPU computation"); } request_schedule_cpus("GPU resumption"); } else if (!old_gpu_suspend_reason && gpu_suspend_reason) { if (log_flags.task) { - msg_printf(NULL, MSG_INFO, "[task] Suspending GPU computation - %s", + msg_printf(NULL, MSG_INFO, "Suspending GPU computation - %s", suspend_reason_string(gpu_suspend_reason) ); } @@ -335,7 +335,7 @@ int CLIENT_STATE::suspend_tasks(int reason) { } else { if (log_flags.task) { msg_printf(NULL, MSG_INFO, - "[task] Suspending computation - %s", + "Suspending computation - %s", suspend_reason_string(reason) ); } @@ -352,7 +352,7 @@ int CLIENT_STATE::resume_tasks(int reason) { active_tasks.unsuspend_all(); } else { if (log_flags.task) { - msg_printf(NULL, MSG_INFO, "[task] Resuming computation"); + msg_printf(NULL, MSG_INFO, "Resuming computation"); } active_tasks.unsuspend_all(); request_schedule_cpus("Resuming computation");