Versions in this module Expand all Collapse all v0 v0.13.1 Jul 14, 2026 v0.13.0 Jun 26, 2026 Changes in this version + type AllocationHints = types.AllocationHints + type AllocationIntent = types.AllocationIntent + type ConfigSpec struct + Allowed cpuset.CPUSet + Classes []*policyapi.CPUClass + TurboDomain string + type CpuPreference = types.CpuPreference + type Handler struct + func New(sys sysfs.System) (*Handler, error) + func (h *Handler) AssignCPUs(name string, cpus []int) + func (h *Handler) Commit() error + func (h *Handler) Configure(spec ConfigSpec) error + func (h *Handler) Hints(intent AllocationIntent) AllocationHints + func (h *Handler) PctActive() bool + func (h *Handler) PctFreeClassCapacity(className string, held cpuset.CPUSet) int + func (h *Handler) SetClassDef(name string, def types.ClassDef) + func (h *Handler) Shutdown() error + func (h *Handler) UseClass(className string, cpus cpuset.CPUSet) error