A program takes 15 seconds to execute There are 1010 instruc
A program takes 15 seconds to execute. There are 10^10 instructions with a CPI of 1.5. What is the clock cycle time?^
Solution
Execution time = 15 seconds
Instruction count = 1010
CPI = 1.5
Clock cycle time = Execution time / (Instruction count * CPI)
Substitute corrsponding values.
Clock cycle time = 15 sec / (1010 * 1.5)
Clock cycle time = 1 * 10-9 ps
