Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Organization and Architecture Tutorial 1 Kenneth Lee.

Similar presentations


Presentation on theme: "Computer Organization and Architecture Tutorial 1 Kenneth Lee."— Presentation transcript:

1 Computer Organization and Architecture Tutorial 1 Kenneth Lee

2 P 45, Problem 2.10 Processor clock can be measured by Frequency of processor clock: Cycle time of processor clock: Program size can be measured by Instruction count (Number of machine instructions): Processor time to executing a program CPI means average cycles per instruction

3 Processor time to executing a program can also be expressed as p is the number of processor cycles m is the number of memory cycles k is the ratio between processor cycle time and memory cycle time

4 Instruction count p number of processor cycles m number of memory cycles k ratio between processor cycle time and memory cycle time Cycle time of processor clock Instruction set architecture X X Compiler technology X X X Processor implementation X X Cache and memory hierarchy X X

5 P 46, Problem 2.11 Processor performance can be measured by MIPS: millions of instructions per second

6 P 46, Problem 2.13

7 CPI = (45000*1 + 32000*2 + 15000*2 + 8000*2)/100000 = 1.55


Download ppt "Computer Organization and Architecture Tutorial 1 Kenneth Lee."

Similar presentations


Ads by Google