/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 2-2.c | 61 param.sched_priority = sched_get_priority_min(SCHED_RR); in child_process() 112 param.sched_priority = (sched_get_priority_min(SCHED_RR) + in main() 113 sched_get_priority_max(SCHED_RR)) / 2; in main() 115 if (sched_setscheduler(getpid(), SCHED_RR, ¶m) == -1) { in main() 149 param.sched_priority = sched_get_priority_max(SCHED_RR); in main() 169 param.sched_priority = sched_get_priority_min(SCHED_RR); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/ |
D | 4-1.c | 117 sp.sched_priority = sched_get_priority_max(SCHED_RR); in threaded() 119 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp); in threaded() 129 check_param(pthread_self(), SCHED_RR, sp.sched_priority); in threaded() 134 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp); in threaded() 140 check_param(pthread_self(), SCHED_RR, sp.sched_priority - 1); in threaded()
|
D | 1-2.c | 122 check_param(pthread_self(), SCHED_RR, sched_get_priority_min(SCHED_RR)); in controler() 133 sp.sched_priority = sched_get_priority_min(SCHED_RR); in changer() 140 ret = pthread_setschedparam(*(pthread_t *) arg, SCHED_RR, &sp); in changer()
|
D | 5-1.c | 166 pol2 = SCHED_RR; in test() 168 sp2.sched_priority = sched_get_priority_min(SCHED_RR); in test()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/schedule/ |
D | 1-2.c | 60 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, ¶m)); 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()
|
D | 1-1.c | 69 if (policy != SCHED_RR || param.sched_priority != HIGH_PRIORITY) { in hi_prio_thread() 95 if (policy != SCHED_RR || param.sched_priority != LOW_PRIORITY) { in low_prio_thread() 122 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, SCHED_RR)); in main() 129 SAFE_PFUNC(pthread_setschedparam(pthread_self(), SCHED_RR, ¶m)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/ |
D | 1-3.c | 75 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()
|
/third_party/node/lib/internal/cluster/ |
D | primary.js | 30 const SCHED_RR = 2; constant 42 cluster.SCHED_RR = SCHED_RR; // Primary distributes connections. 50 schedulingPolicy = SCHED_RR; 58 schedulingPolicy = SCHED_RR; 90 assert(schedulingPolicy === SCHED_NONE || schedulingPolicy === SCHED_RR, 293 if (schedulingPolicy !== SCHED_RR ||
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-6.c | 195 {SCHED_RR, MIN}, 196 {SCHED_RR, HALF}, 197 {SCHED_RR, MAX_1}, 224 case SCHED_RR: in sched_policy_name()
|
D | 3-2.c | 358 if (td->policy == SCHED_RR) in schedtest() 361 newpol = SCHED_RR; in schedtest() 615 if (policy_ori == SCHED_RR) { in main() 627 SCHED_RR); in main() 630 (SCHED_RR); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/ |
D | 8-2-buildonly.c | 16 #ifndef SCHED_RR 17 #error SCHED_RR not defined
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/ |
D | 3-1.c | 27 #ifdef SCHED_RR 29 SCHED_RR, "SCHED_RR"},
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/ |
D | 2-1.c | 26 param.sched_priority = sched_get_priority_min(SCHED_RR); in main() 27 if (sched_setscheduler(0, SCHED_RR, ¶m) == -1) { in main()
|
D | 3-1.c | 32 param.sched_priority = sched_get_priority_min(SCHED_RR); in main() 33 if (sched_setscheduler(0, SCHED_RR, ¶m) == -1) { in main()
|
D | 1-1.c | 31 param.sched_priority = sched_get_priority_min(SCHED_RR); in main() 32 if (sched_setscheduler(0, SCHED_RR, ¶m) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/ |
D | stress.c | 194 td[2].policy = td[3].policy = SCHED_RR; in main() 208 td[2].prio = sched_get_priority_min(SCHED_RR); in main() 214 td[3].prio = sched_get_priority_max(SCHED_RR); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedpolicy/ |
D | 2-1.c | 27 #define RRPOLICY SCHED_RR 47 case SCHED_RR: in verify_policy()
|
/third_party/ltp/testcases/realtime/stress/pi-tests/ |
D | testpi-3.c | 348 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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_min/ |
D | 1-1.c | 23 result = sched_get_priority_min(SCHED_RR); in main()
|
/third_party/musl/porting/liteos_m/user/src/thread/ |
D | pthread_attr_setschedpolicy.c | 6 if (policy != SCHED_RR && policy != SCHED_FIFO) { in pthread_attr_setschedpolicy()
|
D | pthread_attr_init.c | 8 a->_a_policy = SCHED_RR; in pthread_attr_init()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_max/ |
D | 1-1.c | 23 result = sched_get_priority_max(SCHED_RR); in main()
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
D | pthread_attr_setschedpolicy.c | 5 if (policy != SCHED_RR && policy != SCHED_FIFO && policy != SCHED_DEADLINE) { in pthread_attr_setschedpolicy()
|
D | pthread_attr_init.c | 9 a->_a_policy = SCHED_RR; in pthread_attr_init()
|
/third_party/musl/src/thread/ |
D | pthread_attr_setschedpolicy.c | 6 if (policy != SCHED_RR && policy != SCHED_FIFO && policy != SCHED_DEADLINE) { in pthread_attr_setschedpolicy()
|