diff options
-rw-r--r-- | EXPERIMENTAL-CHANGE-LOG | 1 | ||||
-rw-r--r-- | pts-core/functions/pts-functions_system_cpu.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/EXPERIMENTAL-CHANGE-LOG b/EXPERIMENTAL-CHANGE-LOG index 7c4a418..baba526 100644 --- a/EXPERIMENTAL-CHANGE-LOG +++ b/EXPERIMENTAL-CHANGE-LOG @@ -7,6 +7,7 @@ Phoronix Test Suite - pts-core: Don't complain about test mismatch in merge function if using a Global ID - pts-core: Prepatory work for SVG-driven test execution / identification - pts-core: Add support for reading hard disk model number and true disk capacity +- pts-core: Fix CPU frequency detection for Intel Xeon LV processors and potentially other CPU families - pts_Graph: Set viewbox in SVG renderer Phoronix Test Suite 1.4.0 Alpha 2 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); |