From 8419f287494e1cd463046613cdf9480bcd9f947b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 1 Aug 2005 23:09:13 +0000 Subject: [PATCH] Added total execution time option --- template.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/template.php b/template.php index 03341ad..73f066c 100644 --- a/template.php +++ b/template.php @@ -293,7 +293,14 @@ class DB_Template // query information $debug .= "\n\t
  • Total Queries: " . sizeof($_isso->db->history) . " (sanitize($_SERVER['REQUEST_URI']) . ((strpos($_SERVER['REQUEST_URI'], '?') !== false) ? '&query=1' : '?query=1') . "\">?)
  • "; - + + // total execution time + if (defined('ISSO_MT_START')) + { + $_isso->load('functions'); + $debug .= "\n\t
  • Total Execution Time: " . round($_isso->funct->fetch_microtime_diff(ISSO_MT_START), 10) . "
  • "; + } + // debug notices $debug .= "\n\t
  • \n\t\t