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
Can anyone help? I’d greatly appreciate it :)
Lena [83]

Answer:

bilmiyorum sna kolu gelsın

8 0
3 years ago
If a vehicle travels a distance of 5t^4-10t^2+6 miles in t+2 minutes what is the vehicles speed
satela [25.4K]

speed = distance/time
3 0
3 years ago
What are the values of each variable
Ksenya-84 [330]

Answer:

Step-by-step explanation:

3 0
3 years ago
Substitute the value in for the variable. Then solve. Remember your order of operations!
inna [77]

Answer:

4

Step-by-step explanation:

36/9 =4

When you see an x put 9 ;)

6 0
2 years ago
Read 2 more answers
ASAP plzzz answer 1 and 2!!! Directions are on the screenshot!! 50 pts + Brainliest
jek_recluse [69]

Answer:

- 1 -4 for the botome one

Step-by-step explanation: sorry thats all i got

8 0
3 years ago
Read 2 more answers
Other questions:
  • Anybody know the right answer?
    13·1 answer
  • 3n - 24<br> How to factor out the coefficient of the variable
    7·1 answer
  • Please help me please please please please please help me I need your help please I’m begging you so much I need your help plz h
    15·2 answers
  • Which of the following scenarios exhibits a function relation? Take the first set listed to be the domain of the relation.
    14·2 answers
  • Help! Anyone can you explain?
    11·2 answers
  • Solve for x. <br><br> x + 5 = 2x<br><br> x = 3<br> x = -3<br> x = -5<br> x = 5
    10·1 answer
  • Help me with this please
    12·1 answer
  • Marcia, Maureen, and Mario want to buy a $132 present for Sarah. Maureen is paying one half of Marcia's quantity, and Mario, one
    11·1 answer
  • I don’t understand this!!
    9·1 answer
  • Đạo hàm cấp 2 của hàm số y = √ x ( x3 + 1)
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!