Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions

Question

122. If X is distributed as N(0, 1), find the pdf of .

Answered: 1 week ago