-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Andrey Semashev Sent: 17 August 2015 18:09 To: boost@lists.boost.org Subject: Re: [boost] cache size runtime detection
On 17.08.2015 19:56, Joel FALCOU wrote:
It should definitely be a dedicated library. What I was thinking of for quite some time is a bit broader. My idea is a system capabilities library (Boost.SystemCaps) which would offer a generic interface for querying the current system properties such as:
- Number of CPU cores/threads.
Well, as far as creep goes, we can have a basic system put together adn expand it later.
Yes, that's my thought as well. Such a library can never be complete. :)
Not all systems will have all meaningful values for all features. Can we establish a good 'NotANumber' right at the start (preferably better than the -1 used in the C-ish http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html)? Paul --- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830