Central Processing Unit Q.4

0. 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 er 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 ...........

  • Option : A
  • Explanation : 1 cycle time for p1 = 101/1GH = 1n.s.
    Assume p1 takes 5 cycles for a program then p2 takes 20% more, means, 6 cycles.
    p2 Takes 25% less time, means, if p1 takes 5 n.s, then p2 takes 3.75 n.s.
    Assume p2 clock frequency is x GHz.
    p2 taken 6 cycles, so 6*101/xGH = 3.75, x = 1.6
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *