summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-16 14:01:54 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-16 14:01:54 -0400
commit4ed5e3fd1e850956a2a8210253d1d70091f6135f (patch)
tree05261ca2db67deb3f21fac42b231f2bf930ba0a4 /pts-core/functions/pts-functions_system.php
parent0e0ff3d00bdb3f466af9b8183b2927fd9f5109f6 (diff)
downloadphoronix-test-suite-upstream-4ed5e3fd1e850956a2a8210253d1d70091f6135f.tar.gz
phoronix-test-suite-upstream-4ed5e3fd1e850956a2a8210253d1d70091f6135f.tar.xz
phoronix-test-suite-upstream-4ed5e3fd1e850956a2a8210253d1d70091f6135f.zip
pts-core: Track motherboard, processor, OS, and compiler version when a
test is installed, and if any one ends up getting changed, force re-install of that test
Diffstat (limited to 'pts-core/functions/pts-functions_system.php')
-rw-r--r--pts-core/functions/pts-functions_system.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_system.php b/pts-core/functions/pts-functions_system.php
index 47ee0ad..14d4bb5 100644
--- a/pts-core/functions/pts-functions_system.php
+++ b/pts-core/functions/pts-functions_system.php
@@ -53,5 +53,10 @@ function pts_sw_string()
return $sw_string;
}
+function pts_system_identifier_string()
+{
+ $components = array(processor_string(), main_system_hardware_string(), operating_system_release(), compiler_version());
+ return base64_encode(implode("__", $components));
+}
?>