Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

For this problem, assume that two different programs are run on the same computer with a 2GHz clock frequency. Program A has 1e9 instructions and

image text in transcribed

For this problem, assume that two different programs are run on the same computer with a 2GHz clock frequency. Program A has 1e9 instructions and an average CPI of 1, and program B has and 2e9 instructions and an average CPI of 0.8. a. (5 points) How long would you expect each program to run? b. (10 points) How much faster would you expect Program A to be with respect to Program B? c. (10 points) After re-compiling both programs with a different compiler, both programs are found to have the same execution time. What does this imply about the new instructions and CPls of the programs? (be specific, with an equation)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions