Boost logo

Boost :

Subject: Re: [boost] cache size runtime detection
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2015-08-17 13:01:52


Joel wrote:
> Would there be interest to have such utility in Boost ?

Yes.

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).

Best,
Glen

--
View this message in context: http://boost.2283326.n4.nabble.com/cache-size-runtime-detection-tp4678948p4678963.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk