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
The answer to the question “On average, how many pages are in a novel?” would be measured by which scale?
Juli2301 [7.4K]
In the days of the typewriter, a double-spaced page with 1-inch margins would hold an average of 250 words. So you could assume that since 4 pages<span> = </span>1000<span> words</span>
8 0
3 years ago
Solve this question peasents nah jk lol
Zina [86]

v = √16 · √d

d = 300 ft

v = √16 · √300

v = √16 · √100 · √3

v =  4  ·  10  · √3  

<em>v = 40√3  ft/sec  </em>  <== simplified radical form

That's about 69.3 feet per sec, or 47.2 miles per hour.

5 0
3 years ago
Is every real number also a complex number?
Shkiper50 [21]
True, every number is a complex number.

I hope this helps. :)
4 0
2 years ago
What is the approximate measure of I
mrs_skeptik [129]
Let θ = m∡I

tan θ = 20/21
tan⁻¹ (20/21) = θ

θ ≈ 43.60° or if you need to round to another decimal point, plug the equation I put in bold into a calculator. 
3 0
3 years ago
Read 2 more answers
Use the diagram to solve for x.
Andreyy89
0 this is what I got
3 0
3 years ago
Other questions:
  • Evaluate: 16<br> A.256<br> B.32<br> C.8<br> D.4
    8·1 answer
  • Everyone has the right to influence tax policy.
    8·1 answer
  • Simplify: 3.59 x 106 : 9.5 x 10-6
    5·2 answers
  • lila made five pounds of potato salad for a picnic each serving of potato salad for how many 1/4 pound servings of potato salad
    7·1 answer
  • You are buying a house for 158,950 you have an annual intrest rate of 4.83% over the next 25 years. How much us the final cost o
    12·1 answer
  • Which table represents a linear function?
    13·1 answer
  • Pleasee help me answer this geometry question !!
    5·1 answer
  • If 1/30 of all rabbits in a country are in one state and 2/7 of rabbits are in a different state, what total fractional part of
    6·1 answer
  • A worker uses a small table in a notebook to track the cost of materials. On the current job he has used seven sheets of plywood
    10·1 answer
  • HELP ME PLEASE!!!!!!!<br> 50 POINTS!!
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!