package
0.3.1
Repository: https://github.com/intel/rmd.git
Documentation: pkg.go.dev

# Functions

DestroyResAssociation removes resource group.
DisableRdt unmount resctrl.
EnableCat mounts resctrl.
EnableCdp mounts resctrl with option -o.
GetNumOfCLOS returns number COSes for L3 Cache, MBA or both depending on input params If both L3 Cache and MBA selected function returns lower of two values.
GetRdtCosInfo gives RDT info access the resctrl need flock to avoid race with other agent.
GetResAssociation returns all resource groups access the resctrl need flock to avoid race with other agent.
Init does config initial.
IsIntelRdtMounted give true/false of RDT mounted or not.
IsNotFound returns if notfound error happened.
NewNotFoundError returns new error of NotFoundError.
NewResAssociation gives new empty ResAssociation.
RemoveTasks move tasks to default resctrl group Resctrl doesn't support remove tasks from sysfs, the way to remove tasks from resource group is to move them to default group.

# Variables

RdtInfo is global immutable variable.
SysResctrl is the absolute path to the root of the Intel RDT "resource control" filesystem.

# Structs

CacheCos is the COS of a cache.
CPUsTask is the CPU task.
GroupTask is task to create new group.
MbaCos is the COS of a cache.
NotFoundError represents not found error.
RdtCosInfo is from /sys/fs/resctrl/info.
ResAssociation is the resource group in resctrl TODO need to paser the tag for field setting.
SchemataTask is the task to create schemata.
Task is task for resctrl.
TasksTask is the task for add tasks.