Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions tool.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
---
sidebar_position: 9
---
# 性能优化和简易缓存

<!--
Expand Down Expand Up @@ -196,7 +193,7 @@ perf = ------- = ------ * ------- * -------
* 有了动态指令数, 再统计周期数, 即可计算出IPC
* 电路的频率可查看综合器的报告获取

:::warning[统计IPC]
:::flag[统计IPC]
尝试在仿真环境中统计IPC.
实际上, 我们在实现总线的时候要求你评估程序的运行时间, 用的就是上述性能公式.
不过当时我们是通过`程序执行所需的周期数 / 频率`来计算,
Expand Down Expand Up @@ -2025,4 +2022,4 @@ Hint: 你可能会遇到和`fence.i`相关的编译错误, 尝试根据报错信
:::

事实上, 在真实计算机中缓存一致性问题还有更多的表现.
后续随着处理器变得复杂, 我们也会讨论更多的缓存一致性问题.
后续随着处理器变得复杂, 我们也会讨论更多的缓存一致性问题.
Loading