Non-pipeline Clock frequency =2.5 GHz Cycle time =2.5 GHz1​=0.4 ns Given, CPI=5 So, ET non-pipe​=CPI× Cycle time =5×0.4 ns=2 ns Pipeline: Clock frequency =24 GHz Cycle time =2 GHz1​=0.5 ns
∴ Number of stalls/instruction =0.3×0.05×50+0.1×0.5×2=0.85 Avg. instruction ETpipe​=(1+ No. of stall instruction) ∗ cycle time =(1+0.85)×0.5 ns=0.925 nsS=ETpipe​ETnon-pipe​​=0.9252​=2.16