Ask 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 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

+1
Answers (1)
  1. 10 July, 23:39
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers