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

  Analyze the consequences of experiment done on mice

Group that had been fed had retained this ability, but other group had not. Probable reason that scientists used only mice from same pure-bred strain is so that?

  Instruction cycle and finding contents of registers

Go over instruction cycle and find out contents of registers PC, AR, DR, AC, and IR for each of seven memory-reference instructions.

  Few techniques to incorporate to site

Did you know that you do not have to start from scratch if your site is not accessible? There are a few techniques you may incorporate to your site.

  Explain the concept of supply chain management

Explain the concept of supply chain management. Although R/Way offers services rather than products, could that concept apply to the design of R/Way's new system? If so, how?

  Prepare a paper on supercomputing

Consider any of the supercomputing examples we discussed in class, and find a scientific paper describing it. you must find an article in a valid IEEE or ACM publication (journal, conference, etc.)

  Write projected growth rates for expansion of wi-fi

Write some of projected growth rates for expansion of Wi-Fi in geographic area? Choose geographic region of United States and recognize growth rates for Wi-Fi in area over next year

  Class that tests all the methods in the class

Write a test program for each class that tests all the methods in the class.

  Encode audio data in two packets

How might you encode audio (or video) data in two packets so that if one packet is lost, then resolution is simply decreased to what would be expected with half bandwidth?

  Performance of computer if main memory speed remains same

Using a faster processor chip result in corresponding increase in performance of computer even if main memory speed remains the same.

  Significant invention which shaped society today

Pondering history of technology development, decide what you think was the most significant invention previous to the 1600s which has shaped society today. Explain your decision.

  Network lan and the wan links

Use VLSM to configure the given network LAN and the WAN links. VLSM must be used in the MOST efficient way to subnet the LAN and the WAN links. All the links between routers are WAN links.

  Create to start this assignment

We will be working on only the GUI for the calculator this week. There will not be any code to make the calculator calculate. What classes will we need to create to start this assignment?

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