Skip to content

HostCpu

This element details the CPU information of a Host.

Element structure

Property Value type Required Description
socket int Read-only Number of populated CPU sockets
cores int Read-only Total number of cores (sum of all CPU cores)
threads int Read-only Total number of threads (sum of all CPU threads)
info string Read-only CPU information
type string Read-only CPU type
Table 1: HostCpu element structure

Hyperthreading

You can tell whether hyperthreading is enabled by looking at the cores and threads properties.

The cores property represents physical cores. The threads property represents logical cores.

Hyperthreading is enabled when threads is double the amount of cores.

Hyperthreading is disabled when threads is equal to the amount of cores.

Element relation

The Cpu element is part of the Host element and is not used stand-alone.