Find out the average cpi for the two executables compiled

Assignment Help Basic Computer Science
Reference no: EM13208536

Consider a program compiled using compilers A and B running on the same processor. Find out the average CPI for the two executables compiled by compilers A and B given that the processor has a clock cycle time of 1ns. Compiler A # of Instructions Program Execution Time 1.00E+09 1s Compiler B # of Instructions Program Execution Time 1.40E+09 1.6s 7) Consider the program compiled by compiler A running on Processor PA and the program compiled by compiler B running on Processor PB. Assuming the number of instructions executed in a certain program is divided equally among the classes of instructions of Arithmetic, Store, Load, and Branch, what is the CPU time of these two executions? Which program is faster? (The number of instructions of the program compiled by compilers A and B are given in the previous table) Processor Clock rate CPI Arithmetic CPI Store CPI Load CPI Branch PA 2.0 GHz 1 2 3 8 PB 2.0 GHz 2 2 2 2

Reference no: EM13208536

Questions Cloud

State the envrionmental hazards that come from poultry farms : Discribe in DETAIL, the envrionmental hazards that come from poultry farms?
Briefly mention the set of ai-based rules : You are to develop AI behind a generic Tic-Tac-Toe game, where a player can pay against computer. Briefly mention the set of AI-based rules that have to check on either side to decide the next move in a game. How would you determine a winner/cat's..
How to determine the optimal level of pollution : Give me some information on taxing pollution. Discuss it using the ideas of externality, supply, and demand. How do we determine the optimal level of pollution? Is the optimal level of pollution zero Why or why not
Use the random class to randomly fill array list1 : Use the Random class to randomly fill array list1 and then copy that array to list2 and list3. Use of the int data type is preferred.
Find out the average cpi for the two executables compiled : Consider a program compiled using compilers A and B running on the same processor. Find out the average CPI for the two executables compiled by compilers A and B given that the processor has a clock cycle time of 1ns.
Create a class for triangle objects : Create a class for Triangle objects..Triangle class should inherit from a Shape class and implement its own getArea() and getPerimeter() methods. create a program to test Triangle class and include a method that takes a Shape object as a parameter..
Develop a model that can be described : Develop a model that can be described in yes/no (boolean) terms. Use boolean algebra, truth tables, or logic gates to describe this model. Attach a diagram or drawing to explain your concept.
Explain ionic compound and methanol : Describe the experiment(s) (as necessary), observations (as necessary), and results (as necessary) which would allow you to distinguish between
How to find the reservation wage : Consider an agent who lives two periods. He is unemployed at the beginning of the first period and has a wage offer of w. If he accepts the wage offer w, he will work forever at that wage. If he rejects the offer, he receives an unemployment benef..

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Effective user-level thread implementation

What must a kernel provide for an effective user-level thread implementation? Do you have immediate help for this answer?

  Emerging market is using internet phone to replace pbx

Interesting emerging market is using Internet phone and company's high speed LAN to replace same company's PBX. Write a one page report on this issue.

  Write one function that reads the input using alias paramete

Write one function that reads the input using alias parameters (reference parameters).Write a second function that calculates the pay amount. If the salesperson owes money, thereturn amount from the function is a negative number.

  Kinds of system-building methods used by dorfman

Recognize the kinds of system-building methods used by Dorfman to create its wireless warehouse system. Explain the methodologies you would recommend

  What do you consider the two most important software innovat

identify and describe what you believe to be the two most important hardware innovations.

  Explain global ubiquitous platform for online services

Recognize what you believe to be next set of core future service(s) to be offered via Internet over next 2 to 5 years based on current and evolving technologies.

  Cs433: computer architecture

CS433: Computer Architecture - Spring  2014,  Assume a new execution mode called "enhanced mode" provides a 1.5x speedup to the sections of programs where it applies. What percentage of a program (measured by original execution time) must run in en..

  Determine difference between repeated set of measurements

By this time you are prepared, I trust, to determine that there would be some difference between, two averages. What must we do in such a case?

  Explain roles and influences of computers

Topic is "The Global Economy" . You will be writing the term paper replying to the following questions? Explain the roles and influences of computers and communications technology in increase of trans-border economic activity.

  Explain hardware implementations of intelligent agents

There are hardware implementations of intelligent agents. Determine the literature instances of intelligent agents as software. Compare and contrast two implementations.

  How are these examples of predefined control events

How are these examples of predefined control events and its usage in programming. • Delegate - Object that contains a reference to a method - Encapsulates a method - Provides a way for a program to take alternative courses when running •

  Write a select statement that returns four columns

Write a SELECT statement that returns four columns: VendorName

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd