public function getTime($raw = false, $format = null, $name = self::DEFAULT_NAME)
    {
        $elapsed = $this->end_time[$name] - $this->start_time[$name];
        return $raw ? $elapsed : self::readableElapsedTime($elapsed, $format, $name);
    }
public function getTime($raw = false, $format = null, $name = self::DEFAULT_NAME)
    {
        $elapsed = $this->end_time[$name] - $this->start_time[$name];
        return $raw ? $elapsed : self::readableElapsedTime($elapsed, $format, $name);
    }
public function getTime ( $ raw = false , $ format = null , $ name = self :: DEFAULT_NAME ) { $ elapsed = $ this -> end_time [ $ name ] - $ this -> start_time [ $ name ] ; return $ raw ? $ elapsed : self :: readableElapsedTime ( $ elapsed , $ format , $ name ) ; }
Returns the elapsed time, readable or not
@param  boolean $raw    Whether the result must be human readable
@param  string  $format The format to display (printf format)
@param string   $name
@return string|float
Returns the elapsed time readable or not