Versions in this module Expand all Collapse all v0 v0.3.1 Feb 18, 2021 Changes in this version + const Besteffort + const Guarantee + const Infra + const MaxMBAMbps + const MaxMBAPercentage + const OS + const Shared + const SysCPUPath + var ReservedInfo map[string]*Reserved + var SizeMap = map[string]uint32 + func AvailableCacheLevel() ([]string, error) + func BitmapsCPUWrapper(cpuids interface{}) (*util.Bitmap, error) + func BitmapsCacheWrapper(bitmask interface{}) (*util.Bitmap, error) + func Get(request *restful.Request, response *restful.Response) + func GetAvailableCacheSchemata(allres map[string]*resctrl.ResAssociation, ignoreGroups []string, pool string, ...) (map[string]*libutil.Bitmap, error) + func GetCPUPools() (map[string]map[string]*util.Bitmap, error) + func GetCachePoolLayout() (map[string]*Reserved, error) + func GetCachePoolName(MaxWays, MinWays uint32) (string, error) + func GetLLC() uint32 + func GetReservedInfo() map[string]*Reserved + func GetSpecifiedCache(request *restful.Request, response *restful.Response) + func GetSysCaches(level int) (map[string]SysCache, error) + func LevelGet(request *restful.Request, response *restful.Response) + func Register(prefix string, container *restful.Container) + func SetInfraGroup() error + func SetOSGroup() error + type CachesSummary struct + Caches map[string]Summary + Cat bool + CatOn bool + Cdp bool + CdpOn bool + Cqm bool + Rdt bool + func (c *CachesSummary) Get() error + type CosInfo struct + CbmMask string + CbmMaskLen int + MinCbmBits int + NumClosids int + func GetCosInfo() CosInfo + type Info struct + AvailableCPUs string + AvailableIsoCPUs string + AvailablePolicy map[string]uint32 + AvailableWays string + AvailableWaysPool map[string]string + CacheLevel uint32 + ID uint32 + LineSize uint32 + Location string + Node string + NumClasses uint32 + NumPartitions uint32 + NumSets uint32 + NumWays uint32 + ShareCPUList string + TotalSize uint32 + WayContention uint64 + WaySize uint32 + type Infos struct + Caches map[uint32]Info + Num uint32 + func (c *Infos) GetByLevel(level uint32) error + type Reserved struct + AllCPUs *util.Bitmap + CPUsPerNode map[string]*util.Bitmap + Name string + Quota uint + SchemaNum int + Schemata map[string]*util.Bitmap + Shrink bool + func GetInfraGroupReserve() (Reserved, error) + func GetOSGroupReserve() (Reserved, error) + type Summary struct + IDs []string + Num int + type SysCache struct + CoherencyLineSize string + ID string + Level string + NumberOfSets string + PhysicalLinePartition string + SharedCPUList string + SharedCPUMap string + Size string + Type string + WaysOfAssociativity string