Ask Question
25 February, 12:31

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

+2
Answers (1)
  1. 25 February, 15:46
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers