/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/ |
D | pitest-2.c | 69 0, 0, 0, 1, SCHED_FIFO, "TL", 0, 0, 0, 0}, { 70 1, 0, 500, 2, SCHED_FIFO, "TP1", 0, 0, 0, 0}, { 71 2, 0, 500, 5, SCHED_FIFO, "TP2", 0, 0, 0, 0}, { 72 3, 0, 0, 3, SCHED_FIFO, "TF", 1, 0, 0, 0}, { 73 4, 0, 0, 3, SCHED_FIFO, "TF", 2, 0, 0, 0}, { 74 5, 0, 0, 3, SCHED_FIFO, "TF", 3, 0, 0, 0}, { 75 6, 0, 0, 3, SCHED_FIFO, "TF", 4, 0, 0, 0}, { 76 7, 0, 0, 3, SCHED_FIFO, "TF", 5, 0, 0, 0}, { 77 8, 0, 0, 3, SCHED_FIFO, "TF", 6, 0, 0, 0} 111 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_fn() [all …]
|
D | pitest-6.c | 67 0, 0, 0, 1, SCHED_FIFO, "TL", 0, 0, 0, 0}, { 68 1, 0, 200, 2, SCHED_FIFO, "TP", 0, 0, 0, 0}, { 69 2, 0, 0, 3, SCHED_FIFO, "TF", 1, 0, 0, 0}, { 70 3, 0, 0, 3, SCHED_FIFO, "TF", 2, 0, 0, 0}, { 71 4, 0, 0, 3, SCHED_FIFO, "TF", 3, 0, 0, 0}, { 72 5, 0, 0, 3, SCHED_FIFO, "TF", 4, 0, 0, 0}, { 73 6, 0, 0, 3, SCHED_FIFO, "TF", 5, 0, 0, 0}, { 74 7, 0, 0, 3, SCHED_FIFO, "TF", 6, 0, 0, 0} 108 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_fn() 149 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_tl() [all …]
|
D | pitest-3.c | 70 0, 0, 0, 1, SCHED_FIFO, "TL", 0, 0, 0, 0}, { 71 1, 0, 500, 2, SCHED_FIFO, "TP1", 0, 0, 0, 0}, { 72 1, 0, 500, 5, SCHED_FIFO, "TP2", 0, 0, 0, 0}, { 73 2, 0, 0, 3, SCHED_FIFO, "TF", 1, 0, 0, 0}, { 74 3, 0, 0, 3, SCHED_FIFO, "TF", 2, 0, 0, 0}, { 75 4, 0, 0, 3, SCHED_FIFO, "TF", 3, 0, 0, 0}, { 76 5, 0, 0, 3, SCHED_FIFO, "TF", 4, 0, 0, 0}, { 77 6, 0, 0, 3, SCHED_FIFO, "TF", 5, 0, 0, 0}, { 78 7, 0, 0, 3, SCHED_FIFO, "TF", 6, 0, 0, 0} 112 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_fn() [all …]
|
D | pitest-5.c | 69 0, 0, 0, 1, SCHED_FIFO, "TL", 0, 0, 0, 0}, { 70 1, 0, 200, 2, SCHED_FIFO, "TP", 0, 0, 0, 0}, { 71 2, 0, 0, 3, SCHED_FIFO, "TF", 1, 0, 0, 0}, { 72 3, 0, 0, 3, SCHED_FIFO, "TF", 2, 0, 0, 0}, { 73 4, 0, 0, 3, SCHED_FIFO, "TF", 3, 0, 0, 0}, { 74 5, 0, 0, 3, SCHED_FIFO, "TF", 4, 0, 0, 0}, { 75 6, 0, 0, 3, SCHED_FIFO, "TF", 5, 0, 0, 0}, { 76 7, 0, 0, 3, SCHED_FIFO, "TF", 6, 0, 0, 0} 102 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_fn() 142 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_tl() [all …]
|
D | pitest-1.c | 68 0, 0, 0, 1, SCHED_FIFO, "TL", 0, 0, 0, 0}, { 69 1, 0, 50, 2, SCHED_FIFO, "TP", 0, 0, 0, 0}, { 70 2, 0, 0, 3, SCHED_FIFO, "TF", 1, 0, 0, 0}, { 71 3, 0, 0, 3, SCHED_FIFO, "TF", 2, 0, 0, 0}, { 72 4, 0, 0, 3, SCHED_FIFO, "TF", 3, 0, 0, 0}, { 73 5, 0, 0, 3, SCHED_FIFO, "TF", 4, 0, 0, 0}, { 74 6, 0, 0, 3, SCHED_FIFO, "TF", 5, 0, 0, 0}, { 75 7, 0, 0, 3, SCHED_FIFO, "TF", 6, 0, 0, 0} 109 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_fn() 143 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_tl() [all …]
|
D | pitest-4.c | 71 0, 0, 0, 1, SCHED_FIFO, "TL", 0, 0, 0, 0}, { 72 1, 0, 100, 4, SCHED_FIFO, "TP", 0, 0, 0, 0}, { 73 2, 0, 0, 2, SCHED_FIFO, "TF", 1, 0, 0, 0}, { 74 3, 0, 0, 2, SCHED_FIFO, "TF", 2, 0, 0, 0}, { 75 4, 0, 0, 2, SCHED_FIFO, "TF", 3, 0, 0, 0}, { 76 5, 0, 0, 2, SCHED_FIFO, "TF", 4, 0, 0, 0}, { 77 6, 0, 0, 2, SCHED_FIFO, "TF", 5, 0, 0, 0}, { 78 7, 0, 0, 2, SCHED_FIFO, "TF", 6, 0, 0, 0} 112 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); in thread_fn() 152 test_set_priority(pthread_self(), SCHED_FIFO, 6); in thread_sample() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/ |
D | 1-3.c | 89 check_param(self, SCHED_FIFO, sched_get_priority_min(SCHED_FIFO)); in threaded() 103 check_param(self, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO)); in threaded() 173 sp.sched_priority = sched_get_priority_min(SCHED_FIFO); in main() 179 ret = pthread_setschedparam(child, SCHED_FIFO, &sp); in main() 191 check_param(child, SCHED_FIFO, sp.sched_priority); in main() 199 sp.sched_priority = sched_get_priority_max(SCHED_FIFO); in main() 217 check_param(child, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 2-1.c | 61 param.sched_priority = sched_get_priority_min(SCHED_FIFO); in child_process() 110 param.sched_priority = (sched_get_priority_min(SCHED_FIFO) + in main() 111 sched_get_priority_max(SCHED_FIFO)) / 2; in main() 113 if (sched_setscheduler(getpid(), SCHED_FIFO, ¶m) == -1) { in main() 144 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in main() 164 param.sched_priority = sched_get_priority_min(SCHED_FIFO); in main()
|
D | 9-1.c | 56 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in child_process() 124 mean_prio = (sched_get_priority_min(SCHED_FIFO) + in main() 125 sched_get_priority_max(SCHED_FIFO)) / 2; in main() 142 param.sched_priority = sched_get_priority_min(SCHED_FIFO); in main() 143 if (sched_setscheduler(getpid(), SCHED_FIFO, ¶m) == -1) { in main()
|
/external/strace/tests-mx32/ |
D | sched_xetscheduler.c | 17 case SCHED_FIFO: in main() 54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main() 57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main() 65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main() 69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
|
/external/strace/tests-m32/ |
D | sched_xetscheduler.c | 17 case SCHED_FIFO: in main() 54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main() 57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main() 65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main() 69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
|
/external/strace/tests/ |
D | sched_xetscheduler.c | 17 case SCHED_FIFO: in main() 54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main() 57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main() 65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main() 69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
|
/external/ltp/testcases/realtime/perf/latency/ |
D | pthread_cond_latency.c | 119 prio = sched_get_priority_max(SCHED_FIFO); in test_signal() 125 if (sched_setscheduler(getpid(), SCHED_FIFO, &schparm) != 0) { in test_signal() 134 if (pthread_attr_setschedpolicy(&attr, SCHED_FIFO) != 0) { in test_signal() 200 sp.sched_priority = sched_get_priority_max(SCHED_FIFO); in main() 205 if (sched_setscheduler(0, SCHED_FIFO, &sp) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
D | 22-2.c | 43 max_priority = sched_get_priority_max(SCHED_FIFO); in main() 45 sched_get_priority_min(SCHED_FIFO) : max_priority; in main() 47 if (sched_setscheduler(getpid(), SCHED_FIFO, ¶m) == -1) { in main()
|
D | 15-2.c | 44 max_priority = sched_get_priority_max(SCHED_FIFO); in main() 46 sched_get_priority_min(SCHED_FIFO) : max_priority; in main() 66 if (sched_setscheduler(getpid(), SCHED_FIFO, ¶m) == -1) { in main()
|
D | 16-1.c | 37 new_policy = (old_policy == SCHED_FIFO) ? SCHED_RR : SCHED_FIFO; in main()
|
D | 21-1.c | 30 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in main() 48 result = sched_setscheduler(child_pid, SCHED_FIFO, ¶m); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-6.c | 192 {SCHED_FIFO, MIN}, 193 {SCHED_FIFO, HALF}, 194 {SCHED_FIFO, MAX_1}, 222 case SCHED_FIFO: in sched_policy_name()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/ |
D | 8-1-buildonly.c | 16 #ifndef SCHED_FIFO 17 #error SCHED_FIFO not defined
|
/external/ltp/testcases/realtime/func/prio-preempt/ |
D | prio-preempt.c | 242 sched_get_priority_min(SCHED_FIFO) + in master_thread() 251 sched_get_priority_min(SCHED_FIFO) + in master_thread() 266 sched_get_priority_min(SCHED_FIFO) + in master_thread() 322 sched_get_priority_min(SCHED_FIFO) + pri_boost); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/ |
D | 1-1.c | 44 max_prio = sched_get_priority_max(SCHED_FIFO); in main() 45 min_prio = sched_get_priority_min(SCHED_FIFO); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/ |
D | 3-1.c | 23 #ifdef SCHED_FIFO 25 SCHED_FIFO, "SCHED_FIFO"},
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprioceiling/ |
D | 1-2.c | 45 max_prio = sched_get_priority_max(SCHED_FIFO); in main() 46 min_prio = sched_get_priority_min(SCHED_FIFO); in main()
|
/external/strace/xlat/ |
D | schedulers.h | 20 #if defined(SCHED_FIFO) || (defined(HAVE_DECL_SCHED_FIFO) && HAVE_DECL_SCHED_FIFO) 21 XLAT(SCHED_FIFO),
|
/external/ltp/testcases/realtime/func/prio-wake/ |
D | prio-wake.c | 197 numprios = sched_get_priority_max(SCHED_FIFO) - in main() 198 sched_get_priority_min(SCHED_FIFO); in main() 205 prio = sched_get_priority_min(SCHED_FIFO); in main()
|