2017-03-18 11 views
0

私はPattersonとHennessyによってComputer Organization and Designを読んでいて、3つのソリューションで練習に遭遇しました。私は正しいものが見つからない。アプリケーションのスピードアップ時間を計算する(本の練習)

CPUの実行時間=(命令カウント* CPI)/クロックレートが、それは動作しません:私は本の中で与えられたパフォーマンス方程式を計算しようとしました。ここに質問があります:

A given application written in Java runs 15 seconds on a desktop processor. 
A new Java compiler is released that requires only 0.6 as many instructions as the old compiler. 
Unfortunately, it increases the CPI by 1.1. 
How fast can we expect the application to run using this new compiler? 
Pick the right answer from the three choices below: 

a. (15 * 0.6)/1.1 = 8.2 sec 
b. 15 * 0.6 * 1.1 = 9.9 sec 
c. (15 * 1.1)/0.6 = 27.5 sec 

正解についてのいくつかの洞察と、その特定の式を使用して得られた理由が役立つでしょう。ありがとう!

答えて

0

代わりに解決策bに到着します。