![]() |
RDK Documentation (Open Sourced RDK Components)
|
Describe the details about classes used in TR-069 DeviceInfo processor status process.
Data Structures | |
class | hostIf_DeviceProcess |
This class provides the interface for getting device processor information. More... | |
class hostIf_DeviceProcess |
This class provides the interface for getting device processor information.
Description. This returns the total number of processes running.
[in] | void | Takes no parameter. |
[out] | value | Total number of processes running. |
Definition at line 108 of file Device_DeviceInfo_ProcessStatus_Process.h.
Public Member Functions | |
int | get_Device_DeviceInfo_ProcessStatus_Process_PID (HOSTIF_MsgData_t *, bool *pChanged=NULL) |
This function provides the Process Identifier. More... | |
int | get_Device_DeviceInfo_ProcessStatus_Process_Command (HOSTIF_MsgData_t *, bool *pChanged=NULL) |
This function provides The name of the command that has caused the process to exist. More... | |
int | get_Device_DeviceInfo_ProcessStatus_Process_Size (HOSTIF_MsgData_t *, bool *pChanged=NULL) |
This function provides The Size in Kilo bytes of the memory occupied by process. More... | |
int | get_Device_DeviceInfo_ProcessStatus_Process_Priority (HOSTIF_MsgData_t *, bool *pChanged=NULL) |
This function provides The priority of the process. More... | |
int | get_Device_DeviceInfo_ProcessStatus_Process_CPUTime (HOSTIF_MsgData_t *, bool *pChanged=NULL) |
This function provides The amount of time spent by the process taking the cpu. More... | |
int | get_Device_DeviceInfo_ProcessStatus_Process_State (HOSTIF_MsgData_t *, bool *pChanged=NULL) |
This function provides The current state of the process. More... | |
Static Public Member Functions | |
static hostIf_DeviceProcess * | getInstance (int dev_id) |
static void | closeInstance (hostIf_DeviceProcess *) |
static GList * | getAllInstances () |
static void | closeAllInstances () |
static void | getLock () |
static void | releaseLock () |
static GMutex * | initProcpsLock () |
static int | getNumOfProcessEntries (HOSTIF_MsgData_t *) |
Private Member Functions | |
hostIf_DeviceProcess (int _dev_id) | |
Class Constructor of the class hostIf_DeviceProcess. More... | |
~hostIf_DeviceProcess () | |
Class destructor. More... | |
Private Attributes | |
int | dev_id |
bool | bCalledProcessPid |
bool | bCalledProcessCommand |
bool | bCalledProcessSize |
bool | bCalledProcessPriority |
bool | bCalledProcessCpuTime |
bool | bCalledProcessState |
unsigned int | backupProcessPid |
char | backupProcessCommand [256] |
unsigned int | backupProcessSize |
unsigned int | backupProcessPriority |
unsigned int | backupProcessCpuTime |
char | backupProcessState [16] |
Static Private Attributes | |
static GHashTable * | ifHash = NULL |
static GMutex * | m_mutex = NULL |
static GMutex * | m_libproc_lock = NULL |