up bug fix for branch one

This commit is contained in:
inxi-svn 2009-02-03 20:42:40 +00:00
parent da08950acc
commit cc85ccbce5

33
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.9.8-b1-t1
#### version: 0.9.8-b1-t2
#### Date: 3 February 2009
########################################################################
#### SPECIAL THANKS
@ -1587,32 +1587,11 @@ get_cpu_ht_multicore_smp_data()
else {
type = "SMP"
}
# if ( 1.1 == 1 ){print "yes"}else{print "no"}
# if ( physical_cpu_count == 1 ) {
# if ( physical_cpu_count == core_count ) {
# type = "HT" # this is more than likely a P4 w/HT or an Atom 270
# }
# else {
# if ( core_count == num_of_cores && core_count == num_of_processors) {
# type = "MCP"
# cores = core_count
# }
# else {
# type = "HT" # this is i7 or Atom 330 or some Xeons
# cores = core_count
# }
# }
# }
# else {
# type = "SMP"
# processors = physical_cpu_count
#
# if ( num_of_cores > 1 ) {
# type = "SMPMC" # processors could be both MCP and SMP
# cores = core_count
# }
# }
}
# make sure to handle up cpus too
else {
core_count = 1
physical_cpu_count = 1
}
print type " " physical_cpu_count " " core_count
}