书中假设分支指令出现的频率是30%,流水线的CPI为1,那么在分支延迟为3个时钟周期的情况下,流水线的实际CPI为1.9.
计算方法如下:
0.7*1+0.3*4=1.9
0.7是正常的不需要延迟的那部分指令,它们的CPI是1,故乘以1。0.3是分支指令所占的比例,它们原来的CPI是1延迟了3,就是4。知道各自的比例和各自所耗费的平均时钟周期
What is your favourite item in your wardrobe
miranda lambert weight loss Bad Luck Continues with Another Lawsuit
I’ve never seen someone so talented in so many different areas
cartoon pornChicken Coops Plans That Cover the Basics
cartoon pornChicken Coops Plans That Cover the Basics