I'm trying to solve a question concerning performance. I have the final answer (24 * 10^9)but I can't determine how to get there.
I know the formula for performance is
Execution time: CPI * I * 1/CR CPI = Cycles Per Instruction I = Instructions
Question: Determine the number of instructions for P2 that reduces its execution time to that of P3.
The first step should be to find out the cycles per Instruction for P3. The equation would be:
8 = 1 / (2.5) * CPI * 40 8 = 1/ 2.5 * CPI * 40 8 = .4 * CPI * 40 8 = 160 CPI 1 = 80 / 16
I know the answer here should be 0.008 CPI, but I don't understand how to get there. 2.5 * 40 would be 100, but it doesn't make mathematical sense to me. What am I missing? Thanks.