Question: a) (10 Pts) Suppose a program takes 1 million instructions to execute on a processor running at 1 GHz (1/(seconds/cycle)). Suppose also that each instruction

a) (10 Pts) Suppose a program takes 1 million instructions to execute on a processor running at 1 GHz (1/(seconds/cycle)). Suppose also that each instruction takes 5 clock cycles for execution. What is the execution time for the program? b) (10 Pts) Suppose a program takes 1 billion instructions to execute on a processor running at 2 GHz. Suppose also that 50% of the instructions execute in 2 clock cycles and 50% execute in 4 clock cycles. What is the execution time for the program? c) (10 Pts) Suppose the execution time of a program is 1 second on a processor running at 1 GHz. Suppose also that on an average it takes 4 clock cycles to of instructions in the program:? execute an instruction. What d) (10 Pts) Suppose the execution time of a program is 5 seconds. Suppose also that on an average it takes 5 clock cycles to execute an instruction. Given that there are 2 billion instructions in a program, the clock frequency of the processor is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
