| Size: 301 Comment:  | Size: 1472 Comment:  | 
| Deletions are marked like this. | Additions are marked like this. | 
| Line 3: | Line 3: | 
| {{{ Performance for entire task using the enhancement when possible Speedup = ----------------------------------------------------------------- Performance for entire taks without using the enhancement | {{{#!latex2 \begin{equation} \label{eq:speedup} Speedup = \frac{Performance~using~enhancement~when~possible}{Performance~without~enhancement} \end{equation} | 
| Line 11: | Line 11: | 
| Notice that we are talking about the entire task here and that performance (speedup) is defined in terms of execution time! So we have to define the following: {{{#!latex2 \begin{equation} SpeedupOverall = \frac{Old~Execution~Time}{New~Execution~Time} \end{equation} \begin{equation} New~Execution~Time = Old~Exec~Time \left( 1 - FractionEnhanced + \frac{FractionEnhanced}{SpeedupEnhanced}\right) \end{equation} }}} {{{ FractionEnhanced New Execution Time = Old Execution Time ( (1 - FractionEnhanced) + ------------------ ) SpeedupEnhanced or Execution Time affected by Improvement New Execution Time = -------------------------------------- + Execution Time unaffected Amount of Improvement (x times) So we have 1 SpeedupOverall = -------------------------------------------- FractionEnhanced (1 - FractionEnhanced) + ------------------ ) SpeedupEnhanced }}} | 
Back to ComputerTerms
\begin{equation} \label{eq:speedup}
   Speedup = \frac{Performance~using~enhancement~when~possible}{Performance~without~enhancement}
\end{equation}See SpeedUp
Notice that we are talking about the entire task here and that performance (speedup) is defined in terms of execution time! So we have to define the following:
\begin{equation}
   SpeedupOverall = \frac{Old~Execution~Time}{New~Execution~Time}
\end{equation}
\begin{equation}
   New~Execution~Time = Old~Exec~Time \left( 1 - FractionEnhanced + \frac{FractionEnhanced}{SpeedupEnhanced}\right)
\end{equation}                                                                    FractionEnhanced
New Execution Time = Old Execution Time ( (1 - FractionEnhanced) + ------------------ )
                                                                    SpeedupEnhanced
or
                       Execution Time affected by Improvement
New Execution Time =   --------------------------------------  + Execution Time unaffected
                            Amount of Improvement (x times) 
So we have
                                     1
SpeedupOverall = --------------------------------------------
                                           FractionEnhanced
                 (1 - FractionEnhanced) + ------------------ )
                                           SpeedupEnhancedBack to ComputerTerms
