We know :
Performance enhancement = Speedup = Timenon pipelined / Timepipelined
So ,
Solution to a) part :
Time taken by non pipelined processor = Time taken by EU + Time taken by BIU = 2t
Time taken by pipelined processor = CPI * max(Time by EU,Time by BIU) = 1 * t = t [ As CPI of an ideal CPU is 1 ]
Hence speedup = 2t / t
= 2
Solution to b) part :
Time taken by non pipelined processor = Time taken by EU + Time taken by BIU = 2t + t = 3t
Time taken by pipelined processor = CPI * max(Time by EU,Time by BIU) = 1 * 2t = 2t [ As CPI of an ideal CPU is 1 ]
Hence speedup = 3t / 2t
= 1.5