hwloc  2.0.1
About: hwloc (Portable Hardware Locality) aims at helping applications with gathering information about modern computing hardware (including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading) so as to exploit it accordingly and efficiently.
  Fossies Dox: hwloc-2.0.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

hwloc Documentation