Data type definition for Lua output functions module in the Lua API
Function definitions for Lua output functions module in the Lua API
cpuFeaturesInit()
Initialize the internal structures to enable CPU features module
Direction | Data type(s) |
Input Parameter | None |
Returns | None |
cpuFeaturesGet(cpuID, featID)
Get feature state
Direction | Data type(s) |
Input Parameter |
cpuID | CPU to read feature state |
featID | ID of a feature |
|
Returns | None |
cpuFeaturesEnable(cpuID, featID)
Enable feature for CPU
Direction | Data type(s) |
Input Parameter |
cpuID | CPU to enable the feature |
featID | ID of a feature |
|
Returns | 0 for success, all others are erros, either by MSR access or invalid feature |
cpuFeaturesDisable(cpuID, featID)
Disable feature for CPU
Direction | Data type(s) |
Input Parameter |
cpuID | CPU to disable the feature |
featID | ID of a feature |
|
Returns | 0 for success, all others are erros, either by MSR access or invalid feature |
/*!