corrected the cpu input, accidentally added bugfix to wrong line.

This commit is contained in:
Trash80.v2.0 2009-08-05 04:59:55 +00:00
parent 242dc4e829
commit 69b0694e91

6
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 1.1.11
#### version: 1.1.12
#### Date: August 4 2009
########################################################################
#### SPECIAL THANKS
@ -1999,11 +1999,11 @@ get_cpu_ht_multicore_smp_data()
# looking at logical processor counts over 1, which means either HT, SMP or MCP
# http://en.wikipedia.org/wiki/Symmetric_multiprocessing
if ( processor_logical_count > 1 && core_count > 1 ) {
if ( processor_logical_count > 1 ) {
if ( processor_logical_count > core_count && physical_cpu_count > 1 ) {
type = "SMP-HT" # could be Xeon/P4 HT dual cpu
}
else if ( processor_logical_count > core_count ) {
else if ( processor_logical_count > core_count && core_count > 1) {
type = "HT" # this is more than likely a P4 w/HT or an Atom 270
}
else {