Documentation
¶
Index ¶
- Constants
- func GetCPUResources(resCPUs string, getCPUs func() (cpuset.CPUSet, error)) (cpuset.CPUSet, error)
- func GetOnlineCPUs() (cpuset.CPUSet, error)
- func GetPCIDevices() ([]*pci.Device, error)
- func GetPCIResources(resourceMap map[string]string, getPCIs func() ([]*pci.Device, error)) (map[string]PerNUMADevices, error)
- func ResourceNameForDevice(dev *pci.Device, resourceMap map[string]string) (string, bool)
- type Config
- type PerNUMADevices
- type SysInfo
Constants ¶
View Source
const (
SysDevicesOnlineCPUs = "/sys/devices/system/cpu/online"
)
Variables ¶
This section is empty.
Functions ¶
func GetCPUResources ¶
func GetOnlineCPUs ¶
func GetPCIDevices ¶
func GetPCIResources ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.