文件名称:Cache
-
所属分类:
- 标签属性:
- 上传时间:2014-02-28
-
文件大小:3.82kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本程序主要用于测试系统在三种情况下计算1~10000000的速度差异。三种情况分别为:数据在寄存器中计算、使用cache计算、不使用cach只使用内存计算。编写的三个程序:寄存器版、cache版、uncachable版均达到预期效果。这个程序的难点在与关闭系统的cache,在大量查找资料,找寻了5种方法后,才最终成功,所有带failed的代码均表示失败的(之所以把失败的代码也发上来,一是为了避免大家再走弯路,二是希望加以改进,变失败为成功)。-This program is mainly used to test the system calculates the difference in speed from 1 to 10 million in the three cases. Three cases were: data in registers calculations, calculated using the cache, do not use cach calculated using only memory. Written three programs: Register version, cache version, uncachable version have the desired effect. The difficulty in the program on and off the system cache, after a lot of search for information, find the five methods, finally successful, all expressed with a failed code failed (reason for the failure of the code is made up, one for We then detours to avoid the second is hoped to be improved, turn failure into success).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Cache/
Cache/cachable.c
Cache/register.c
Cache/register.s
Cache/uncachable.c
Cache/uncachable_change_cr0(failed).c
Cache/uncachable_dma(failed).c
Cache/uncachable_kernel(failed).c
Cache/cachable.c
Cache/register.c
Cache/register.s
Cache/uncachable.c
Cache/uncachable_change_cr0(failed).c
Cache/uncachable_dma(failed).c
Cache/uncachable_kernel(failed).c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.