From 72c57735eb9b40ccde6b898a389a3ae0aa6775b3 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 19 Feb 2009 21:32:54 +0000 Subject: [PATCH] - client: add more info to messages svn path=/trunk/boinc/; revision=17309 --- checkin_notes | 10 ++++++++-- client/work_fetch.cpp | 8 ++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/checkin_notes b/checkin_notes index a7b10e13b2..b1b156cca6 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1708,7 +1708,7 @@ David 18 Feb 2009 workunit.php result.php -David 18 Feb 2009 +David 19 Feb 2009 - scheduler: make host.p_features available to app_plan() db/ @@ -1716,7 +1716,7 @@ David 18 Feb 2009 sched/ server_types.cpp -David 18 Feb 2009 +David 19 Feb 2009 - web: in lists of tasks, give the option of showing names instead of IDs html/ @@ -1726,3 +1726,9 @@ David 18 Feb 2009 user/ results.php workunit.php + +David 19 Feb 2009 + - client: add more info to messages + + client/ + work_fetch.cpp diff --git a/client/work_fetch.cpp b/client/work_fetch.cpp index 9fc6831cf1..c779652948 100644 --- a/client/work_fetch.cpp +++ b/client/work_fetch.cpp @@ -187,9 +187,13 @@ void RSC_WORK_FETCH::print_state(char* name) { RSC_PROJECT_WORK_FETCH& pwf = project_state(p); double bt = pwf.backoff_time>gstate.now?pwf.backoff_time-gstate.now:0; msg_printf(p, MSG_INFO, - "[wfd] %s: runshare %.2f debt %.2f backoff dt %.2f int %.2f", + "[wfd] %s: runshare %.2f debt %.2f backoff dt %.2f int %.2f%s%s%s%s", name, - pwf.runnable_share, pwf.debt, bt, pwf.backoff_interval + pwf.runnable_share, pwf.debt, bt, pwf.backoff_interval, + p->suspended_via_gui?" (susp via GUI)":"", + p->master_url_fetch_pending?" (master fetch pending)":"", + p->min_rpc_time > gstate.now?" (comm deferred)":"", + p->dont_request_more_work > gstate.now?" (no new tasks)":"" ); } }