Subject: Re: [boost] cache size runtime detection
From: Joel FALCOU (joel.falcou_at_[hidden])
Date: 2015-08-17 12:56:01
>> 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.
Doesn't Bosot.Thread has that already ?
>> - Current CPU core capabilities (vendor string, instruction set
>> extensions, cache properties, etc.). Probably, this would need to
>> support heterogenous systems as well.
We currently have a wrapper for CPUID(EX) like calls so it may just fit
>> - System RAM size.
>> - OS version string.
Those I dunno except it's non-trivial.
Well, as far as creep goes, we can have a basic system put together adn
expand it later.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk