[ Index ]

PHP Cross Reference of Nucleus CMS v3.51 code documentation

title

Body

[close]

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

   1  <?php
   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: Sun Aug 1 03:56:06 2010
Open Source related documentation for developers.