1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
andriy [413]
3 years ago
5

Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dy

namic instruction count of 1.0E9 and has an execution time of 1.1 s, while compiler B results in a dynamic instruction count of 1.2E9 and an execution time of 1.5 s. a. Find the average CPI for each program given that the processor has a clock cycle time of 1 ns.
Computers and Technology
1 answer:
Naddik [55]3 years ago
3 0

Answer:

The answer is "1.25"

Explanation:

{CPU \ time}= {instructions \times  CPI \times  cycle\  time}

\therefore\\\CPI= \frac{CPU \ time}{instructions \times cycle \ time} \\\\cycle \ time = 1 \\\\ns = 10^{-9} s \\

Also for this context, it executes the time =  CPU time. So, the compiler A, we has

CPI_{A}= \frac{CPU \ time_{A}} {instructions_{A} \times cycle \ time}= \frac{1.1 s}{10^{9} \times 10^{-9} s}= 1.1

For compiler B, we have

CPI_{B}= \frac{CPU \ times_{B}} {instructions_{B} \times cycle \ time}

         = \frac{1.5\ s}{ 1.2 \times 10^{9} \times 10^{-9} \ s}\\\\= \frac{1.5}{ 1.2 }\\\\= 1.25

You might be interested in
Clunker Motors Inc. is recalling all vehicles from model years 1995-1998 and 2004-2006.Given a variable modelYear write a statem
Dominik [7]

Answer:

Following are the statement is given below

recalled = (modelYear >= 2001) && (modelYear <= 2006);                         // holding the value true if condition is true.

Explanation:

Following are the description of above statement                                                                                              

  • Declared a variable recalled of Boolean type .
  • The variable modelYear examine the above condition .
  • The variable recalled holds true if modelYear is greater then or equal 2001 and modelYear is less then or equal to 2006 otherwise if following condition is false then this variable holds False .
5 0
4 years ago
How do you know if the website is secure if you make a purchase
marysya [2.9K]

Look for the lock symbol in the search section of your window/browser.

4 0
4 years ago
Read 2 more answers
I am in desperate need to graduate. Overloaded with tons of online homework to be completed before the school year ends. I don't
Alenkinab [10]

What school do you go to?

8 0
3 years ago
1. Name a two methods for creating text in Adobe Illustrator.
Fittoniya [83]

Answer:

Point type is a horizontal or vertical line of text that begins where you click and expands as you enter characters. Each line of text is independent—the line expands or shrinks as you edit it, but doesn’t wrap to the next line. Entering text this way is useful for adding a few words to your artwork.

Select the Type tool  or the Vertical Type tool .

The pointer changes to an I-beam within a dotted box. The small horizontal line near the bottom of the I-beam marks the position of the baseline, on which the text rests.

(Optional) Set text-formatting options in the Control panel, Character panel, or Paragraph panel.

Click where you want the line of text to begin.

Explanation:

4 0
3 years ago
What does a theme contain?
meriva

A theme is a set of colors, fonts, effects, and more that can be applied to your entire presentation to give it a consistent, professional look.

4 0
3 years ago
Read 2 more answers
Other questions:
  • What is the primary purpose of a business plan? To file for incorporation To help you identify your goals and plan how you will
    6·1 answer
  • A workplace is where people _____. a. do work b. find new jobs c. go when they are unemployed d. read advertisements for job ope
    15·1 answer
  • Can't find the right year for this. (Attachment)
    6·1 answer
  • "A switch passes data based on the MAC address."A. TrueB. False
    15·1 answer
  • The decimal system was invented by the ____ empire.
    14·1 answer
  • What is the purpose of the domain name? The domain name is an example of a service provider. The domain name .gov.nz is an examp
    15·2 answers
  • Nonverbal messages from the movie it​
    5·2 answers
  • Florida law requires every child blank years of age or younger use a crash tested federally be approved child restraint device
    5·2 answers
  • Describe two steps to find if photos can be legally used
    15·1 answer
  • Before a computer can use a router, what configuration information must it be provided?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!