Location: PHPKode > projects > Nucleus CMS Weblog > nucleus3.51/skins/default/show_benchmark.inc
<?php
if (!function_exists('getmtime'))
{
  function getmtime()
  {
    $a = explode (' ', microtime());
    return(double) $a[0] + $a[1];
  }
}

  global $StartTime, $SQLCount;
  $loadtime = getmtime() - $StartTime;
  printf("%.3f sec/%d queries", $loadtime, $SQLCount);
?>
Return current item: Nucleus CMS Weblog