This was an idea from CW.

This commit is contained in:
skeeter 2002-08-14 00:04:25 +00:00
parent 89ebd8ea8a
commit 285ab2ac65

View File

@ -72,6 +72,18 @@
define('DEBUG_DATATYPES', True); define('DEBUG_DATATYPES', True);
define('DEBUG_LEVEL', 3); define('DEBUG_LEVEL', 3);
define('DEBUG_OUTPUT', 2); /* 1 = screen, 2 = DB (not supported with PHP3). For both use 3. */ define('DEBUG_OUTPUT', 2); /* 1 = screen, 2 = DB (not supported with PHP3). For both use 3. */
define('DEBUG_TIMER', False);
function perfgetmicrotime()
{
list($usec, $sec) = explode(' ',microtime());
return ((float)$usec + (float)$sec);
}
if (DEBUG_TIMER)
{
$GLOBALS['debug_timer_start'] = perfgetmicrotime();
}
/**************************************************************************\ /**************************************************************************\
* Do not edit these lines * * Do not edit these lines *