EBK COMPUTER ORGANIZATION AND DESIGN: T
EBK COMPUTER ORGANIZATION AND DESIGN: T
5th Edition
ISBN: 9780124078864
Author: Patterson
Publisher: ELSEVIER SCIENCE COURSE CONTENT
Expert Solution & Answer
Book Icon
Chapter 1, Problem 1.6E

a.

Explanation of Solution

Given,

The clock rate of the processor P1 is 2.5GHz

The clock rate of the processor P2 is 3GHz

The Cycles Per Instruction (CPI) of the classes A, B, C and D related to the processor P1 is 1, 2, 3 and 3 respectively.

The CPI of the classes A, B, C and D related to the processor P2 is 2, 2, 2 and 2 respectively.

The time required to complete the implementation can be calculated using the following formula is given below:

Time=Numberofinstructions×CPIClockrate

Substitute, “1×105,2×105,5×105and2×105” for “Number of instructions of A, B, C and D” “1, 2, 3 and 3” for “CPI of A, B, C and D” and “2.5” for “Clock rate” is given below:

Time=(105×1)+(2×105×2)+(5×105×3)+(2×105×3)2.5×109=10.4×10-4

Thus, the time required by the processor P1 to complete the implementation is 10.4×10-4s

Substitute, “1×105,2×105,5×105and2×105” for “Number of instructions of A, B, C and D” “2, 2, 2 and 2” for “CPI of A, B, C and D” and “2

b.

Explanation of Solution

Given,

The clock rate of the processor P1 is 2.5GHz

The clock rate of the processor P2 is 3GHz

The Cycles Per Instruction (CPI) of the classes A, B, C and D related to the processor P1 is 1, 2, 3 and 3 respectively.

The CPI of the classes A, B, C and D related to the processor P2 is 2, 2, 2 and 2 respectively.

The number of clock cycles of the processor can be calculated using the following formula is given below:

Numberofclockcycles=Numberofinstructions×CPI

Substitute, “1×105,2×105,5×105and2×105” for “Number of instructions of A, B, C and D” and “1, 2, 3 and 3” for “CPI of A, B, C and D” is given below:

Clockcycles=(105×1)+(2×105×2)+(5×105×3)+(2×105×3)=

Blurred answer
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY