CPU访问存储器时,被访问数据一般聚集在一个较小的连续储存区域中。若一个储存单元已被访问,则其邻近的储存单元有可能还要被访问,该特性被称为( )
2023-09-01
A.数据局部性
B.指令局部性
C.空间局部性
D.时间局部性
参考答案:C
B.指令局部性
C.空间局部性
D.时间局部性
参考答案:C
局部性原理是指计算机在执行某个程序时,倾向于使用最近使用的数据。局部性原理有两种表现形式:1、时间局部性是指被引用过的存储器位置很可能会被再次引用2、空间局部性是指被引用过的存储器位置附近的数据很可能将被引用。
![]( //img1.runjiapp.com/duoteimg/tiku/images/pc/questionBank/main-list-title-icon.png)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_36.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_39.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_9.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_67.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_91.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_38.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_36.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_42.jpg)
热门标签