From a4e320b1a15a8fc96645d09d7e0adcf3ca471df1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 10 Mar 2015 13:18:01 -0700 Subject: [PATCH] client: show more config options at startup --- client/log_flags.cpp | 120 ++++++++++++++++++++++++------------------- 1 file changed, 66 insertions(+), 54 deletions(-) diff --git a/client/log_flags.cpp b/client/log_flags.cpp index a7d47742fd..c33feb1173 100644 --- a/client/log_flags.cpp +++ b/client/log_flags.cpp @@ -153,60 +153,6 @@ static void show_exclude_gpu(EXCLUDE_GPU& e) { // void CC_CONFIG::show() { unsigned int i; - if (ncpus>0) { - msg_printf(NULL, MSG_INFO, "Config: simulate %d CPUs", cc_config.ncpus); - } - if (no_gpus) { - msg_printf(NULL, MSG_INFO, "Config: don't use coprocessors"); - } - if (dont_use_vbox) { - msg_printf(NULL, MSG_INFO, "Config: don't use VirtualBox"); - } - if (no_info_fetch) { - msg_printf(NULL, MSG_INFO, "Config: don't fetch project list or client version info"); - } - if (no_priority_change) { - msg_printf(NULL, MSG_INFO, "Config: run apps at regular priority"); - } - if (report_results_immediately) { - msg_printf(NULL, MSG_INFO, "Config: report completed tasks immediately"); - } - if (use_all_gpus) { - msg_printf(NULL, MSG_INFO, "Config: use all coprocessors"); - } - if (fetch_minimal_work) { - msg_printf(NULL, MSG_INFO, "Config: fetch minimal work"); - } - if (max_event_log_lines != DEFAULT_MAX_EVENT_LOG_LINES) { - if (max_event_log_lines) { - msg_printf(NULL, MSG_INFO, - "Config: event log limit %d lines", max_event_log_lines - ); - } else { - msg_printf(NULL, MSG_INFO, "Config: event log limit disabled"); - } - } - if (fetch_on_update) { - msg_printf(NULL, MSG_INFO, "Config: fetch on update"); - } - for (int j=1; j0) { + msg_printf(NULL, MSG_INFO, "Config: simulate %d CPUs", cc_config.ncpus); + } + if (no_gpus) { + msg_printf(NULL, MSG_INFO, "Config: don't use coprocessors"); + } + if (no_info_fetch) { + msg_printf(NULL, MSG_INFO, "Config: don't fetch project list or client version info"); + } + if (no_priority_change) { + msg_printf(NULL, MSG_INFO, "Config: run apps at regular priority"); + } + if (report_results_immediately) { + msg_printf(NULL, MSG_INFO, "Config: report completed tasks immediately"); + } + if (use_all_gpus) { + msg_printf(NULL, MSG_INFO, "Config: use all coprocessors"); + } if (vbox_window) { msg_printf(NULL, MSG_INFO, "Config: open console window for VirtualBox applications"