I\'d like my program to read the cache line size of the CPU it\'s running on in C++.
I know that this can\'t be done portably, so I will need a solution for Linux an
Looks like at least SCO unix (http://uw714doc.sco.com/en/man/html.3C/sysconf.3C.html) has _SC_CACHE_LINE for sysconf. Perhaps other platforms have something similar?