Answer:
Kindly check explanation
Step-by-step explanation:
Calculate the execution Time of the following :
class a: 9 millions of instructions, with an average cpi of 4.1, class b: ic of 5m and cpi of 3, class c: ic of 11m and cpi of 0.9, and class d: ic of 2m and cpi of 1. the cpu runs at 14 mhz.
Clock rate = 14 mhz
1/clock rate = 1/14,000,000Hz = 0.00000007143
Execution time = instruction count × cycle per instruction × 1/ clock rate
A) 9 millions of instructions, with an average cpi of 4.1,
Execution time = 9000000 × 4.1 × 0.00000007143 = 2.635767s
B.) ic of 5m and cpi of 3,
Execution time = 5000000 × 3 × 0.00000007143 = 1.07145 s
class c: ic of 11m and cpi of 0.9,
Execution time = 11000000 × 0.9 × 0.00000007143 = 0.707157 s
class d: ic of 2m and cpi of 1
Execution time = 2000000 × 1 × 0.00000007143 = 1.071450. 14286 s