client: don't display processor cache if we don't know it; skip ATI stuff on Macs.

svn path=/trunk/boinc/; revision=19040
This commit is contained in:
Charlie Fenton 2009-09-10 22:06:20 +00:00
parent ca98190642
commit d6fa3f4f22
2 changed files with 8 additions and 4 deletions

View File

@ -168,10 +168,12 @@ void CLIENT_STATE::show_host_info() {
"Processor: %d %s %s",
host_info.p_ncpus, host_info.p_vendor, host_info.p_model
);
msg_printf(NULL, MSG_INFO,
"Processor: %s cache",
buf
);
if (host_info.m_cache > 0) {
msg_printf(NULL, MSG_INFO,
"Processor: %s cache",
buf
);
}
msg_printf(NULL, MSG_INFO,
"Processor features: %s", host_info.p_features
);

View File

@ -126,7 +126,9 @@ void COPROCS::summary_string(char* buf, int len) {
vector<string> COPROCS::get(bool use_all) {
vector<string> strings;
COPROC_CUDA::get(*this, strings, use_all);
#ifndef __APPLE__ // ATI does not yet support CAL on Macs
COPROC_ATI::get(*this, strings);
#endif
return strings;
}