- validator: message tweak

svn path=/trunk/boinc/; revision=21212
This commit is contained in:
David Anderson 2010-04-19 22:57:49 +00:00
parent 61195cb59d
commit 6893691ae2
2 changed files with 9 additions and 3 deletions

View File

@ -2954,3 +2954,9 @@ David 19 Apr 2010
boinc_db.cpp
sched/
credit.cpp
David 19 Apr 2010
- validator: message tweak
sched/
credit.cpp

View File

@ -634,7 +634,7 @@ int get_pfc(
if (config.debug_credit) {
log_messages.printf(MSG_NORMAL,
"[credit] [RESULT#%d] old client: raw credit %.2f\n",
pfc*COBBLESTONE_SCALE
r.id, pfc*COBBLESTONE_SCALE
);
}
bool do_scale = true;
@ -678,8 +678,8 @@ int get_pfc(
double raw_pfc = (r.elapsed_time * r.flops_estimate);
if (config.debug_credit) {
log_messages.printf(MSG_NORMAL,
"[credit] [RESULT#%d] raw credit: %.2f\n",
r.id, raw_pfc*COBBLESTONE_SCALE
"[credit] [RESULT#%d] raw credit: %.2f (%.2f sec, %.2f est GFLOPS)\n",
r.id, raw_pfc*COBBLESTONE_SCALE, r.elapsed_time, r.flops_estimate
);
}