GATE | GATE-CS-2014-(Set-1) | Question 65

Consider two processors P1 and P2 executing the same instruction set. Assume that under identical conditions, for the same input, a program running on P2 takes 25% less time but incurs 20% more CPI (clock cycles per instruction) as compared to the program running on P1. If the clock frequency of P1 is 1GHz, then the clock frequency of P2 (in GHz) is _________.
(A) 1.6
(B) 3.2
(C) 1.2
(D) 0.8


Answer: (A)

Explanation:

For P1 clock period = 1ns 

Let clock period for P2 be t.

Now consider following equation based on specification
7.5 ns = 12*t ns

We get t and inverse of t will be 1.6GHz 


Quiz of this Question



My Personal Notes arrow_drop_up