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
Cereal is on sale this week. Is it a better buy to get the 10-ounce box for $1.76 or the 14-ounce box for $2.42?
Veseljchak [2.6K]

Answer:

292381g56i3yg8

Step-by-step explanation:

4 0
2 years ago
What is the value of m?<br><br> 0.61m−1.51m=9<br><br> Enter your answer in the box.<br><br> m =
sergij07 [2.7K]

Answer:

m = -10

Step-by-step explanation:

0.61m - 1.51m = 9

-0.90m = 9

mutiply both sides by -1.111111111111, twelve 1's after the decimal point

also to find what number u need to multiply to make -0.9m to m, divide 0.9 by 1 and that equals 1.111111111111 so yea a lot of ones haha

m = -10

4 0
3 years ago
Read 2 more answers
Write the sentence as an inequality.
kramer

Answer:

N < 6 or   N \leq -7 or N > 12

Hope this helps. <em>lmk</em>.

6 0
2 years ago
In a basketball game morgan made 9 baskets each worth 2 points. Jim made the same number of points in the game but made only bas
ycow [4]

baskets that jim make is 27,cause 9times3 equal 27.

3 0
3 years ago
I need help ASAP ?!?!?!?!?!
kotegsom [21]
I am doing the same thing
4 0
3 years ago
Read 2 more answers
Other questions:
  • The asymptote of the function f(x)=3^x+1-2 is
    8·1 answer
  • Please explain to me how to answer this question
    8·1 answer
  • Look at the table showing different prices for cans of soup. Prices for Soup Price A Price B Price C $3.87 for 3 $2.38 for 2 $8.
    12·2 answers
  • Approximately 3 people out of every 30 are left handed. About how many left handed people would you expect in a group of 140 peo
    12·1 answer
  • When segments intersect inside a circle, what is the relationship between the angle of intersection and the intercepted arcs?
    6·2 answers
  • What is the quotient?<br><br> StartFraction 5 Superscript negative 6 Over 5 cubed EndFraction
    7·1 answer
  • Get your 50 bucks here!!
    9·2 answers
  • pleasee help me,A train travels from station P to station Q at a speed of 90km/h in 3hours 40minutes.The train stops at station
    9·1 answer
  • Mr. Vedra deposited $1,200 in a certificate of deposit (CD) at an interest rate of 5.5%. He earned $198 in simple interest. How
    12·1 answer
  • How many digits are there in the repeating block for the decimal equivalent<br> of 3 over 7?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!