|
join 1.0
lightweight network framework library
|
physical CPU core (may have multiple logical CPU). More...
#include <cpu.hpp>
Public Member Functions | |
| int | primaryThread () const noexcept |
| get primary thread (first hardware thread, avoids HT). | |
Public Attributes | |
| int | id |
| int | socket |
| int | numa |
| std::vector< LogicalCpu > | threads |
physical CPU core (may have multiple logical CPU).
|
inlinenoexcept |
get primary thread (first hardware thread, avoids HT).
| int join::PhysicalCore::id |
physical CPU ID
| int join::PhysicalCore::numa |
NUMA node ID
| int join::PhysicalCore::socket |
physical socket ID
| std::vector<LogicalCpu> join::PhysicalCore::threads |
logical CPUs (SMT/HT)