From 0b7aaa0303f4ab6b564290799839585ad793cbd9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 26 Jan 2009 18:01:30 +0000 Subject: [PATCH] client: improve backoff message svn path=/trunk/boinc/; revision=17021 --- client/work_fetch.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/work_fetch.cpp b/client/work_fetch.cpp index 8dde334460..edd47d82ba 100644 --- a/client/work_fetch.cpp +++ b/client/work_fetch.cpp @@ -153,10 +153,11 @@ void RSC_WORK_FETCH::print_state(char* name) { PROJECT* p = gstate.projects[i]; if (p->non_cpu_intensive) continue; 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 t %.2f int %.2f", + "[wfd] %s: runshare %.2f debt %.2f backoff dt %.2f int %.2f", name, - pwf.runnable_share, pwf.debt, pwf.backoff_time, pwf.backoff_interval + pwf.runnable_share, pwf.debt, bt, pwf.backoff_interval ); } }