Searched refs:active_procs (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/top/
H A Dtop.c249 register int active_procs; local
782 active_procs = system_info.P_ACTIVE;
783 if (active_procs > topn)
785 active_procs = topn;
787 if (active_procs > max_topn)
789 active_procs = max_topn;
793 for (i = 0; i < active_procs; i++)
/freebsd-11-stable/usr.bin/top/
H A Dmachine.c779 int active_procs; local
865 active_procs = 0;
923 active_procs++;
928 qsort(pref, active_procs, sizeof(*pref), compare);
932 si->p_active = pref_len = active_procs;
936 handle.remaining = active_procs;

Completed in 108 milliseconds