From 35c6e2ee1b20bc2bbd35a07789c04f40e5b67718 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 26 Sep 2009 05:23:05 +0000 Subject: [PATCH] - client: fix crashing bug in GPU message display - client: show a couple more config flags on startup svn path=/trunk/boinc/; revision=19191 --- checkin_notes | 8 ++++++++ client/client_state.cpp | 2 +- client/log_flags.cpp | 15 ++++++++++++--- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/checkin_notes b/checkin_notes index e41ad257b1..85379fb109 100644 --- a/checkin_notes +++ b/checkin_notes @@ -8159,3 +8159,11 @@ David 25 Sept 2009 html/ops/ manage_app_versions.php + +David 25 Sept 2009 + - client: fix crashing bug in GPU message display + - client: show a couple more config flags on startup + + client/ + client_state.cpp + log_flags.cpp diff --git a/client/client_state.cpp b/client/client_state.cpp index 92e2747907..e28ce916f1 100644 --- a/client/client_state.cpp +++ b/client/client_state.cpp @@ -265,7 +265,7 @@ int CLIENT_STATE::init() { msg_printf(NULL, MSG_INFO, descs[i].c_str()); } if (log_flags.coproc_debug) { - for (i=0; i=0) { + msg_printf(NULL, MSG_INFO, "Config: use at most %d CPUs", config.ncpus); + } if (config.no_gpus) { - msg_printf(NULL, MSG_INFO, "Configured to not use coprocessors"); + msg_printf(NULL, MSG_INFO, "Config: don't use coprocessors"); } if (config.no_priority_change) { - msg_printf(NULL, MSG_INFO, "Configured to run apps at regular priority"); + msg_printf(NULL, MSG_INFO, "Config: run apps at regular priority"); + } + if (config.report_results_immediately) { + msg_printf(NULL, MSG_INFO, "Config: report completed tasks immediately"); } if (config.use_all_gpus) { - msg_printf(NULL, MSG_INFO, "Configured to use all coprocessors"); + msg_printf(NULL, MSG_INFO, "Config: use all coprocessors"); + } + if (config.zero_debts) { + msg_printf(NULL, MSG_INFO, "Config: zero long-term debts on startup"); } }