Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResctrlMountPath ¶
ResctrlMountPath returns path of the mount point to the resctrl filesystem
Types ¶
type Bitmask ¶
type Bitmask uint64
Bitmask represents a generic 64 bit wide bitmask
func ListStrToBitmask ¶
ListStrToBitmask parses a string containing a human-readable list of bit numbers into a bitmask
func (Bitmask) ListStr ¶
ListStr prints the bitmask in human-readable format, similar to e.g. the cpuset format of the Linux kernel
func (Bitmask) MarshalJSON ¶
MarshalJSON implements the Marshaler interface of "encoding/json"
type Control ¶
type Control interface { // GetClasses returns the names of RDT classes (or resctrl control groups) // available GetClasses() []string // SetProcessClass assigns a set of processes to a RDT class SetProcessClass(string, ...string) error }
Control is the interface managing Intel RDT resources
func NewControl ¶
NewControl returns new instance of the RDT Control interface
Click to show internal directories.
Click to hide internal directories.