Ask Question
8 May, 22:29

A given application written in Java runs 15 seconds on a desktop processor. A new Java compiler is released that requires only 60 percent as many instructions as the old compiler. Unfortunately, it increases the CPI by 10 percent. How fast can we expect the application to run using this new compile

+5
Answers (1)
  1. 9 May, 00:09
    0
    A new compiler application run 9.9 sec faster than other compiler.

    Explanation:

    Java runs 15 seconds on a desktop processor

    new Java compiler is released that requires only 60 percent = 60/100 = 0.6

    CPI increase by 10 means 1.1

    by applying formula

    where

    Time pf processor * java compiler release * CPI = fastest compiler

    15*0.6*1.1 = 9.9 sec

    A new compiler application run 9.9 sec faster than other compiler.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “A given application written in Java runs 15 seconds on a desktop processor. A new Java compiler is released that requires only 60 percent ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers