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

Respuesta :

Answer:

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.