|
Boost : |
Subject: Re: [boost] cache size runtime detection
From: Joel FALCOU (joel.falcou_at_[hidden])
Date: 2015-08-17 16:03:49
On 17/08/2015 19:11, Andrey Semashev wrote:
> On 17.08.2015 20:01, Glen Fernandes wrote:
>>
>> Andrey wrote:
>>> 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.
>>> - Current CPU core capabilities (vendor string, instruction set
>>> extensions, cache properties, etc.). Probably, this would need to
>>> support heterogenous systems as well.
>>> - System RAM size.
>>> - OS version string.
>>
>> This sounds like a good idea. It would almost be runtime-analogous to
>> Boost.Config (Boost.RuntimeConfig or Boost.SystemConfig).
>
> The name is not final, just something I refer the idea to. I'm in favor
> of shorter names though, like Boost.SysInfo, perhaps.
What about Boost.SysCtl to mimic the sysctl() function ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk