summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-17 20:24:54 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-17 20:24:54 -0500
commit5f9cf59a784c9c9f9ba40c58ba990117e6a92a03 (patch)
tree0059502eb62ed040fa8252b38c42fab8d23d75be /pts-core/functions/pts-functions_system.php
parentc525d5cbb58d92e9d97147f510cc6c6973e6ef51 (diff)
downloadphoronix-test-suite-upstream-5f9cf59a784c9c9f9ba40c58ba990117e6a92a03.tar.gz
phoronix-test-suite-upstream-5f9cf59a784c9c9f9ba40c58ba990117e6a92a03.tar.xz
phoronix-test-suite-upstream-5f9cf59a784c9c9f9ba40c58ba990117e6a92a03.zip
pts-core: Standardize hw_sys_* functions
Diffstat (limited to 'pts-core/functions/pts-functions_system.php')
-rw-r--r--pts-core/functions/pts-functions_system.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/pts-core/functions/pts-functions_system.php b/pts-core/functions/pts-functions_system.php
index 87f1326..f73cd00 100644
--- a/pts-core/functions/pts-functions_system.php
+++ b/pts-core/functions/pts-functions_system.php
@@ -33,10 +33,10 @@ function pts_hw_string()
$hardware = array();
array_push($hardware, "Processor: " . hw_cpu_string() . " (Total Cores: " . hw_cpu_core_count() . ")");
- array_push($hardware, "Motherboard: " . main_system_hardware_string());
- array_push($hardware, "Chipset: " . motherboard_chipset_string());
- array_push($hardware, "System Memory: " . system_memory_string());
- array_push($hardware, "Disk: " . system_hard_disks());
+ array_push($hardware, "Motherboard: " . hw_sys_motherboard_string());
+ array_push($hardware, "Chipset: " . hw_sys_chipset_string());
+ array_push($hardware, "System Memory: " . hw_sys_memory_string());
+ array_push($hardware, "Disk: " . hw_sys_hdd_string());
array_push($hardware, "Graphics: " . hw_gpu_string() . hw_gpu_frequency());
array_push($hardware, "Screen Resolution: " . hw_gpu_current_mode());
@@ -64,7 +64,7 @@ function pts_sw_string()
}
function pts_system_identifier_string()
{
- $components = array(hw_cpu_string(), main_system_hardware_string(), operating_system_release(), compiler_version());
+ $components = array(hw_cpu_string(), hw_sys_motherboard_string(), operating_system_release(), compiler_version());
return base64_encode(implode("__", $components));
}