RDK Documentation (Open Sourced RDK Components)

Description

Describe the details about TR-069 DeviceInfo processor status APIs specifications.

Functions

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. More...
 

Function Documentation

◆ 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]nameComplete path name of the parameter.
[in]typeIt is a user data type of ParameterType.
[out]valueIt is the value of the parameter.
Return values
OKif successful.
XXX_ERR_BADPARAMif 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]stMsgDataTR-069 Host interface message request.
[in]pChangedStatus of the operation.
Returns
Returns the status of the operation.
Return values
OKif is successfully fetch the data from the device.
ERR_INTERNAL_ERRORif not able to fetch the data.

Definition at line 208 of file Device_DeviceInfo_ProcessStatus.cpp.