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 gas tank on the back of a tanker truck can be equated to a cylinder with a diameter of 8 feet and a length of 19 feet. A gal
Leokris [45]

9514 1404 393

Answer:

  • driver's tank: 30,427 lb
  • farmer's tank: 12,811 lb

Step-by-step explanation:

The formula for the volume of a cylinder is ...

  V = πr^2·h . . . radius r, height h

The radius of the driver's tank is half its diameter, so is (8 ft)/2 = 4 ft. Then the volume of that tank is ...

  V = π(4 ft)^2·(19 ft) = 304π ft^3

Each cubic foot of gasoline has a mass of ...

  (1728 in^3/ft^3)(0.0262 lb/in^3) = 45.2736 lb/ft^3

Then the total mass in the driver's full tank is ...

  (304π ft^3)(45.2736 lb/ft^3) ≈ 43,238.3 lb

__

The farmer's tank is a scaled-down version of the driver's tank. It's volume will be scaled by the cube of the linear scale factor, so will be (2/3)^3 = 8/27 of the volume of the driver's tank.

The farmer's tank will hold a mass of (43,238.3 lb)(8/27) ≈ 12,811 lb.

The amount remaining in the driver's tank is 43,238 -12,811 = 30,427 lb.

6 0
3 years ago
BRAINLIEST TO CORRECT
ella [17]

9514 1404 393

Answer:

  60

Step-by-step explanation:

Let x represent the number of members last summer. Then 90% more is 1.9x. We are told this is 114, so we have ...

  1.9x = 114

  x = 114/1.9 = 60

There were 60 members last summer.

6 0
3 years ago
Brainly awnser fast pls!!
Mars2501 [29]

Answer:

5x-5

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
A Chevy Malibu has a fuel capacity of 18.5 gallons. This vehicle averages 666 miles per tank. Assume the relationship between fu
Nuetrik [128]

Answer:

180 miles

Step-by-step explanation:

Step one:

capacity of tank= 18.5gallons

vehicle averages 666 miles per tank.

Hence, the vehicle can travel 666 miles on 18.5 gallons

Required

The distance covered on 5 gallons

Step two:

vehicle can travel 666 miles on 18.5 gallons

the vehicle will go x miles on 5 gallons

cross multiply we have

5*666= 18.5*x

3330=18.5x

divide both sides by 18.5

x= 3330/18.5

x=180 miles

5 0
3 years ago
The opposition of 135
zysi [14]

Answer:

i think you r missing some questions r u doing degrees or something else i am not sure

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • Find the area of the shape below, giving your answer to 1 decimal place
    12·1 answer
  • What two equations can be written from the information in this problem if "x" equals the number of tickets purchased early, and
    12·1 answer
  • PLEASE help me with this question! No nonsense answers please. This is really urgent.
    7·1 answer
  • Please answer and explain your reasoning thanks!
    10·2 answers
  • 11.3x = 15 - 2x<br> Help me
    13·2 answers
  • In a packet of mixed candies there are two fruit centers for every three caramel centers. There are 30 candies in the packet.
    15·2 answers
  • What are the coordinates for the origin of the coordinate plane?
    7·1 answer
  • there is a ratio of 5 girls to 3 boys in the chorus.there are 24 boys in the chorus.how many girls are in chorus
    12·2 answers
  • (7th grade math) <br> 20% of what number is 30?
    14·1 answer
  • MacKenzie surveys 80 of her classmates and finds that 65% of them like sports. She also finds that 75% of her 64 relatives like
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!