Home | History | Annotate | Download | only in toolbox

Lines Matching refs:threads

90 static int max_procs, delay, iterations, threads;
162 if (!strcmp(argv[i], "-H") || !strcmp(argv[i], "-t")) { threads = 1; continue; }
172 if (threads && proc_cmp == &proc_thr_cmp) {
173 fprintf(stderr, "Sorting by threads per thread makes no sense!\n");
238 new_procs = calloc(INIT_PROCS * (threads ? THREAD_MULT : 1), sizeof(struct proc_info *));
239 num_new_procs = INIT_PROCS * (threads ? THREAD_MULT : 1);
256 if (!threads) {
291 if (threads) {
315 if (!threads)
471 if (!threads)
490 if (!threads) {
586 " -H Show threads instead of processes.\n"