示例#1
0
 /**
  * Gets the total query execution time to $precision decimal places
  *
  * @access public
  * @param int $precision The precision to apply to the time
  * @return float|string
  */
 public function queryTimeTotal($precision = 0)
 {
     return Application_Model_Queryprofiler::getQueryTimeTotal($precision);
 }
示例#2
0
 public static function setQueryTime($time)
 {
     self::$_queryTime = $time;
     self::$_queryStack[self::$_queryId]['time'] = self::$_queryTime;
     self::$_queryTimeTotal += self::$_queryTime;
 }