[LC++] Welcome to the "tuxCPProgramming" mailing list

Saurabh Sehgal saurabh.r.s at gmail.com
Mon Dec 3 17:21:20 UTC 2007


Hi,

I had a question regarding C/C++ programming. What would be the best way to
write platform independant code to determine the L2 cache size of a CPU ? Is
there anyway that I can do this programatically , by reading the BIOS ? or
timing memory accesses ?

Any help would be greatly appreciated.

Thanks !

Saurabh Sehgal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux.org.au/pipermail/tuxcpprogramming/attachments/20071203/826a46ba/attachment.htm 


More information about the tuxCPProgramming mailing list