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.c278 int num_thrd = MAXT; /* number of threads to create */ in main() local
304 if ((num_thrd = atoi(optarg)) == 0) in main()
306 else if (num_thrd < 0 || num_thrd > MAXT) { in main()
309 num_thrd = MAXT; in main()
318 for (i = 0; i < num_thrd; i += 2) { in main()
346 for (i = 0; i < num_thrd; i++) { in main()