Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We have two computers P1 and P2. The following is the breakdown of two programs A and B. Operation A B P1 CPI P2 CPI
We have two computers P1 and P2. The following is the breakdown of two programs A and B.
Operation | A | B | P1 CPI | P2 CPI |
Load/store | 30% | 50% | 2 | 2 |
ALU | 60% | 20% | 1 | 2 |
Branch | 10% | 30% | 3 | 2 |
a) P1 has a 2Ghz speed. What is the execution time if A runs for 300 instructions? What is the execution time if B runs for 500?
b) P1 has a 2Ghz speed. What does the clock rate for P2 so that both computers take the same time to run for program A.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started