Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + type CPUDetails map[int]CPUInfo + func (d CPUDetails) CPUs() cpuset.CPUSet + func (d CPUDetails) CPUsInCores(ids ...int) cpuset.CPUSet + func (d CPUDetails) CPUsInNUMANodes(ids ...int) cpuset.CPUSet + func (d CPUDetails) CPUsInSockets(ids ...int) cpuset.CPUSet + func (d CPUDetails) Cores() cpuset.CPUSet + func (d CPUDetails) CoresInNUMANodes(ids ...int) cpuset.CPUSet + func (d CPUDetails) CoresInSockets(ids ...int) cpuset.CPUSet + func (d CPUDetails) KeepOnly(cpus cpuset.CPUSet) CPUDetails + func (d CPUDetails) NUMANodes() cpuset.CPUSet + func (d CPUDetails) NUMANodesInSockets(ids ...int) cpuset.CPUSet + func (d CPUDetails) Sockets() cpuset.CPUSet + func (d CPUDetails) SocketsInNUMANodes(ids ...int) cpuset.CPUSet + type CPUInfo struct + CoreID int + NUMANodeID int + SocketID int + type CPUTopology struct + CPUDetails CPUDetails + NumCPUs int + NumCores int + NumSockets int + func Discover(machineInfo *cadvisorapi.MachineInfo, numaNodeInfo NUMANodeInfo) (*CPUTopology, error) + func (topo *CPUTopology) CPUsPerCore() int + func (topo *CPUTopology) CPUsPerSocket() int + type NUMANodeInfo map[int]cpuset.CPUSet + func GetNUMANodeInfo() (NUMANodeInfo, error)