yii\log\Logger::getElapsedTime PHP 메소드

getElapsedTime() 공개 메소드

This method calculates the difference between now and the timestamp defined by constant YII_BEGIN_TIME which is evaluated at the beginning of BaseYii class file.
public getElapsedTime ( ) : float
리턴 float the total elapsed time in seconds for current request.
    public function getElapsedTime()
    {
        return microtime(true) - YII_BEGIN_TIME;
    }