Question: 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

 Dave is trying to create a program for a handheld device

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!