介绍
本实验帮助我们更好的理解高速缓存对于C语言程序性能的影响
该实验分为2部分,part A主要是实现一个模拟缓存行为的C语言程序,大概行数在200~300多行左右。part B主要是优化特定维的矩阵转置操作,目标是显著能够减少缓存的命中数。
实验准备
下载相关的原始实验包,原始实验包github地址
下载本博客具有解答实验包在如下地址,实验包
为提供帮助,我还将CMU对于该实验辅助材料上传,下面是下载地址。
实验的PDF、实验的指导PPT
注意:Do not let the Windows WinZip program open up your .tar file . Instead, save the file to your Linux directory and use the Linux tar program to extract the files. In general, for this class you should NEVER use any platform o