LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to find size of Cache memory i.e. L1 and L2 (https://www.linuxquestions.org/questions/linux-general-1/how-to-find-size-of-cache-memory-i-e-l1-and-l2-187390/)

elanvital 05-29-2004 01:40 PM

How to find size of Cache memory i.e. L1 and L2
 
Hi,

1)I need to know if there is a C function which could find out how much cache memory(i.e. L1 and L2 Cache) is available in a processor.
I want to find the cache(L1 & L2) availability from a C program.

2) How can I find the access time of L1 cache, L2 cache and main memory?


Thanks.


All times are GMT -5. The time now is 07:07 PM.