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 #!/bin/bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### version: 0.9.8-b1-t1 #### version: 0.9.8-b1-t2
#### Date: 3 February 2009 #### Date: 3 February 2009
######################################################################## ########################################################################
#### SPECIAL THANKS #### SPECIAL THANKS
@ -1587,32 +1587,11 @@ get_cpu_ht_multicore_smp_data()
else { else {
type = "SMP" type = "SMP"
} }
# if ( 1.1 == 1 ){print "yes"}else{print "no"} }
# make sure to handle up cpus too
# if ( physical_cpu_count == 1 ) { else {
# if ( physical_cpu_count == core_count ) { core_count = 1
# type = "HT" # this is more than likely a P4 w/HT or an Atom 270 physical_cpu_count = 1
# }
# 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
# }
# }
} }
print type " " physical_cpu_count " " core_count print type " " physical_cpu_count " " core_count
} }