Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/sched/tool/
Dtrace_sched.c296 int num_thrd = MAXT; /* number of threads to create. */ in main() local
334 num_thrd = num_thrd * num_cpus; in main()
354 if ((num_thrd = atoi(optarg)) == 0) in main()
356 else if (num_thrd < 0) { in main()
359 num_thrd); in main()
360 num_thrd = MAXT; in main()
361 } else if (num_thrd > PIDS) { in main()
365 num_thrd, PIDS, PIDS - 1000); in main()
366 num_thrd = (PIDS - 1000); in main()
379 args_table = malloc(num_thrd * sizeof(thread_sched_t *)); in main()
[all …]
/external/ltp/testcases/kernel/mem/mtest07/
Dshm_test.c273 int num_thrd = MAXT; /* number of threads to create */ in main() local
300 if ((num_thrd = atoi(optarg)) == 0) in main()
302 else if (num_thrd < 0) { in main()
305 num_thrd = MAXT; in main()
316 for (thrd_ndx = 0; thrd_ndx < num_thrd; thrd_ndx += 2) { in main()
346 for (thrd_ndx = 0; thrd_ndx < num_thrd; thrd_ndx++) { in main()