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

/freebsd-10.0-release/contrib/top/
H A Dtop.c154 register int active_procs; local
669 active_procs = system_info.P_ACTIVE;
670 if (active_procs > topn)
672 active_procs = topn;
674 if (active_procs > max_topn)
676 active_procs = max_topn;
680 for (i = 0; i < active_procs; i++)
/freebsd-10.0-release/usr.bin/top/
H A Dmachine.c665 int active_procs; local
721 active_procs = 0;
772 active_procs++;
777 qsort(pref, active_procs, sizeof(*pref), compare);
781 si->p_active = pref_len = active_procs;
785 handle.remaining = active_procs;

Completed in 62 milliseconds