Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started