RDK Documentation (Open Sourced RDK Components)

Description

Modules

 DCA API
 

Data Structures

struct  proc_info
 
struct  _procMemCpuInfo
 

Macros

#define MEM_KEY_PREFIX   "mem_"
 
#define CPU_KEY_PREFIX   "cpu_"
 
#define CCSP_BUS_CLIENT   "ccsp.busclient"
 
#define CCSP_BUS_CFG   CCSP_MSG_BUS_CFG /* OR /tmp/ccsp_msg.cfg */
 
#define DST_COMP_CR   "com.cisco.spvtg.ccsp.CR"
 
#define DST_COMP_SUBSYS   "eRT."
 
#define DST_COMP_ID   DST_COMP_SUBSYS DST_COMP_CR /* eRT.com.cisco.spvtg.ccsp.CR */
 

Typedefs

typedef struct proc_info procinfo
 
typedef struct _procMemCpuInfo procMemCpuInfo
 

Variables

char * PERSISTENT_PATH = NULL
 
char * LOG_PATH = NULL
 
char * DEVICE_TYPE = NULL
 
cJSON * SEARCH_RESULT_JSON = NULL
 
cJSON * ROOT_JSON = NULL
 
int CUR_EXEC_COUNT = 0
 
long LAST_SEEK_VALUE = 0
 
void * ccsp_bus_handle = NULL
 

Data Structure Documentation

◆ proc_info

struct proc_info

Definition at line 70 of file dcaproc.c.

Collaboration diagram for proc_info:
Collaboration graph
Data Fields
int utime

User mode jiffies

int stime

Kernel mode jiffies

int cutime

User mode jiffies with childs

int cstime

Kernel mode jiffies with childs

unsigned int rss

Resident Set Size

◆ _procMemCpuInfo

struct _procMemCpuInfo

Definition at line 78 of file dcaproc.c.

Collaboration diagram for _procMemCpuInfo:
Collaboration graph
Data Fields
pid_t * pid
char processName[20]
char cpuUse[20]
char memUse[20]
int total_instance