Question: Home work 1.2 Chapter 1 : Computer Abstractions and Technology What is the execution time for this program: A Program is running on a specific

 Home work 1.2 Chapter 1 : Computer Abstractions and Technology 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

Home work 1.2

Chapter 1 : Computer Abstractions and Technology

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

15x106 x 4 x 1/150 x 10-6 = 1 x 4 x 15/150 = 4x1/10=4/10=0.4 second

1x106 x 5.5 x 10 =55

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?

Mome work 1.2 Gopher 1 i Cempurter Ahnranions ant ferbuidner What th the eatcution time for this progart A Program f ruming on a fecciec matine ad the folowing parametersi GrU time a batructios count a CFt x Mook oprle Mrgs EXRAFLE Assume the check rycle time a 1Ons fird cry thine and ynzf for each yequence? Home work 1.2 Chapter 1 : Computer Abstractions and Technolocy What is the execution time for this prograrn: A Program is running on a specitic machine with the following parameters: CPU time = Instruction count x CPI x Clock cycle MIPS EXAMPAE Assume the clock cycle time a 10ns find CPU time and MiPs for each sequence? youred afte 1I Chapter-1 Mome work 1.2 Gopher 1 i Cempurter Ahnranions ant ferbuidner What th the eatcution time for this progart A Program f ruming on a fecciec matine ad the folowing parametersi GrU time a batructios count a CFt x Mook oprle Mrgs EXRAFLE Assume the check rycle time a 1Ons fird cry thine and ynzf for each yequence? Home work 1.2 Chapter 1 : Computer Abstractions and Technolocy What is the execution time for this prograrn: A Program is running on a specitic machine with the following parameters: CPU time = Instruction count x CPI x Clock cycle MIPS EXAMPAE Assume the clock cycle time a 10ns find CPU time and MiPs for each sequence? youred afte 1I Chapter-1

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!