another cell try

This commit is contained in:
inxi-svn 2008-11-04 04:10:03 +00:00
parent 1871cef434
commit bacb436798

6
inxi
View file

@ -773,9 +773,9 @@ get_cpu_data()
# Therefore PATCH to use [ \t]+ when TESTING!
/^processor\t+:/ { nr = $NF }
/^model name/ { cpu[nr, "model"] = $NF }
/^model name|^cpu\t+:/ { cpu[nr, "model"] = $NF }
/^cpu MHz/ {
/^cpu MHz|^clock\t+:/ {
if (!min) {
min = $NF
}
@ -786,8 +786,6 @@ get_cpu_data()
if ($NF > max) { max = $NF }
cpu[nr, "speed"] = $NF
}
## this is for PS3 only, Cell cpus
/^clock/ { cpu[nr, "speed"] = $NF }
/^cache size/ { cpu[nr, "cache"] = $NF }