| Size: 1144 Comment:  | Size: 1103 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 $$Speedup = \frac{Performance~using~enhancement~when~possible}{Performance~without~enhancement}$$ | 
| Line 13: | Line 11: | 
| [[latex2($$SpeedupOverall = \frac{Old~Execution~Time}{New~Execution~Time}$$)]] (1) {{{#!latex2 $$New~Exec~Time = Old~Exec~Time \left( 1 - FractionEnhanced + \frac{FractionEnhanced}{SpeedupEnhanced}\right)$$ }}} | |
| Line 14: | Line 18: | 
| Old Execution Time SpeedupOverall = -------------------- New Execution Time | or | 
| Line 18: | Line 20: | 
| FractionEnhanced New Execution Time = Old Execution Time ( (1 - FractionEnhanced) + ------------------ ) SpeedupEnhanced | Execution Time affected by Improvement New Execution Time = -------------------------------------- + Execution Time unaffected Amount of Improvement (x times) | 
| Line 22: | Line 24: | 
| --> | So we have | 
| Line 25: | Line 27: | 
| FractionEnhanced (1 - FractionEnhanced) + ------------------ ) SpeedupEnhanced | FractionEnhanced (1 - FractionEnhanced) + ------------------ ) SpeedupEnhanced | 
Back to ComputerTerms
$$Speedup = \frac{Performance~using~enhancement~when~possible}{Performance~without~enhancement}$$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:
latex2($$SpeedupOverall = \frac{Old~Execution~Time}{New~Execution~Time}$$) (1)
$$New~Exec~Time = Old~Exec~Time \left( 1 - FractionEnhanced + \frac{FractionEnhanced}{SpeedupEnhanced}\right)$$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
