Question: 1. Suppose that CPU time is 1000 seconds (execution time for a program), clock cycle time is1 ns, and the CPI is 2. What is
1. Suppose that CPU time is 1000 seconds (execution time for a program), clock cycle time is1 ns, and the CPI is 2. What is number of instructions ( instruction count)? 2. Suppose we are considering two different processors: Processor A with a 1 MHz clock rate and Processor B with 2 MHz clock rate. Both processors implement the same instruction set architecture, but the cycles per instruction type varies for the two implementations. Following table shows types of instructions, number of instructions and clock cycles for each instruction type for Processor A and B. a. What is the average cycles per instruction for each processor? b.What is execution time of each machine? c. Which machine is faster? d. What is MIPS for each processor Clock Cycles Clock Cycles Number of Instruction Type Instructions per Instructions per Instructions Processor A Processor B 40,000 25, 000 25,000 10,000 3 7. Arithmetic 12 Load/store 8. 3 Branch 6. Jump
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
