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
xeze [42]
3 years ago
14

Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A, B, a

nd C) in the instruction set. M1 has a clock rate of 80 MHz and M2 has a clock rate of 100 MHz. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows:______
a. Calculate the average CPI for each machine, M1, and M2.
b. Which implementation (M1 or M2) is faster?
c. Find the clock cycles required for both processors.
Computers and Technology
1 answer:
ANTONII [103]3 years ago
7 0

Answer:

a) the average CPI for machine M1 = 1.6

the average CPI for machine M2 = 2.5

b) M1 implementation is faster.

c) the clock cycles required for both processors.52.6*10^6.

Explanation:

(a)

The average CPI for M1 = 0.6 x 1 + 0.3 x 2 + 0.1 x 4

= 1.6

The average CPI for M2 = 0.6 x 2 + 0.3 x 3 + 0.1 x 4

= 2.5

(b)

The average MIPS rate is calculated as: Clock Rate/ averageCPI x 10^6

Given 80MHz = 80 * 10^6

The average MIPS ratings for M1 = 80 x 10^6  / 1.6 x 10^6

= 50

Given 100MHz = 100 * 10^6

The average MIPS ratings for M2 = 100 x 10^6 / 2.5 x 10^6

= 40

c)

Machine M2 has a smaller MIPS rating

Changing instruction set A from 2 to 1

The CPI will be increased to 1.9 (1*.6+3*.3+4*.1)

and hence MIPS Rating will now be (100/1.9)*10^6 = 52.6*10^6.

You might be interested in
Graphics that contain movement are often referred to as<br>..........​
Jlenok [28]

Answer:

I think the answer is animation.

7 0
3 years ago
Read 2 more answers
Write a method manyStrings that takes an ArrayList of Strings and an integer n as parameters and that replaces every String in t
raketka [301]

Answer:

public static ArrayList manyStrings(ArrayList<String> list, int n){

    ArrayList<String> newList = new ArrayList<String>();

    for (int i=0; i<list.size(); i++) {

        for (int j=0; j<n; j++) {

            newList.add(list.get(i));

        }

    }

    return newList;

}

Explanation:

Create a method called manyStrings that takes two parameters, list and n

Create a new ArrayList that will hold new values

Create a nested for loop. The outer loop iterates through the list. The inner loop adds the elements, n of this element, to the newList.

When the loops are done, return the newList

3 0
3 years ago
Inserting a new value in the middle of a singly lnked list requires changing the pinter of the list node that follows the new no
lukranit [14]

Answer:

A.) True

Explanation:

Inserting a new value in the middle of a singly lnked list requires changing the pinter of the list node that follows the new node.

8 0
3 years ago
Adding _____ will allow the user to create text as it will often appear in publications with multiple articles, such as a newspa
mart [117]
Does applications make sense <span />
5 0
4 years ago
Read 2 more answers
Which type of security measure reduces the likelihood of a deliberate attack?​
valentinak56 [21]
Anti-Virus and anti malware also the anti addwear
4 0
3 years ago
Other questions:
  • The home page box will only appear with what people you may know
    12·1 answer
  • Jeff is preparing for a presentation on effective communication skills. He has to face an audience of over 50 people. Which stra
    9·2 answers
  • What is autofill in a excel spreadsheet?
    7·1 answer
  • 12.
    10·1 answer
  • On dynamic disks, the term partition is not used to define the space where a file system is installed. what term is used?
    6·1 answer
  • Intellectual property rights are exclusive rights that help protect both the created and the creation. IPR offers exclusively wh
    8·2 answers
  • Preventive Maintenance will will reduce potential hardware and Software Problems. Select two factors based on which Preventive m
    5·1 answer
  • OTATAYAYYAYYA HAVE A NICE DAY BEAUTIFUL PEOEOEPOPEPELELELEEL
    5·2 answers
  • What is a new option in PowerPoint 2016 that provides the ability to add multiple pictures into a slide, complete with transitio
    7·2 answers
  • Which of the following will you do in step X in the following series of clicks to change the bounds of
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!