发明名称 Cache detection using timing differences
摘要 An automatic method and apparatus in a computer system of cache detection. Accessing of data stored at first specified boundaries in a memory of the computer system corresponding with a first size of a cache is timed to produce a first timing value. Accessing of data stored at second specified boundaries in the memory of the computer system corresponding with a second size of a cache which is greater than the first size is timed to produce a second timing value. If the second timing value exceeds the first timing value by a threshold then the presence of a cache of the first size is indicated. This can also be performed iteratively until the memory of computer system has been completely tested for the presence of any caches. The process may be performed for instruction or data caches wherein the accessing of data for data caches includes memory access instruction, and the accessing of data for instruction caches includes the execution of instructions. Methods and apparatus for determining other cache characteristics are also described including detecting the set associativity of any known caches, and whether the known data and instruction caches are unified or not.
申请公布号 US5903915(A) 申请公布日期 1999.05.11
申请号 US19950405238 申请日期 1995.03.16
申请人 INTEL CORPORATION 发明人 INMAN, BRADLY L.
分类号 G06F11/22;G06F12/08;(IPC1-7):G06F12/08 主分类号 G06F11/22
代理机构 代理人
主权项
地址