Gromacs  2021-beta2-UNCHECKED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
gmx::HardwareTopology::HWThread Struct Reference

#include <gromacs/hardware/hardwaretopology.h>


Information about a single hardware thread in a core.

The id of the thread typically increases continuously as you walk through sockets and cores in order of their ids. In general, this can be different from the logical processor id provided by the operating system. To achieve better load balancing when using SMT, Linux typically assigns logical processors in a round-robin fashion over all cores.

Public Attributes

int id
 Absolute id of this thread in hardware topology.
int logicalProcessorId
 Id of the operating system logical processor.

The documentation for this struct was generated from the following file: