- client: instead of saying "comm deferred",

say "project backoff XXX.XX".


svn path=/trunk/boinc/; revision=25264
This commit is contained in:
David Anderson 2012-02-15 05:49:12 +00:00
parent b55bbbb237
commit bcc3ad6add
2 changed files with 11 additions and 2 deletions

View File

@ -1708,3 +1708,10 @@ David 14 Feb 2012
vda/
vdad.cpp
vda_lib.h
David 14 Feb 2012
- client: instead of saying "comm deferred",
say "project backoff XXX.XX".
client/
work_fetch.cpp

View File

@ -408,6 +408,7 @@ void RSC_WORK_FETCH::print_state(const char* name) {
busy_time_estimator.get_busy_time()
);
for (unsigned int i=0; i<gstate.projects.size(); i++) {
char buf[256];
PROJECT* p = gstate.projects[i];
if (p->non_cpu_intensive) continue;
RSC_PROJECT_WORK_FETCH& pwf = project_state(p);
@ -416,13 +417,14 @@ void RSC_WORK_FETCH::print_state(const char* name) {
bool no_rsc_apps = p->no_rsc_apps[rsc_type];
bool no_rsc_ams = p->no_rsc_ams[rsc_type];
double bt = pwf.backoff_time>gstate.now?pwf.backoff_time-gstate.now:0;
sprintf(buf, " (project backoff %.2f)", p->min_rpc_time - gstate.now);
msg_printf(p, MSG_INFO,
"[work_fetch] %s: fetch share %.2f rec %.5f prio %.5f backoff dt %.2f int %.2f%s%s%s%s%s%s%s%s%s",
"[work_fetch] %s: fetch share %.2f rec %.5f prio %.5f rsc backoff (dt %.2f, inc %.2f)%s%s%s%s%s%s%s%s%s",
name,
pwf.fetchable_share, p->pwf.rec, p->sched_priority, 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->min_rpc_time > gstate.now?buf:"",
p->dont_request_more_work?" (no new tasks)":"",
p->too_many_uploading_results?" (too many uploads)":"",
no_rsc_pref?" (blocked by prefs)":"",