Gromacs
2016.6
|
#include <gromacs/hardware/hardwaretopology.h>
Hardware topology information about the entire machine.
The machine structure is a tree with top-down information about all sockets, cores, and hardware threads in the system. For example, an operating system logical processor index can be found as machine.socket[0].core[1].hwthread[2].logicalProcessorId. In some cases you might need the opposite lookup, i.e. the physical hardware data for a specific logical processor. This is present in the logicalProcessor vector for convenience.
Public Attributes | |
int | logicalProcessorCount |
Number of logical processors in system. | |
std::vector< LogicalProcessor > | logicalProcessors |
Map logical processors to socket/core. | |
std::vector< Socket > | sockets |
All the sockets in the system. | |
std::vector< Cache > | caches |
Caches in increasing level order. | |
Numa | numa |
Structure with all numa information. | |
std::vector< Device > | devices |
Devices on PCI bus. | |