summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_cpu.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-03 16:13:46 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-03 16:13:46 -0400
commit1d9eb8738a828a489a597cef2fbb93f6f6be9b54 (patch)
tree3ef0d35e329345a6adb21fdb640692ae67344604 /pts-core/functions/pts-functions_system_cpu.php
parent11f8a439beb997f21e2e3ba87de078bd78bf2ed8 (diff)
downloadphoronix-test-suite-upstream-1d9eb8738a828a489a597cef2fbb93f6f6be9b54.tar.gz
phoronix-test-suite-upstream-1d9eb8738a828a489a597cef2fbb93f6f6be9b54.tar.xz
phoronix-test-suite-upstream-1d9eb8738a828a489a597cef2fbb93f6f6be9b54.zip
pts-core: Should be a whole lot more trivial fixes...
Diffstat (limited to 'pts-core/functions/pts-functions_system_cpu.php')
-rw-r--r--pts-core/functions/pts-functions_system_cpu.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_cpu.php b/pts-core/functions/pts-functions_system_cpu.php
index 1f7a21d..060ff5e 100644
--- a/pts-core/functions/pts-functions_system_cpu.php
+++ b/pts-core/functions/pts-functions_system_cpu.php
@@ -195,7 +195,6 @@ function pts_processor_power_savings_enabled()
}
function current_processor_frequency($cpu_core = 0)
{
-
if(is_file("/sys/devices/system/cpu/cpu" . $cpu_core . "/cpufreq/scaling_cur_freq")) // The ideal way, with modern CPUs using CnQ or EIST and cpuinfo reporting the current
{
$info = trim(file_get_contents("/sys/devices/system/cpu/cpu" . $cpu_core . "/cpufreq/scaling_cur_freq"));