'."\n"; }
if ($foot2 != '') { $foot1 .= $foot2.'
'."\n"; }
if ($foot3 != '') { $foot1 .= $foot3.'
'."\n"; }
if (CPG_DEBUG || is_admin()) {
$total_time = (microtime(true) - START_TIME - $db->time);
$foot1 .= sprintf(_PAGEFOOTER, round($total_time,4), $db->num_queries, round($db->time,4));
// only works if your PHP is compiled with the --enable-memory-limit configuration option
if (function_exists('memory_get_usage') && $start_mem > 0) {
$total_mem = memory_get_usage()-$start_mem;
$foot1 .= '
Memory Usage: '.(($total_mem >= 1048576) ? round((round($total_mem / 1048576 * 100) / 100), 2).' MB' : (($total_mem >= 1024) ? round((round($total_mem / 1024 * 100) / 100), 2).' KB' : $total_mem.' Bytes'));
}
$foot1 .= '
';
}
// MS-Analysis Entry
// require( "modules/MS_Analysis/mstrack.php" );
$foot1 = '