If a program has a CPI of 12 and 2048 instructions and is ru
If a program has a CPI of 1.2 and 2048 instructions, and is running on a 4GHz processor, what will its execution time be?
Solution
Answer:
We have given : CPI = 1.2 , I = 2048 , Clock rate = 4Hz
We know that execution time = CPI * I * 1/CR CPI = 1.2 *2048*1/4 = 614.4 s
