Home
last modified time | relevance | path

Searched refs:SCHED_RR (Results 1 – 25 of 71) sorted by relevance

123

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
D2-2.c62 param.sched_priority = sched_get_priority_min(SCHED_RR); in child_process()
114 param.sched_priority = (sched_get_priority_min(SCHED_RR) + in main()
115 sched_get_priority_max(SCHED_RR)) / 2; in main()
117 if (sched_setscheduler(getpid(), SCHED_RR, &param) == -1) { in main()
148 param.sched_priority = sched_get_priority_max(SCHED_RR); in main()
168 param.sched_priority = sched_get_priority_min(SCHED_RR); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
D4-1.c120 sp.sched_priority = sched_get_priority_max(SCHED_RR); in threaded()
122 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp); in threaded()
132 check_param(pthread_self(), SCHED_RR, sp.sched_priority); in threaded()
137 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp); in threaded()
143 check_param(pthread_self(), SCHED_RR, sp.sched_priority - 1); in threaded()
D1-2.c125 check_param(pthread_self(), SCHED_RR, sched_get_priority_min(SCHED_RR)); in controler()
136 sp.sched_priority = sched_get_priority_min(SCHED_RR); in changer()
143 ret = pthread_setschedparam(*(pthread_t *) arg, SCHED_RR, &sp); in changer()
D5-1.c169 pol2 = SCHED_RR; in test()
171 sp2.sched_priority = sched_get_priority_min(SCHED_RR); in test()
/external/ltp/testcases/open_posix_testsuite/functional/threads/schedule/
D1-2.c60 if (policy != SCHED_RR) { in hi_prio_thread()
91 if (policy != SCHED_RR) { in low_prio_thread()
118 SAFE_PFUNC(pthread_setschedparam(pthread_self(), SCHED_RR, &param)); in main()
120 if (policy != SCHED_RR) { in main()
134 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, SCHED_RR)); in main()
142 SAFE_PFUNC(pthread_attr_setschedpolicy(&low_attr, SCHED_RR)); in main()
D1-1.c70 if (policy != SCHED_RR || param.sched_priority != HIGH_PRIORITY) { in hi_prio_thread()
96 if (policy != SCHED_RR || param.sched_priority != LOW_PRIORITY) { in low_prio_thread()
123 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, SCHED_RR)); in main()
130 SAFE_PFUNC(pthread_setschedparam(pthread_self(), SCHED_RR, &param)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
D1-3.c75 check_param(self, SCHED_RR, sched_get_priority_min(SCHED_RR)); in threaded()
141 ret = pthread_attr_setschedpolicy(&ta, SCHED_RR); in main()
147 sp.sched_priority = sched_get_priority_min(SCHED_RR); in main()
165 check_param(child, SCHED_RR, sp.sched_priority); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-6.c197 {SCHED_RR, MIN},
198 {SCHED_RR, HALF},
199 {SCHED_RR, MAX_1},
226 case SCHED_RR: in sched_policy_name()
D3-2.c365 if (td->policy == SCHED_RR) in schedtest()
368 newpol = SCHED_RR; in schedtest()
622 if (policy_ori == SCHED_RR) { in main()
634 SCHED_RR); in main()
637 (SCHED_RR); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
D8-2-buildonly.c16 #ifndef SCHED_RR
17 #error SCHED_RR not defined
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
D3-1.c27 #ifdef SCHED_RR
29 SCHED_RR, "SCHED_RR"},
/external/strace/xlat/
Dschedulers.h17 #if defined(SCHED_RR) || (defined(HAVE_DECL_SCHED_RR) && HAVE_DECL_SCHED_RR)
18 XLAT(SCHED_RR),
Dschedulers.in3 SCHED_RR
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
D3-1.c32 param.sched_priority = sched_get_priority_min(SCHED_RR); in main()
33 if (sched_setscheduler(0, SCHED_RR, &param) == -1) { in main()
D2-1.c26 param.sched_priority = sched_get_priority_min(SCHED_RR); in main()
27 if (sched_setscheduler(0, SCHED_RR, &param) == -1) { in main()
D1-1.c31 param.sched_priority = sched_get_priority_min(SCHED_RR); in main()
32 if (sched_setscheduler(0, SCHED_RR, &param) == -1) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/
Dstress.c197 td[2].policy = td[3].policy = SCHED_RR; in main()
211 td[2].prio = sched_get_priority_min(SCHED_RR); in main()
217 td[3].prio = sched_get_priority_max(SCHED_RR); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedpolicy/
D2-1.c27 #define RRPOLICY SCHED_RR
47 case SCHED_RR: in verify_policy()
/external/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c348 arg2.policy = SCHED_RR; in main()
351 arg3.policy = SCHED_RR; in main()
354 arg4.policy = SCHED_RR; in main()
357 arg5.policy = SCHED_RR; in main()
/external/libchrome/base/threading/
Dplatform_thread_linux.cc105 pthread_setschedparam(pthread_self(), SCHED_RR, &kRealTimePrio) == 0; in SetCurrentThreadPriorityForPlatform()
117 maybe_sched_rr == SCHED_RR && in GetCurrentThreadPriorityForPlatform()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_min/
D1-1.c23 result = sched_get_priority_min(SCHED_RR); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_max/
D1-1.c23 result = sched_get_priority_max(SCHED_RR); in main()
/external/strace/tests-m32/
Dsched_get_priority_mxx.c17 rc = syscall(__NR_sched_get_priority_max, SCHED_RR); in main()
/external/strace/tests/
Dsched_get_priority_mxx.c17 rc = syscall(__NR_sched_get_priority_max, SCHED_RR); in main()
/external/strace/tests-mx32/
Dsched_get_priority_mxx.c17 rc = syscall(__NR_sched_get_priority_max, SCHED_RR); in main()

123