public function getExecutionTimeProportion()
    {
        if ($this->getExecutionTime() && $this->getProcess()->getAvgExecutionTime()) {
            return round($this->getExecutionTime() / $this->getProcess()->getAvgExecutionTime(), 2);
        } elseif ($this->getExecutionTime()) {
            return $this->getExecutionTime();
        } elseif ($this->getProcess()->getAvgExecutionTime()) {
            return 0;
        } else {
            return 1;
        }
    }
public function getExecutionTimeProportion()
    {
        if ($this->getExecutionTime() && $this->getProcess()->getAvgExecutionTime()) {
            return round($this->getExecutionTime() / $this->getProcess()->getAvgExecutionTime(), 2);
        } elseif ($this->getExecutionTime()) {
            return $this->getExecutionTime();
        } elseif ($this->getProcess()->getAvgExecutionTime()) {
            return 0;
        } else {
            return 1;
        }
    }
public function getExecutionTimeProportion ( ) { if ( $ this -> getExecutionTime ( ) && $ this -> getProcess ( ) -> getAvgExecutionTime ( ) ) { return round ( $ this -> getExecutionTime ( ) / $ this -> getProcess ( ) -> getAvgExecutionTime ( ) , 2 ) ; } elseif ( $ this -> getExecutionTime ( ) ) { return $ this -> getExecutionTime ( ) ; } elseif ( $ this -> getProcess ( ) -> getAvgExecutionTime ( ) ) { return 0 ; } else { return 1 ; } }
Returns proportion between execution time and avg execution time

@return float
Returns proportion between execution time and avg execution time