diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-08 11:54:51 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-08 11:54:51 -0400 |
commit | fe7e15cdfd16c0e0c3fac347fac0c7356547b997 (patch) | |
tree | 0a0b7569c23addbd647071ae016a623967e2f52a /pts-core/functions/pts-functions_system_cpu.php | |
parent | e3c68fa81adcd5e48d78c7a3190c0292bddb2dcf (diff) | |
download | phoronix-test-suite-upstream-fe7e15cdfd16c0e0c3fac347fac0c7356547b997.tar.gz phoronix-test-suite-upstream-fe7e15cdfd16c0e0c3fac347fac0c7356547b997.tar.xz phoronix-test-suite-upstream-fe7e15cdfd16c0e0c3fac347fac0c7356547b997.zip |
pts-core: Fix CPU frequency detection for Intel Xeon LV processors and
potentially other CPU families
Diffstat (limited to 'pts-core/functions/pts-functions_system_cpu.php')
-rw-r--r-- | pts-core/functions/pts-functions_system_cpu.php | 2 |
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 eea6f02..faf5dae 100644 --- a/pts-core/functions/pts-functions_system_cpu.php +++ b/pts-core/functions/pts-functions_system_cpu.php @@ -161,7 +161,7 @@ function processor_frequency($cpu_core = 0) else $info = $cpu_speeds[0]; - $info = pts_trim_double(intval($info) / 1000, 2); + $info = pts_trim_double($info / 1000, 2); } else $info = current_processor_frequency($cpu_core); |