Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

More Books

Students also viewed these Databases questions