Describe the details about TR-069 DeviceInfo processor status APIs specifications.
◆ get_Device_DeviceInfo_ProcessStatus_CPUUsage()
int hostIf_DeviceProcessStatusInterface::get_Device_DeviceInfo_ProcessStatus_CPUUsage |
( |
HOSTIF_MsgData_t * |
stMsgData, |
|
|
bool * |
pChanged = NULL |
|
) |
| |
This function provides the total amount of cpu usage, in percentage.
Description. This is the getter api for Device_DeviceInfo_ProcessStatus. for Device_DeviceInfo_ProcessStatus. object Profile.
- Parameters
-
[in] | name | Complete path name of the parameter. |
[in] | type | It is a user data type of ParameterType. |
[out] | value | It is the value of the parameter. |
- Return values
-
OK | if successful. |
XXX_ERR_BADPARAM | if a bad parameter was supplied. |
- Execution:\n Synchronous.
- Side Effects:\n None.
- Note
- This function must not suspend and must not invoke any blocking system calls. It should probably just send a message to a driver event handler task.
- See also
- XXX_SomeOtherFunction.
- Parameters
-
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
- Returns
- Returns the status of the operation.
- Return values
-
OK | if is successfully fetch the data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch the data. |
Definition at line 208 of file Device_DeviceInfo_ProcessStatus.cpp.