- client: add more info to <work_fetch_debug> messages

svn path=/trunk/boinc/; revision=17309
This commit is contained in:
David Anderson 2009-02-19 21:32:54 +00:00
parent 99a15ab052
commit 72c57735eb
2 changed files with 14 additions and 4 deletions

View File

@ -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 <work_fetch_debug> messages
client/
work_fetch.cpp

View File

@ -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)":""
);
}
}