In: Computer Science
Consider three different processors P1, P2, and P3, executing the same instruction set. P1 has a clock cycle time of 300 picosecond and a CPI (clock cycles per instruction) of 1.5. P2 has a clock cycle time of 400 picosecond and a CPI of 1.0. P3 has a clock cycle time of 250 picosecond and a CPI of 2.0. P1 is running a program with 10 instructions. P2 is running a different program with 20 instructions. P3 is running a program with 15 instructions.
Which processor has the highest performance? By how much does the fastest processor faster than the slowest processor? What are the CPU execution times for the three processors running their assigned programs? Please be sure to show and explain the detailed steps of how you arrived at your answer in your submission.
-Note: I have seen several instances of this question, however there seems to be confusion as to why the answers are being given in Seconds - and not Pico-Seconds. This is where my confusion lies.
Thanks