From 882c0cde5058e8804edb566b0e2f8237af0ba742 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 22 Oct 2008 22:25:16 +0000 Subject: [PATCH] - client: print #CPUs if not all svn path=/trunk/boinc/; revision=16270 --- client/cs_prefs.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/cs_prefs.cpp b/client/cs_prefs.cpp index 8cd0305edd..98d6cddf39 100644 --- a/client/cs_prefs.cpp +++ b/client/cs_prefs.cpp @@ -412,6 +412,11 @@ void CLIENT_STATE::read_global_prefs() { // max_cpus, bandwidth limits may have changed // set_ncpus(); + if (ncpus != host_info.p_ncpus) { + msg_printf(NULL, MSG_INFO, + "Preferences limit # CPUs to %d", ncpus + ); + } file_xfers->set_bandwidth_limits(true); file_xfers->set_bandwidth_limits(false); request_schedule_cpus("Prefs update");