[理工] [計組]95東華資工
We make an enhancement to a computer that improves some mode of execution
by a factor of 10. Enhanced mode is used 80% of the time,measured as a
percentage of the execution time when the enhanced mode is in use.
(1) What is the speedup we have obtained from fast mode?
Ans : Speedup = Time(unenhanced) / Time(enhanced)
The unenhanced time is the sum of the time that does not benefit from
the 10 times faster speedup,plus the time that does benefit , but before
its reduction by the factor of 10. Thus
Time(unenhanced) = 0.2 X Time(enhanced) + 10 X 0.8 X Time(enhanced)
= 8.2 Time(enhanced)
我不太了解解答的意思... 為什麼不是 speed = 1 / ( (0.8/10) + 0.2 ) 這樣?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.37.130.165
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):