Documentation
¶
Index ¶
- func BFGetCoreMask(socketID, punitID, level uint8) (uint64, error)
- func BFGetInfo(socketID, punitID, level uint8) (isst.BaseFreqInfo, error)
- func BFSetStatus(socketID, punitID uint8, enable bool) error
- func CPGetPriorityType(socketID, punitID uint8) (uint8, error)
- func CPGetState(socketID, punitID uint8) (isst.CorePower, error)
- func CPSetPriorityType(socketID, punitID uint8, priority uint8) error
- func CPSetState(socketID, punitID uint8, enable bool, priority uint8) error
- func ClosAssociate(socketID, punitID uint8, punitCoreID uint16, clos uint8) error
- func ClosGetParam(socketID, punitID, closIdx uint8) (isst.ClosParam, error)
- func ClosReset(socketID, punitID uint8) error
- func ClosSetParam(socketID, punitID, clos, proportional uint8, minFreq, maxFreq uint16) error
- func GetCPUClosID(socketID, punitID uint8, punitCoreID uint16) (uint8, error)
- func GetCPUPunitID(cpu uint16) (uint8, error)
- func GetPunitCoreID(cpu uint16) (uint16, error)
- func GetSocketPunits(socketID uint8) ([]uint8, error)
- func PPGetPerfLevels(socketID, punitID uint8) (isst.PerfLevelInfo, error)
- func PerfLevelGetCPUMask(socketID, punitID, level uint8) (uint64, error)
- func TFGetInfo(socketID, punitID, level uint8) (isst.TurboFreqInfo, error)
- func TFSetStatus(socketID, punitID uint8, enable bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BFGetCoreMask ¶
BFGetCoreMask reads the BF core mask for a punit and perf level.
func BFGetInfo ¶
func BFGetInfo(socketID, punitID, level uint8) (isst.BaseFreqInfo, error)
BFGetInfo reads SST-BF frequency info for a performance level.
func BFSetStatus ¶
BFSetStatus enables or disables SST-BF for one punit, preserving the current TF state.
func CPGetPriorityType ¶
CPGetPriorityType reads the current CP priority type for one punit.
func CPGetState ¶
CPGetState reads the SST-CP state for a punit.
func CPSetPriorityType ¶
CPSetPriorityType updates the CP priority type for one punit, preserving the current enable state.
func CPSetState ¶
CPSetState sets SST-CP enabled/disabled with the given priority for one punit.
func ClosAssociate ¶
ClosAssociate associates a punit core to a CLOS.
func ClosGetParam ¶
ClosGetParam reads CLOS parameters for one CLOS on a punit.
func ClosSetParam ¶
ClosSetParam writes CLOS parameters for one CLOS on one punit interface. Frequency values are in MHz.
func GetCPUClosID ¶
GetCPUClosID returns the CLOS id for a punit core.
func GetCPUPunitID ¶
GetCPUPunitID returns the TPMI power domain (punit) ID for a given logical CPU.
func GetPunitCoreID ¶
GetPunitCoreID returns the TPMI punit core id for a given logical CPU.
func GetSocketPunits ¶
GetSocketPunits returns the valid TPMI power domain (punit) indices for a socket.
func PPGetPerfLevels ¶
func PPGetPerfLevels(socketID, punitID uint8) (isst.PerfLevelInfo, error)
PPGetPerfLevels reads performance level info for a punit.
func PerfLevelGetCPUMask ¶
PerfLevelGetCPUMask reads the punit core bitmask for a performance level.
func TFGetInfo ¶
func TFGetInfo(socketID, punitID, level uint8) (isst.TurboFreqInfo, error)
TFGetInfo reads SST-TF frequency info for a performance level.
func TFSetStatus ¶
TFSetStatus enables or disables SST-TF for one punit via the TPMI interface, preserving the current BF state.
Types ¶
This section is empty.