HomeSort by relevance Sort by last modified time
    Searched refs:SCHED_RR (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
8-2-buildonly.c 11 * Test that SCHED_RR is defined
16 #ifndef SCHED_RR
17 #error SCHED_RR not defined
10-1.c 27 SCHED_RR, "SCHED_RR"},
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_max/
1-1.c 12 * success for SCHED_RR policy.
23 result = sched_get_priority_max(SCHED_RR);
26 printf("The maximum priority for policy SCHED_RR is %i.\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_min/
1-1.c 12 * success for SCHED_RR policy.
23 result = sched_get_priority_min(SCHED_RR);
26 printf("The minimum priority for policy SCHED_RR is %i.\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
4-1.c 120 sp.sched_priority = sched_get_priority_max(SCHED_RR);
122 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp);
132 check_param(pthread_self(), SCHED_RR, sp.sched_priority);
137 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp);
143 check_param(pthread_self(), SCHED_RR, sp.sched_priority - 1);
1-2.c 125 check_param(pthread_self(), SCHED_RR, sched_get_priority_min(SCHED_RR));
136 sp.sched_priority = sched_get_priority_min(SCHED_RR);
139 UNTESTED("Failed to get min SCHED_RR range");
143 ret = pthread_setschedparam(*(pthread_t *) arg, SCHED_RR, &sp);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
3-1.c 27 #ifdef SCHED_RR
29 SCHED_RR, "SCHED_RR"},
  /external/strace/xlat/
schedulers.h 17 #if defined(SCHED_RR) || (defined(HAVE_DECL_SCHED_RR) && HAVE_DECL_SCHED_RR)
18 XLAT(SCHED_RR),
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
1-3.c 31 p.policy = SCHED_RR;
33 p.policy_label = "SCHED_RR";
  /external/strace/tests/
sched_get_priority_mxx.c 17 rc = syscall(__NR_sched_get_priority_max, SCHED_RR);
18 printf("sched_get_priority_max(SCHED_RR) = %d\n", rc);
  /external/strace/tests-m32/
sched_get_priority_mxx.c 17 rc = syscall(__NR_sched_get_priority_max, SCHED_RR);
18 printf("sched_get_priority_max(SCHED_RR) = %d\n", rc);
  /external/strace/tests-mx32/
sched_get_priority_mxx.c 17 rc = syscall(__NR_sched_get_priority_max, SCHED_RR);
18 printf("sched_get_priority_max(SCHED_RR) = %d\n", rc);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
2-2.c 11 * priorities for the SCHED_RR policy.
20 * 2. Set the scheduling policy to SCHED_RR with a mean priority.
62 param.sched_priority = sched_get_priority_min(SCHED_RR);
114 param.sched_priority = (sched_get_priority_min(SCHED_RR) +
115 sched_get_priority_max(SCHED_RR)) / 2;
117 if (sched_setscheduler(getpid(), SCHED_RR, &param) == -1) {
148 param.sched_priority = sched_get_priority_max(SCHED_RR);
168 param.sched_priority = sched_get_priority_min(SCHED_RR);
  /external/ltp/testcases/open_posix_testsuite/functional/threads/schedule/
1-2.c 60 if (policy != SCHED_RR) {
91 if (policy != SCHED_RR) {
118 SAFE_PFUNC(pthread_setschedparam(pthread_self(), SCHED_RR, &param));
120 if (policy != SCHED_RR) {
134 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, SCHED_RR));
142 SAFE_PFUNC(pthread_attr_setschedpolicy(&low_attr, SCHED_RR));
1-1.c 70 if (policy != SCHED_RR || param.sched_priority != HIGH_PRIORITY) {
96 if (policy != SCHED_RR || param.sched_priority != LOW_PRIORITY) {
123 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, SCHED_RR));
130 SAFE_PFUNC(pthread_setschedparam(pthread_self(), SCHED_RR, &param));
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
1-1.c 31 param.sched_priority = sched_get_priority_min(SCHED_RR);
32 if (sched_setscheduler(0, SCHED_RR, &param) == -1) {
2-1.c 26 param.sched_priority = sched_get_priority_min(SCHED_RR);
27 if (sched_setscheduler(0, SCHED_RR, &param) == -1) {
3-1.c 32 param.sched_priority = sched_get_priority_min(SCHED_RR);
33 if (sched_setscheduler(0, SCHED_RR, &param) == -1) {
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
sched.h 40 #define SCHED_RR 2
42 #define SCHED_MAX SCHED_RR
  /external/ltp/testcases/kernel/syscalls/sched_rr_get_interval/
sched_rr_get_interval01.c 40 * Change scheduling policy to SCHED_RR
129 /* Change scheduling policy to SCHED_RR */
130 if ((sched_setscheduler(0, SCHED_RR, &p)) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
16-1.c 37 new_policy = (old_policy == SCHED_FIFO) ? SCHED_RR : SCHED_FIFO;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
sched.h 38 #define SCHED_RR 2
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedpolicy/
2-1.c 27 #define RRPOLICY SCHED_RR
47 case SCHED_RR:
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
1-3.c 75 check_param(self, SCHED_RR, sched_get_priority_min(SCHED_RR));
141 ret = pthread_attr_setschedpolicy(&ta, SCHED_RR);
147 sp.sched_priority = sched_get_priority_min(SCHED_RR);
165 check_param(child, SCHED_RR, sp.sched_priority);
  /bionic/libc/kernel/uapi/linux/
sched.h 47 #define SCHED_RR 2

Completed in 1118 milliseconds

1 2 3 4