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
7p2-3-3p3 in standard form
Mekhanik [1.2K]

Answer:

-3p^3+7p^2-3

Step-by-step explanation:

7 0
3 years ago
Kamala's cell phone company will add -$5.75 to her next bill for each of the 4 months she was over charged, How much will be add
liq [111]
If it’s over the 4 months $23 I would say
3 0
4 years ago
What is the largest car engine in the world?
Umnica [9.8K]
The Largest Current Production Car Engine. Congratulations Chrysler! Nobody else is crazy enough to put a 8.4-liter V10 into a production vehicle, but you've done it again. Naturally, General Motors comes to the rescue if you need even more, with the Chevrolet "572" 9.2 V8 crate engine.
3 0
3 years ago
Read 2 more answers
Line p goes through points (-2,6) and (4, -3). What is the equation of line p?
vekshin1
1+1.....................
6 0
3 years ago
What is 5 < -8 + x as an inequality?
irakobra [83]
5<-8+x is equal to x>13
3 0
3 years ago
Read 2 more answers
Other questions:
  • the graph of y = x2 11x 24 is equivalent to the graph of which equation? a.y = (x 8)(x 3) b.y = (x 4)(x 6) c.y = (x 9)(x 2) d.y
    14·2 answers
  • Need help with this one​
    15·1 answer
  • VERY EASY HELP QUICKLY PLEASE!! Write 6.012 as a mixed number in simplest form.
    12·1 answer
  • #1.) Which of the numbers below belong to the solution x-4≥5?
    5·1 answer
  • Is the ratio 2.5:3.5 proportional to the ratio 12:5
    10·1 answer
  • Graph the system of equations.<br> 2x - y=4<br> 1 x - y = -2
    15·1 answer
  • Use the Distributive Property to multiply.) -4x(x - 7)*
    7·2 answers
  • A rocket is launched from a tower. The height of the rocket, y in feet, is related to the time after launch, x in seconds, by th
    15·1 answer
  • Xavier is saving to purchase a new television that costs $483. He has $227 in his bank account. He deposits an additional $130 a
    14·1 answer
  • If ;= -7, what is the value of 13?<br> -1<br> i<br> 1<br> -i
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!