Answer: 1.6
The execution time T of a program on a processor is given by the formula:
T=fI×CPI
where I is the instruction count, CPI is the clock cycles per instruction, and f is the clock frequency.
Let the parameters for processor P1 be T1, CPI1, and f1=1 GHz. Since both processors execute the same program, the instruction count I remains the same.
For processor P2, we are given:
- Execution time: T2=0.75×T1
- CPI: CPI2=1.20×CPI1
Using the execution time formula for both processors:
T1T2=I×CPI1/f1I×CPI2/f2
0.75=f21.20×CPI1×CPI1f1
0.75=1.20×f2f1
Substituting f1=1 GHz:
f2=0.751.20×1 GHz=1.6 GHz
Thus, the clock frequency of P2 is 1.6 GHz.