- client: message tweak

svn path=/trunk/boinc/; revision=21589
This commit is contained in:
David Anderson 2010-05-19 19:48:57 +00:00
parent e79b4a1cf6
commit 35433e418b
2 changed files with 87 additions and 79 deletions

View File

@ -3794,3 +3794,9 @@ David 19 May 2010
clientgui/
ViewWork.cpp
David 19 May 2010
- client: message tweak
client/
app_control.cpp

View File

@ -614,8 +614,10 @@ bool ACTIVE_TASK_SET::check_rsc_limits_exceeded() {
if (atp->task_state() != PROCESS_EXECUTING) continue;
if (!atp->result->project->non_cpu_intensive && (atp->elapsed_time > atp->max_elapsed_time)) {
msg_printf(atp->result->project, MSG_INFO,
"Aborting task %s: exceeded elapsed time limit %f\n",
atp->result->name, atp->max_elapsed_time
"Aborting task %s: exceeded elapsed time limit %.2f (%.2fG/%.2fG)",
atp->result->name, atp->max_elapsed_time,
atp->result->wup->rsc_fpops_bound/1e9,
atp->result->avp->flops/1e9
);
atp->abort_task(ERR_RSC_LIMIT_EXCEEDED, "Maximum elapsed time exceeded");
did_anything = true;