Add support to sort processes by 'PID', 'Memory' and 'CPU_Time'
Compare changes
+ 201
− 16
@@ -14,6 +14,7 @@
@@ -24,6 +25,10 @@
@@ -41,12 +46,20 @@ typedef struct jiffy_counts_t {
@@ -72,9 +85,46 @@ typedef struct cpu_info {
@@ -221,23 +271,37 @@ static int filter_process_dirs(const struct dirent *entry)
@@ -245,19 +309,19 @@ static void init_process_list(void)
@@ -320,8 +384,6 @@ static void init_process_list(void)
@@ -329,12 +391,50 @@ static void init_process_list(void)
@@ -358,6 +458,15 @@ static int get_maximum_process_entries(void)
@@ -581,8 +690,16 @@ static void free_global_cpu_info(void)
@@ -987,6 +1104,67 @@ static int set_DeviceInfoProcessStatusCPU_FilePath(char *refparam, struct dmctx
@@ -1058,5 +1236,12 @@ DMLEAF tDeviceInfoProcessStatusParams[] = {