public function check($name)
    {
        if (array_key_exists($name, static::$marks)) {
            return number_format((microtime(true) - static::$marks[$name]) * 1000, 2);
        }

        return 0.0;
    }
public function check($name)
    {
        if (array_key_exists($name, static::$marks)) {
            return number_format((microtime(true) - static::$marks[$name]) * 1000, 2);
        }

        return 0.0;
    }
public function check ( $ name ) { if ( array_key_exists ( $ name , static :: $ marks ) ) { return number_format ( ( microtime ( true ) - static :: $ marks [ $ name ] ) * 1000 , 2 ) ; } return 0.0 ; }
Gets elapsed time in milliseconds for given benchmark.

@param string $name

@return float
Gets elapsed time in milliseconds for given benchmark .