Remove the core count from the cpu info OSD message. It was often wrong and not rather important.
This commit is contained in:
parent
537d5ea942
commit
206fdde933
|
@ -205,14 +205,7 @@ void CPUInfo::Detect()
|
||||||
// Turn the cpu info into a string we can show
|
// Turn the cpu info into a string we can show
|
||||||
std::string CPUInfo::Summarize()
|
std::string CPUInfo::Summarize()
|
||||||
{
|
{
|
||||||
std::string sum;
|
std::string sum(cpu_string);
|
||||||
if (num_cores == 1)
|
|
||||||
sum = StringFromFormat("%s, %i core", cpu_string, num_cores);
|
|
||||||
else
|
|
||||||
{
|
|
||||||
sum = StringFromFormat("%s, %i cores", cpu_string, num_cores);
|
|
||||||
if (HTT) sum += StringFromFormat(" (%i logical threads per physical core)", logical_cpu_count);
|
|
||||||
}
|
|
||||||
if (bSSE) sum += ", SSE";
|
if (bSSE) sum += ", SSE";
|
||||||
if (bSSE2) sum += ", SSE2";
|
if (bSSE2) sum += ", SSE2";
|
||||||
if (bSSE3) sum += ", SSE3";
|
if (bSSE3) sum += ", SSE3";
|
||||||
|
|
Loading…
Reference in New Issue