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]
3 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]3 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
What is the completely factored form of x^3 – 64x?
givi [52]
x^3 - 64x \\ \\ gcf = x \\ \\ x( \frac{x^3}{x} +  \frac{-64x}{x} ) \\ \\ x(x^2 - 64) \\ \\ x(x^2 - 8^2) \\ \\ x(x + 8)(x - 8) \\ \\

The final result is: C) x(x - 8)(x + 8).
4 0
4 years ago
Help with this plzzzzzz
NISA [10]

Answer:

C. 11:16 AM

Step-by-step explanation:

Subtract 42 minutes from 58, which is 16. To find out what hour, you subtract by 3. When you do subtract, the answer is 11 AM.

Hope this helps :)

5 0
3 years ago
9. If 3/4 of a ton of sand covers 2/5 of a playground, how many tons of sand are required to cover the entire playground
Lynna [10]
1 7/8 tons of sand will be required to fill the playground

6 0
3 years ago
You need to borrow $15,000 to buy a car, and you determine that you can afford monthly payments of $325. The bank offers three c
Klio2033 [76]

Answer:

the 5yr/ $270mth

Step-by-step explanation:

$15k × 8% = $1200 interest

$15k + $1200 = $16,200.00

$16500 ÷ 60months (5years) = $270/mth pymt

4 0
3 years ago
17 divided by 476 partial quotients
8090 [49]
0.03571428571428571428571428571429
4 0
4 years ago
Other questions:
  • What is the answer to this equation 11(-2)
    6·2 answers
  • Type the correct answer in the box.
    6·2 answers
  • The coordinates of the vertices of triangle ABC are A(−3,3), B(−1,1), and C(−3,−2). The coordinates of the vertices of the image
    10·2 answers
  • Evaluate the following expression.<br><br> tan45° - 10cos60°<br><br> -6.0<br> -4.5<br> -4.0
    7·1 answer
  • 90. The number of daily evening newspapers in the United States has decreased by 46.5% to
    15·1 answer
  • The laws that established an official system of slavery in the American colonies
    11·1 answer
  • Is my answer right ? <br><br><br> Pls answer me. <br><br><br> Graphing in slope-intercept form.
    12·1 answer
  • Toby writes an exponential function f(x) that meets the following two conditions:
    14·1 answer
  • What kind of association is this? *<br> Postitive<br> Negative<br> No association
    8·1 answer
  • <img src="https://tex.z-dn.net/?f=if%20a%3D%20%5Csqrt%7B3%7D%2B5%2F%5Csqrt%7B3%7D-5%20and%20b%3D%20%5Csqrt%7B3%7D-5%2F%5Csqrt%7B
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!