summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-10-23 16:48:58 +0100
committerAndrew Dolgov <[email protected]>2005-10-23 16:48:58 +0100
commit406d948993c54b78260f42cc544f893eb6e75793 (patch)
tree3244f41ed895d6ee5374d00c2fe9fbccf6e7ab4d /functions.php
parentfc69e64169acac42622be2fcf3fba14711b11768 (diff)
basic profiling information in backend.php
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 888b0e6e8..2176b8b77 100644
--- a/functions.php
+++ b/functions.php
@@ -420,4 +420,9 @@
}
+ function getmicrotime() {
+ list($usec, $sec) = explode(" ",microtime());
+ return ((float)$usec + (float)$sec);
+ }
+
?>