subject

Mpilers 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.

A. Find the average CPI for each program given that the processor has a clock cycle time of 1 ns.

B. Assume the compiled programs run on two different processors. If the execution times on the

two processors are the same, how much faster is the clock of the processor running compiler A’s

code versus the clock of the processor running compiler B’s code?

C. A new compiler is developed that uses only 6.0E8 instructions and has an average CPI of 1.1.

What is the speedup of using this new compiler versus using compiler A or B on the original

processor?​

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:50
Write a car class having two private member variables called tank and speed. write public methods called pumpgas and gofast. the method pumpgas gets an integer for gas that must be pumped. that value needs to be added to tank (no more than 20 gallons). it must return the amount of gas that is purchased ($4 per gallon). the method gofast should increase the speed by 5 each time it is called.write a constructor for the above class that initialized both variables to zero.write a tostring to display both the tank and speed when the car is printed.modify the car class to implement the interface comparable and an interface called carinter having the public methods in carinter.write the main program to create an array of size 5 of type car. create 5 car objects having each location of the array to refer to one of the cars. test the pumpgas, gofast, equals method on the array items. write an enhanced loop to print all the car values (using a tostring written last time).write a generic method to find the minimum of four items. pass int, double, char, string and car objects to test this method.
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What side length would you specify if you were required to create a regular hexagonal plate that was composed of 33 cm(squared) of sheet metal? dimension the side length to 0.1 cm
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. â–ş print out all positive integers from 1 to 100, inclusive and in order. â–ş print messages to standard output, matching the sample output below. â–ş in the output, state whether the each integer is 'odd' or 'even' in the output. â–ş if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. â–ş if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. â–ş design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
Answers: 1
question
Computers and Technology, 24.06.2019 10:10
Scanning the road can be thought of as a
Answers: 2
You know the right answer?
Mpilers can have a profound impact on the performance of an application. Assume that for a program,...
Questions
question
Mathematics, 27.01.2021 01:00
question
Computers and Technology, 27.01.2021 01:00
question
Spanish, 27.01.2021 01:00
question
Mathematics, 27.01.2021 01:00
question
Mathematics, 27.01.2021 01:00
question
Mathematics, 27.01.2021 01:00
question
Mathematics, 27.01.2021 01:00
question
Arts, 27.01.2021 01:00
Questions on the website: 13722363