Documentation ¶
Index ¶
Constants ¶
View Source
const CPUSET_PATH = "/sys/fs/cgroup/cpuset/cpuset.cpus"
Variables ¶
This section is empty.
Functions ¶
func GetNumberOfVCPUs ¶ added in v0.12.0
GetNumberOfVCPUs returns number of vCPUs It counts sockets*cores*threads
func ParseCPUSetLine ¶
Parse linux cpuset into an array of ints See: http://man7.org/linux/man-pages/man7/cpuset.7.html#FORMATS
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.