package
0.0.0-20200605025306-c9cfaf6957aa
Repository: https://github.com/mmcloughlin/goperf.git
Documentation: pkg.go.dev
# Functions
Create the named cpuset under the standard sysfs hierarchy.
CreatePath creates a cpuset at a custom path.
MoveTasks attempts to move all tasks from src to dst cpusets, returning the result in a MoveResult struct.
NewCPUSet returns a reference to the named cpuset under the standard sysfs hierarchy.
NewCPUSetPath returns a reference to a cpuset directory at a custom path.
NewSet builds a new set and inserts the given members into it.
ParseList parses a set represented in "List Format", specifically a comma-separated list of ranges.
ParseMask parses a set represented in linux "Mask Format", specifically a comma-separated list of 32-bit hex words in big-endian order.
Root returns the root cpuset.
# Structs
CPUSet represents a cpuset in the sysfs filesystem.
MoveResult records the outcome of a batch task migration from one cpuset to another.
# Type aliases
Set of unsigned integers.