[ Index ]

PHP Cross Reference of Nucleus CMS 3.32

title

Body

[close]

/skins/default/ -> show_benchmark.inc (source)

   1  <?
   2  if (!function_exists('getmtime'))
   3  {
   4    function getmtime()
   5    {
   6      $a = explode (' ',microtime());
   7      return(double) $a[0] + $a[1];
   8    }
   9  }
  10  
  11    global $StartTime, $SQLCount;
  12    $loadtime = getmtime() - $StartTime;
  13    printf("%.3f sec/%d queries", $loadtime, $SQLCount);
  14  ?>


Generated: Tue Feb 12 15:34:36 2008 Cross-referenced by PHPXref 0.7