207 views

1 Answer

0 votes
0 votes
FOR 1ST CASE= TOTAL TIME=1+STALL CYCLE*STALL FREQUENCY

                                              =1+1*0.20( SINCE ONE DELAY SLOT)

                                              =1.2

FOR 2ND CASE= IT IS GIVEN THAT COMPILER IS ABLE TO USE 85 % OF THE DELAY SLOT IT MEAN THERE WILL BE NO STALLS FOR THIS CASE...BUT FOR THE REMAINING 15% THERE WILL BE ONE STALL

                  TOTAL TIME=1+(0.20*.85*1*0+0.20*.15*1)

                                     1+0.03=1.03

THEREFORE GAIN=(1.2-1.03)1.2=14.166%

Related questions

0 votes
0 votes
0 answers
1
Anshul kumar singh asked Jul 18, 2022
662 views
Quantify the effect on performance that results from the use of a cache in the case of a program that has a total of 500 instructions, including a 100-instruction loop th...
0 votes
0 votes
0 answers
2
Devshree Dubey asked Mar 19, 2019
504 views
Please can anyone help me how to measure the CPU Performance and everything related with it.
0 votes
0 votes
1 answer
3
gate_forum asked Jan 14, 2019
694 views
insufficient infop2p1
0 votes
0 votes
0 answers
4