LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-29-2004, 01:40 PM   #1
elanvital
LQ Newbie
 
Registered: May 2004
Location: Australia
Posts: 1

Rep: Reputation: 0
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.

Last edited by elanvital; 05-29-2004 at 02:32 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tool to detect number of memory slots, memory module type, speed, and size stefanwolf Linux - Hardware 8 04-22-2013 09:48 AM
Cache memory size too high? Boomba Linux - General 2 10-15-2005 01:32 PM
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 09:57 AM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM
disk cache chews up memory and won't let go TomaCzar Slackware 3 03-07-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration