Question: A processor with a 2 GHz clock rate is executing Compiler 1's code with class A, B and C instructions. Fill in the missing information
A processor with a 2 GHz clock rate is executing Compiler 1's code with class A, B and C instructions. Fill in the missing information about each class of instructions. Class A has a CPI of 4 and takes 12E9 clock cycles. The instruction count of class Ais Class B has a CPI of 3 and takes 21E9 clock cycles. The instruction count of class Bis Class C has a CPI of and takes 10E9 clock cycles. The instruction count of class C is 4E9. Using the same scenario as above (remember: 2 GHz clock rate), find the CPU time for each class of instructions (A, B, and C) and then the total CPU time for running that compiler code. sec CPU Time (Class A) = CPU Time (Class B) = CPU Time (Class C)- Total CPU Time Bec A new compiler (Compiler 2) has been tested on the same processor as above. It only uses one class of instructions with an instruction count of 7.5E9 and has a CPI of 4. What is the total CPU time using this new compiler? seconds What is the relative performance of Compiler 2 vs. Compiler 1? Performance using compiler 2 / performance using compiler 1 (to 3 decimal places) Mark for Review What's This
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
