Searched refs:rt_pid (Results 1 – 1 of 1) sorted by relevance
148 int ext_pid, rt_pid; in sched_stress_test() local175 rt_pid = fork(); in sched_stress_test()176 if (rt_pid == 0) { in sched_stress_test()185 } else if (rt_pid < 0) { in sched_stress_test()213 rt_runtime = get_process_runtime(rt_pid); in sched_stress_test()215 ksft_exit_fail_msg("Error getting runtime for RT task (PID %d)\n", rt_pid); in sched_stress_test()216 ksft_print_msg("Runtime of RT task (PID %d) is %f seconds\n", rt_pid, rt_runtime); in sched_stress_test()220 kill(rt_pid, SIGKILL); in sched_stress_test()222 waitpid(rt_pid, NULL, 0); in sched_stress_test()