diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-03 16:13:46 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-03 16:13:46 -0400 |
commit | 1d9eb8738a828a489a597cef2fbb93f6f6be9b54 (patch) | |
tree | 3ef0d35e329345a6adb21fdb640692ae67344604 /pts-core/functions/pts-functions_system_cpu.php | |
parent | 11f8a439beb997f21e2e3ba87de078bd78bf2ed8 (diff) | |
download | phoronix-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.php | 1 |
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")); |