Answer:
Level 5 = 291 ms
Explanation:
Given Data:
Level 1 = 10 X Level 0 Instructions
Level 2 = 8 x Level 1 Instructions
Level 3 = 5 x Level 2 Instructions
Level 4 = 5 x Level 3 Instructions
Level 5 = 5 x Level 4 Instructions
Level 0 execution time = 29.1 ns
To Find:
Level 5 Execution Time = ?
Solution:
Put value of Level 1 in Equation of Level 2
Level 2 = 8 x 10 Level 0 = 80 x Level 0
Put value of Level 2 in Equation of Level 3
Level 3 = 5 x 80 x Level 0 = 400 x Level 0
Put value of Level 3 in Equation of Level 4
Level 4 = 5 x 400 x Level 0 = 2000 x Level 0
Put value of Level 4 in Equation of Level 5
Level 5 = 5 x 2000 x Level 0 = 10,000 x Level 0
So, Level 5 have total of 10,000 Level 0 Instruction. Each level 0 Instruction takes 29.1 ns time to execute. So, Level 5 will Take
Level 5 = 10,000 x 29.1 ns
= 2,91,000 ns
Level 5 = 291 ms