Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CPUArchitecture ¶
CPUArchitecture represents cpu model example:
broadwell: gold: Cache: Min: 1 Max: 1 Pstate: Ratio: 0.1
type Module ¶
Module represents attributes for single module example:
Cache: Min: 1 Max: 1
func GetDefaultPolicy ¶
GetDefaultPolicy returns default policy
type Param ¶
type Param map[string]interface{}
Param represents single policy attribute example: "MaxCache: 4"
type Policy ¶
Policy represents policy type example:
gold: Cache: Min: 1 Max: 1 Pstate: Ratio: 0.1
func GetDefaultPlatformPolicy ¶
GetDefaultPlatformPolicy gets policy for default platform
func LoadPolicyInfo ¶
LoadPolicyInfo returns policy for cpu on current machine (example: broadwell)
Click to show internal directories.
Click to hide internal directories.