| Size: 1144 Comment:  | Size: 1569 Comment:  | 
| Deletions are marked like this. | Additions are marked like this. | 
| Line 2: | Line 2: | 
| {{{#!latex \begin{equation} Speedup = \frac{Performance~for~entire~task~using~the~enhancement~when~possible}{Performance~for~entire~task~without~enhancement} \end(equation} }}} | |
| Line 22: | Line 28: | 
| --> | or Execution Time affected by Improvement New Execution Time = -------------------------------------- + Execution Time unaffected Amount of Improvement (x times) So we have | 
| Line 25: | Line 37: | 
| FractionEnhanced (1 - FractionEnhanced) + ------------------ ) SpeedupEnhanced | FractionEnhanced (1 - FractionEnhanced) + ------------------ ) SpeedupEnhanced | 
Back to ComputerTerms
\begin{equation}
   Speedup = \frac{Performance~for~entire~task~using~the~enhancement~when~possible}{Performance~for~entire~task~without~enhancement}
\end(equation}           Performance for entire task using the enhancement when possible
Speedup = -----------------------------------------------------------------
              Performance for entire taks without using the enhancementSee 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:
                  Old Execution Time
SpeedupOverall = --------------------
                  New Execution Time
                                                                    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
