- Elapsed time
总的反应时间 - CPU time
CPU时间=CPU Clock Cycles (CPU时钟周期=数CPU时钟循环次数)*Clock Cycle Time(时钟周期)
=CPU Clock Cycles (CPU时钟周期数)/Clock Rate(时钟频率) - Instruction Count 指令数
- Average cycles per instruction (CPI)每条计算机指令执行所需的平均周期数
Clock Cycles =Instruction Count *Cycles per Instruction(每个指令周期数)
CPU Time =Instruction Count *CPI* Clock Cycle Time
=Instruction Count *CPI / Clock Rate
- CPU time= (Instructions / program) *(Clock cycles/Instruction)*(Seconds / Clock cycle)
- Performance depends on
Algorithm: affects IC, possibly CPI
Programming language: affects IC, CPI
Compiler: affects IC, CPI
Instruction set architecture: affects IC, CPI, Tc
- Dynamic Power =Capacitive load * Voltage2 * Frequency
*30 5V->1V*1000
- MIPS (million instructions per second)每秒执行万次指令
MIPS=Instruction count / (Execution time *10^6)
=Instruction count / ( ( Instruction count *CPI/Clock rate ) * 10^6 )
=Clock Rate / (CPI *10^6 )
计算机组成学习笔记1.1
最新推荐文章于 2024-08-23 04:18:21 发布