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
Commuter has $245 in his commuter savings account. This account changes by -$15 each week he buys a ticket. If the commuter want
-Dominant- [34]
$55. Multiply 15 by 20 to find out exactly how much he needs for 20 weeks, which is $300. subtract 245 from 300 to find out how much more money he needs to add to his account.
8 0
3 years ago
Tim is running extremely late and has just 5 minutes to return his rental car to the agency. The fuel tank in the car is half em
Whitepunk [10]

Answer:

B

Step-by-step explanation:

Although this problem is quite long and exhausting, it is deceptively simple.

We know that his 12-gallon fuel tank is only half full, so we know that the car needs 6 more gallons of fuel.

If he turns in the car late, he will have to pay y = 2.59x + 32.00, where x is the number of empty gallons (in this case, 6)

In this case, he will pay 2.59(6) + 32.00 = $47.54

If he turns in the car on time, he will have to pay y = 4.50x + 5.00, where x is the number of empty gallons (still 6).

In this case, he will pay 4.50(6) + 5.00 = $32.00

Using these results, we know that B must be true.

4 0
3 years ago
Find the diagonal of a rectangular solid if the length is 44 inches, the width is 32 inches, and the height is 26 inches.
mafiozo [28]

Answer:

d≈60.3

Step-by-step explanation:

3 0
3 years ago
The perimeter of a triangle is 92 centimeters. if two sides are equally long and the third side is 8 centimeters longer than the
Dmitry [639]
Nvm wait I read the question wrong. The real answer would be 28, 28, 36
6 0
4 years ago
jean and mark are going to fill a pool with 2 different sized hoses. Jean can fill the pool in 8 hours, while Mark can complete
Bad White [126]
----------------------------------------------
Calculate Jean's rate
----------------------------------------------
Jean takes 8 hours to fill the pool.
So in 1 hour, she can fill 1/8 of the pool

----------------------------------------------
Calculate Mark's rate
----------------------------------------------
Mark takes 12 hours to fill the pool.
So in 1 hour, he can fill 1/12 of the pool.

----------------------------------------------
Calculate their rate if they work together
----------------------------------------------
Jean = 1/8
Mark = 1/12
1/8 + 1/12 = 3/24 + 2/24 = 5/24 
They will fill 5/24 of the pool in 1 hour

----------------------------------------------
Find number of hours needed to fill up the pool
----------------------------------------------
I hour = 5/24 of the pool
1 ÷ 5/24 hour = 5/24 ÷ 5/24 of the pool
24/5 hour =  Whole pool

Whole pool = 24/5 hours 
Whole pool = 4 4/5 hours  or 4.8 hours

----------------------------------------------
Ans: The supervisor is not correct, it will take only 4.8 hours if both of them work together.
----------------------------------------------

5 0
4 years ago
Other questions:
  • A circle with two chords is shown below. The diagram is not drawn to scale.
    13·1 answer
  • Drag the tiles to the correct boxes to complete the pairs.
    13·1 answer
  • The slope of any line perpendicular to AB , where A(0, -3) and B(4, 9) are two points on the line, is m =
    7·1 answer
  • A map scale is 1:10000. If a building is 1.2cm on a map, how big is it in real life in metres?
    15·1 answer
  • Express the ratio of A's to N's in the word BANANA, in simplest form.
    7·1 answer
  • DUE TODAY!!! PLEASE HELP I DIDNT PAY ATTENTION IN CLASS!!! I WILL GIVE BRAINLIEST!!!
    10·1 answer
  • Why do women get paid less than men do
    11·2 answers
  • What is the value of x in the figure?<br><br> Enter your answer in the box.
    12·2 answers
  • Work out the size of angle x.<br> х<br> 65°<br> 45 °
    9·1 answer
  • Find the value of x. Round to the<br> nearest tenth.<br> 9<br> 4<br> X =
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!