Chapter1: Preface

zcyzzz cy

Relative Performance

比较两计算机运行相同程序的表现:

CPU Time


Clock Rate is clock frequency.

Instruction Count and CPI

(Average)CPI: (平均)每个指令需要的时钟周期数.

IC: Instruction Count.

算法、编程语言、编译器、指令集架构均会影响IC和CPI,其中指令集架构还会影响

Amdahl’s Law

有关计算机性能改进。

Example: 一台计算机的乘法时间花费占比80s/100s,那么根据Amdahl定律,不可能只通过改进乘法时间来使得改进后的性能是原有的5倍。

Eight Great Ideas

这8种Ideas的例子在ppt里比较好懂,但在课后习题里极为逆天,拼尽全力无法分辨

  • Title: Chapter1: Preface
  • Author: zcyzzz
  • Created at : 2024-11-09 21:39:05
  • Updated at : 2024-11-10 15:56:52
  • Link: https://rockissleeping.github.io/2024/11/09/com_C1/
  • License: This work is licensed under CC BY-NC-SA 4.0.