summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-init.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-19 13:17:41 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-19 13:17:41 -0500
commitabe07500ebddda9130a095d042630b994aea6609 (patch)
tree0b894b7966e6ce6c31d0494a614c6a9b822f452a /pts-core/functions/pts-init.php
parent26fdc1f0dda56177b83a0f84fb8ce2682fa36300 (diff)
downloadphoronix-test-suite-upstream-abe07500ebddda9130a095d042630b994aea6609.tar.gz
phoronix-test-suite-upstream-abe07500ebddda9130a095d042630b994aea6609.tar.xz
phoronix-test-suite-upstream-abe07500ebddda9130a095d042630b994aea6609.zip
pts-core: PTS_START_TIME -> PTS_INIT_TIME and add pts_elapsed_time() function to return
the time (in seconds) that the option or pts-core has been running
Diffstat (limited to 'pts-core/functions/pts-init.php')
-rw-r--r--pts-core/functions/pts-init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php
index 1a74517..46ae5e9 100644
--- a/pts-core/functions/pts-init.php
+++ b/pts-core/functions/pts-init.php
@@ -62,7 +62,7 @@ function pts_basic_init()
define("PTS_TEMP_DIR", "/tmp/phoronix-test-suite/");
define("PHP_BIN", getenv("PHP_BIN"));
define("THIS_RUN_TIME", time());
- define("PTS_START_TIME", THIS_RUN_TIME);
+ define("PTS_INIT_TIME", time());
// Run in debug mode?
if(($debug_file = getenv("DEBUG_FILE")) != false || getenv("DEBUG") == "1" || getenv("PTS_DEBUG") == "1")