What is the CPU time if the number of instructions executed by the program is 500,cycles per instructions is 5 and the clock cycle time is 200ps?
Answers
Answered by
16
Answer:
The answer is 5,00,000 Seconds.
Step-by-step explanation:
The formula for computing the CPU time is provided below.
CPU time = Number of instructions x Cycles per instruction x Clock cycle time
Now substitute "500" for number of instructions and "5" for cycles per instructions.
CPU time = 500 x 5 x 200
= 5,00,000 Seconds
Thus the CPU time is 5,00,000 seconds
Answered by
8
CPU time = 0.5 μs if 500 instruction of 5 cycles each with clock cycle time 200 ps executed
Step-by-step explanation:
number of instructions executed by the program is 500
cycles per instructions is 5
clock cycle time is 200ps = 200 * 10⁻¹² s
CPU time = Number of instruction * cycle per instruction & Clock cycle time
= 500 * 5 * 200 * 10⁻¹²
= 500000 * 10⁻¹²
= 0.5 * 10⁶ * 10⁻¹²
= 0.5 * 10⁻⁶
= 0.5 μ s
CPU time = 0.5 μ s
Similar questions