Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dave is trying to create a program for a handheld device to give his son drawing lessons. The program has been written already, but he

image text in transcribed
Dave is trying to create a program for a handheld device to give his son drawing lessons. The program has been written already, but he is trying to decide whether to run it on Device A or Device B. Due to differences in the compiler and instruction set architecture (ISA), Device Arequires 4E9 instructions to execute the program, and Device B requires 7E9 instructions. Device A has an average CPI of 4.5 and Device B has an average of CPI of 2.0. The two devices have processors with the same clock rate. What is the relative performance of the program running on Device A compared to Device B? Write your answer to three digits after the decimal point and round it necessary Performance A/Performance B = If it takes 2.8 seconds to execute the program on Device , how long does it take to execute on Device A? Answer: seconds Given the execution times of the previous question, what is the clock rate of the processor in each machine? Answer: GHz

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

More Books

Students also viewed these Databases questions