Home
last modified time | relevance | path

Searched refs:num_new_procs (Results 1 – 1 of 1) sorted by relevance

/system/core/toolbox/
Dtop.c86 static int num_old_procs, num_new_procs; variable
179 num_new_procs = num_old_procs = 0; in top_main()
185 num_old_procs = num_new_procs; in top_main()
239 num_new_procs = INIT_PROCS * (threads ? THREAD_MULT : 1); in read_procs()
319 for (i = proc_num; i < num_new_procs; i++) in read_procs()
374 if (proc_num >= num_new_procs) { in add_proc()
375 new_procs = realloc(new_procs, 2 * num_new_procs * sizeof(struct proc_info *)); in add_proc()
377 for (i = num_new_procs; i < 2 * num_new_procs; i++) in add_proc()
379 num_new_procs = 2 * num_new_procs; in add_proc()
433 for (i = 0; i < num_new_procs; i++) { in print_procs()
[all …]