Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MBAModeToInt ¶
MBAModeToInt converts suppored MBA modes (none, percentage or mbps) into PQOS compatible values (-1, 0 and 1 respectively)
return error if invalid mode given
Types ¶
type CachePool ¶
type CachePool struct {
Guarantee uint `toml:"guarantee"`
Besteffort uint `toml:"besteffort"`
Shrink bool `toml:"shrink"`
}
CachePool represents cache pool layout configuration
func NewCachePoolConfig ¶
func NewCachePoolConfig() *CachePool
NewCachePoolConfig reads cache pool layout configuration
type InfraGroup ¶
type InfraGroup struct {
CacheWays uint `toml:"cacheways"`
CPUSet string `toml:"cpuset"`
Tasks []string `toml:"tasks"`
}
InfraGroup represents infra group configuration
func NewInfraConfig ¶
func NewInfraConfig() *InfraGroup
NewInfraConfig reads InfraGroup configuration
Click to show internal directories.
Click to hide internal directories.