Searched refs:num_procs (Results 1 – 4 of 4) sorted by relevance
/system/extras/procrank/ |
D | procrank.c | 126 size_t num_procs; in main() local 174 error = pm_kernel_pids(ker, &pids, &num_procs); in main() 180 procs = calloc(num_procs, sizeof(struct proc_info*)); in main() 186 for (i = 0; i < num_procs; i++) { in main() 229 for (i = 0; i < num_procs; i++) { in main() 236 num_procs = j; in main() 238 qsort(procs, num_procs, sizeof(procs[0]), compfn); in main() 259 for (i = 0; i < num_procs; i++) { in main()
|
/system/core/libmemtrack/ |
D | memtrack_test.c | 77 size_t num_procs; in main() local 98 ret = pm_kernel_pids(ker, &pids, &num_procs); in main() 110 for (i = 0; i < num_procs; i++) { in main()
|
/system/extras/ksmutils/ |
D | ksminfo.c | 73 size_t num_procs; in main() local 119 error = pm_kernel_pids(ker, &pids, &num_procs); in main() 142 num_procs = 1; in main() 152 for (i = 0; i < num_procs; i++) { in main()
|
/system/extras/librank/ |
D | librank.c | 208 size_t num_procs; in main() local 327 error = pm_kernel_pids(ker, &pids, &num_procs); in main() 333 for (i = 0; i < num_procs; i++) { in main()
|