yii\log\Logger::getElapsedTime PHP Méthode

getElapsedTime() public méthode

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
Résultat float the total elapsed time in seconds for current request.
    public function getElapsedTime()
    {
        return microtime(true) - YII_BEGIN_TIME;
    }