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 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
Get step-by-step solutions from verified subject matter experts
