mirror of https://github.com/BOINC/boinc.git
- client: extra debug msgs (remove when done)
svn path=/trunk/boinc/; revision=19130
This commit is contained in:
parent
86ee2f5753
commit
6582b63cbc
|
@ -7974,3 +7974,8 @@ David 22 Sept 2009
|
|||
app_start.cpp
|
||||
client_types.h
|
||||
cpu_sched.cpp
|
||||
|
||||
David 22 Sept 2009
|
||||
- client: extra debug msgs (remove when done)
|
||||
client/
|
||||
cpu_sched.cpp
|
||||
|
|
|
@ -325,6 +325,12 @@ RESULT* first_coproc_result() {
|
|||
if (rp->project->non_cpu_intensive) continue;
|
||||
if (rp->already_selected) continue;
|
||||
if (!rp->uses_coprocs()) continue;
|
||||
if (log_flags.cpu_sched_debug) {
|
||||
msg_printf(0, MSG_INFO,
|
||||
"[cpu_sched_debug] first coproc res: %s started %d recv %f",
|
||||
rp->name, rp->not_started()?0:1, rp->received_time
|
||||
);
|
||||
}
|
||||
if (!best) {
|
||||
best = rp;
|
||||
continue;
|
||||
|
@ -341,6 +347,12 @@ RESULT* first_coproc_result() {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (log_flags.cpu_sched_debug) {
|
||||
msg_printf(0, MSG_INFO,
|
||||
"[cpu_sched_debug] first coproc res: returning %s",
|
||||
best->name
|
||||
);
|
||||
}
|
||||
return best;
|
||||
}
|
||||
|
||||
|
|
|
@ -1360,7 +1360,7 @@ static void explain_to_user() {
|
|||
g_reply->set_delay(delay_time);
|
||||
}
|
||||
if (g_wreq->max_jobs_on_host_exceeded) {
|
||||
sprintf(helpful, "(reached limit of %d tasks)",
|
||||
sprintf(helpful, "(reached limit of %d tasks in progress)",
|
||||
g_wreq->max_jobs_on_host
|
||||
);
|
||||
g_reply->insert_message(helpful, "high");
|
||||
|
@ -1371,7 +1371,7 @@ static void explain_to_user() {
|
|||
);
|
||||
}
|
||||
if (g_wreq->max_jobs_on_host_cpu_exceeded) {
|
||||
sprintf(helpful, "(reached limit of %d CPU tasks)",
|
||||
sprintf(helpful, "(reached limit of %d CPU tasks in progress)",
|
||||
g_wreq->max_jobs_on_host_cpu
|
||||
);
|
||||
g_reply->insert_message(helpful, "high");
|
||||
|
@ -1382,7 +1382,7 @@ static void explain_to_user() {
|
|||
);
|
||||
}
|
||||
if (g_wreq->max_jobs_on_host_gpu_exceeded) {
|
||||
sprintf(helpful, "(reached limit of %d GPU tasks)",
|
||||
sprintf(helpful, "(reached limit of %d GPU tasks in progress)",
|
||||
g_wreq->max_jobs_on_host_gpu
|
||||
);
|
||||
g_reply->insert_message(helpful, "high");
|
||||
|
|
Loading…
Reference in New Issue