Searched refs:num_procs (Results 1 – 4 of 4) sorted by relevance
/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/procrank/ |
D | procrank.c | 181 size_t num_procs; in main() local 239 error = pm_kernel_pids(ker, &pids, &num_procs); in main() 245 procs = calloc(num_procs, sizeof(struct proc_info*)); in main() 251 for (i = 0; i < num_procs; i++) { in main() 295 for (i = 0; i < num_procs; i++) { in main() 302 num_procs = j; in main() 304 qsort(procs, num_procs, sizeof(procs[0]), compfn); in main() 344 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 328 error = pm_kernel_pids(ker, &pids, &num_procs); in main() 334 for (i = 0; i < num_procs; i++) { in main()
|