Illuminate\Database\Connection::getElapsedTime PHP 메소드

getElapsedTime() 보호된 메소드

Get the elapsed time since a given starting point.
protected getElapsedTime ( integer $start ) : float
$start integer
리턴 float
    protected function getElapsedTime($start)
    {
        return round((microtime(true) - $start) * 1000, 2);
    }

Usage Example

예제 #1
0
 /**
  * Get the elapsed time since a given starting point.
  *
  * @param  int    $start
  * @return float
  */
 public function getElapsedTime($start)
 {
     return parent::getElapsedTime($start);
 }