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

  Monitoring performance of it acquisition projects

Who is or should be responsible for monitoring the performance of IT acquisition projects and taking action that may result in cancelling the project?

  Determine one-s complement of sum of eight-bit bytes

UDP and TCP use 1s complement for their checksums. Assume you have following three 8-bit bytes: 01010101, 01110000, 01001100. Determine the 1s complement of sum of these 8-bit bytes?

  Write down sructured english for clyde-s narrative

On a trip lasting more than one day, we permit hotel, taxi, and airfare also meal allowances. Same times apply for meal expenses. Write down sructured English for Clyde's narrative of the reimbursement policies.

  This thesis artefact is flexible

This thesis artefact is flexible in a sense that helper can use any other sort of tools to accomplish the task as long as it matches with the aim but please, let me know how he/ she going to do it.

  What bit pattern will be in memory cell

What bit patterns will be in registers 0, 1, and 2 when the machine halts? What bit pattern will be in the memory cell at address 30 when the machine halts?

  Write the diffent entities or objects

Write the diffent entities or objects,logical processes,data flows, and dfata stores which are involoved. starting from time you submitted your time sheet.

  Nist criteria for selection of des and aes relate to shannon

How do the NIST criteria for selection of DES and AES relate to Shannon's original standards of a good cryptographic system?

  Design application to accept reader data

Design an application that accepts reader data and produces a count of readers by age groups as follows: under 20, 20-29, 30-39, 40-49, and 50+.

  Analyze the data to make business decisions

Database reports give us with ability to further analyze the data and give it in format which can be used to make business decisions.

  Create a class to represent a triangle by storing

Create a class to represent a triangle by storing the lengths of its sides. Make the data members private and provide the typical get/set (accessor/mutator) routines associated with your data members.

  Compare and contrast five design pattern activity

Design Pattern Activity: Prepare a 2-3 page paper comparing and contrasting five of the design patterns . Choose any five from the list. Adapter - helps to reuse an object or method by adapting its interface to a more common one

  Discuss whether you accept demand from manager

Discuss whether you should accept this demand from your manager or whether you should persuade your team to give their time to the organization rather than to their families. What factors might be significant in your decision?

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