(2. Suppose there are two implementations of the same instruction set architectu
ID: 3730788 • Letter: #
Question
(2. Suppose there are two implementations of the same instruction set architecture. Computer X has a clock cycle time of 125 ps and a CPI of 2.0, and computer Y has a clock cycle time of 200 ps and a CPI of 1.2 for the same program. Which computer is faster for this program and by how much?) needed for question 4
4. In a computer with the microprocessor of question 2 (having a CPI of 2.45), if I have a program to run, which has 323425 instructions, what is the clock rate I need in that processor to finish the program in 1 second
Explanation / Answer
I am not sure why you require Q2 for Q4.
4.) CPU time = 1 sec, N = 323425, CPI = 2.45
Now, we know, CPU time = (N*CPI)/f
which gives f = 2.45*323425 = 0.79 MHz
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.