summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_cpu.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-06-12 10:20:06 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-06-12 10:20:06 -0400
commit8e3a061c1ca98e1ad1a15f7d323846afde04b551 (patch)
tree9e38401b09a59688f0e4dec87ffc09ae2484c51c /pts-core/functions/pts-functions_system_cpu.php
parent721a7bfa35620aaa7095d221e70565636436262f (diff)
downloadphoronix-test-suite-upstream-8e3a061c1ca98e1ad1a15f7d323846afde04b551.tar.gz
phoronix-test-suite-upstream-8e3a061c1ca98e1ad1a15f7d323846afde04b551.tar.xz
phoronix-test-suite-upstream-8e3a061c1ca98e1ad1a15f7d323846afde04b551.zip
Tweak to pts-functions_system_cpu
Diffstat (limited to 'pts-core/functions/pts-functions_system_cpu.php')
-rw-r--r--pts-core/functions/pts-functions_system_cpu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_cpu.php b/pts-core/functions/pts-functions_system_cpu.php
index 8f2af53..a054f9e 100644
--- a/pts-core/functions/pts-functions_system_cpu.php
+++ b/pts-core/functions/pts-functions_system_cpu.php
@@ -11,7 +11,7 @@
function cpu_core_count()
{
$processors = read_cpuinfo("processor");
- $info = count($processors); // or could do array_pop($processors) + 1
+ $info = count($processors);
return $info;
}