Question: What is the execution time for this program: A Program is running on a specific machine with the following parameters: Program 1 Program 2 Program

What is the execution time for this program:

A Program is running on a specific machine with the

following parameters:

Program 1

Program 2

Program 3

Total instruction count

15,000,000 instructions =15 x106

1,000,000 Instruction

10,000,000 Instruction

Average CPI for the program

4 cycles/instruction

5.5 cycle/instruction

2 cycle/instruction

CPU clock rate

150 MHz = 150 x 106Hz

Clock Cycle Time : 10 ps.

1 GHz

the execution time

CPU time = Instruction count x CPI x Clock cycle

MIPS EXAMPLE

Class

A

B

C

D

CPI for class

4

7

2

3

Instruction count in Millions

IC in sequence 1

5

2

3

6

IC in sequence 2

8

6

1

4

Assume the clock cycle time = 10ns find CPU time and MIPS for each sequence?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!