os_kernel_lab/related_info/lab3/locality/locality.md

8 lines
157 B
Markdown
Raw Permalink Normal View History

2015-03-23 09:11:45 +08:00
#在linux下分析程序的局部性
可通过如下命令在时间上看出在执行时间上的差异
```
make
time ./goodlocality
time ./badlocality
```