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
Bezzdna [24]
4 years ago
14

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.
Mathematics
1 answer:
mixas84 [53]4 years ago
8 0

Incomplete question as we have not told what to find.So I have assumed to find average CPI for each program.So complete question is here

Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dynamic 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.

Find the average CPI for each program given that the processor has a clock cycle time of 1 ns.

Answer:

CPI_{A}=1

CPI_{B}=1.25

Step-by-step explanation:

As we know CPU time given as

CPU_{time}=instructions*CPI*Cycle_{time}  \\So\\CPI=\frac{CPU_{time}}{instructions*Cycle_{time}}\\ Where\\Cycle_{time}=1*10^{-9}s\\ And\\executionTime=CPUtime

For Compiler A

CPI_{A}=\frac{CPU_{timeA} }{instruction_{A}*Cycle_{time}  }\\CPI_{A}=\frac{1s}{10^{9}*1.0*10^{-9}s }\\CPI_{A}=1

For Compiler B

CPI_{B}=\frac{CPU_{timeB} }{instruction_{B}*Cycle_{timeB}  }\\CPI_{B}=\frac{1.5s}{(1.2*10^{9})*(1.0*10^{-9}s) }\\CPI_{B}=1.25

You might be interested in
Five more than a number is three
Pavel [41]

I'm not sure if you use "x" as your variable, so:

# + 5 = 3 or x + 5 = 3

7 0
3 years ago
Read 2 more answers
This is due today i'm really struggling on school and ill be really happy if someone answers this
damaskus [11]

Answer:

Hey man, I don't really know how to do these problems following those exact steps, but these are the steps i used to solve it:

Step-by-step explanation:

1: (8 x 3/4) to find price for 1. then multiply by 13 [(8x3/40x13]

2: 6x13

3:$78

4 0
3 years ago
On a trip, you had to change your money from dollars to British pounds. 
irga5000 [103]

Answer:

560/800 = 0.7 pounds per dollar

6 0
3 years ago
Read 2 more answers
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7By%7D%7B2%7D%20%20%2B%209%20%3D%206" id="TexFormula1" title=" \frac{y}{2} + 9 = 6
KATRIN_1 [288]

Answer:

y = - 6

Step-by-step explanation:

Given

\frac{y}{2} + 9 = 6 ( subtract 9 from both sides )

\frac{y}{2} = - 3 ( multiply both sides by 2 to clear the fraction )

y = - 6

8 0
4 years ago
Look at this parallelogram. Find the value of c.<br> c<br> 17 m<br> Perimeter=66 meters
sergiy2304 [10]

The value of c is 16.

<u>Step-by-step explanation:</u>

The perimeter of the parallelogram is given by,

Perimeter = 2( base + height )

The one of the dimension is given as 17 m.

Let us assume it has base of the parallelogram.

Therefore,

  • The base of the parallelogram = 17 m.
  • The perimeter of the parallelogram = 66 m.

Let, c be the height of the parallelogram.

<u>To find the value of c :</u>

Substitute the given data in the Perimeter of the parallelogram formula,

Put, height = c, base = 17 and perimeter = 66

⇒ Perimeter = 2 ( base + c )

⇒ 66 = 2 (17 + c)

Multiply 2 with each term inside the bracket,

⇒ 66 = 34 + 2c

⇒ 66 - 34 = 2c

⇒ 32 = 2c

Divide by 2 on both sides,

⇒ c = 32 ÷ 2

⇒ c = 16

Therefore, the value of c is 16.

6 0
4 years ago
Other questions:
  • ABCD are congruent to EFGH, AD=45in, EH=60in, BC=15in, What is FG
    14·1 answer
  • I don't know what to do. This is about odd and even functions.
    7·2 answers
  • You need to find the distance across a river, so you make a triangle. BC is 943 feet, m∠B=102.9° and m∠C=18.6° . Find AB.
    5·1 answer
  • I need help on this onee plizzzz
    11·2 answers
  • Five times a number decreased by 7 is less than thirty-three. Write and solve an inequality.
    13·2 answers
  • PLEASE HELP FAST!! Use a graphing calculator to graph the function y=90tan2x on the interval 0 degrees&lt; x &lt; 180 degrees an
    9·2 answers
  • Which statement about the point (2, 0) is true?
    12·2 answers
  • If f(x)=x^3+11x^2+31x+21 and x+1 is a factor of f(x)f(x), then find all of the zeros of f(x)f(x) algebraically.
    9·1 answer
  • The sum of two numbers is 20. The difference is 6. What are the two numbers?
    14·1 answer
  • Write a positive or negative integer that represents the situation. You lose 38 coins in a video game.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!