diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-23 13:11:58 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-03 11:49:17 -0400 |
commit | 23061abebd8aec79a50de06c557a5e60b110bb0d (patch) | |
tree | b3f54a18baeeb49879b7283d4aedfe7df5486d71 /pts-core/functions/pts-functions_system_cpu.php | |
parent | 688ea6d88886b3a307372c14531c9c38c6b2993e (diff) | |
download | phoronix-test-suite-upstream-23061abebd8aec79a50de06c557a5e60b110bb0d.tar.gz phoronix-test-suite-upstream-23061abebd8aec79a50de06c557a5e60b110bb0d.tar.xz phoronix-test-suite-upstream-23061abebd8aec79a50de06c557a5e60b110bb0d.zip |
system_monitor 1.1 module. Eliminate all pts_record_* sensor functions
from pts-core and move into system_monitor. Move PTS_START_TIME and
PTS_END_TIME into pts-functions, and other cleaning work.
Diffstat (limited to 'pts-core/functions/pts-functions_system_cpu.php')
-rw-r--r-- | pts-core/functions/pts-functions_system_cpu.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/pts-core/functions/pts-functions_system_cpu.php b/pts-core/functions/pts-functions_system_cpu.php index d00a821..1c05066 100644 --- a/pts-core/functions/pts-functions_system_cpu.php +++ b/pts-core/functions/pts-functions_system_cpu.php @@ -138,14 +138,6 @@ function processor_temperature() return $temp_c; } -function pts_record_cpu_temperature() -{ - global $CPU_TEMPERATURE; - $temp = processor_temperature(); - - if($temp != -1) - array_push($CPU_TEMPERATURE, $temp); -} function pts_processor_power_savings_enabled() { $return_string = ""; @@ -194,12 +186,4 @@ function current_processor_frequency($cpu_core = 0) return $info; } -function pts_record_cpu_frequency() -{ - global $CPU_FREQ; - $speed = current_processor_frequency(); - - if($speed > 0) - array_push($CPU_FREQ, $speed); -} ?> |