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

1 2 3 4 5 6 7

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
8-1-buildonly.c 11 * Test that SCHED_FIFO is defined
16 #ifndef SCHED_FIFO
17 #error SCHED_FIFO not defined
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_max/
1-2.c 12 * success for SCHED_FIFO policy.
23 result = sched_get_priority_max(SCHED_FIFO);
26 printf("The maximum priority for policy SCHED_FIFO is %i.\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_min/
1-2.c 12 * success for SCHED_FIFO policy.
23 result = sched_get_priority_min(SCHED_FIFO);
26 printf("The minimum priority for policy SCHED_FIFO is %i.\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/
1-1.c 15 * 2. Get the min and max boundries for SCHED_FIFO of what prioceiling can be.
16 * 3. In a for loop, go through each valid SCHED_FIFO value, set the prioceiling.
43 /* Get the max and min prio according to SCHED_FIFO (posix scheduling policy) */
44 max_prio = sched_get_priority_max(SCHED_FIFO);
45 min_prio = sched_get_priority_min(SCHED_FIFO);
49 * of SCHED_FIFO policy */
3-1.c 39 prioceiling = sched_get_priority_min(SCHED_FIFO);
3-2.c 39 /* Set 'prioceiling' out of SCHED_FIFO boundry. */
40 prioceiling = sched_get_priority_max(SCHED_FIFO);
  /external/strace/tests/
sched_xetscheduler.c 17 case SCHED_FIFO:
18 scheduler = "SCHED_FIFO";
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL);
55 printf("sched_setscheduler(0, SCHED_FIFO, NULL) = %s\n", sprintrc(rc));
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1);
58 printf("sched_setscheduler(0, SCHED_FIFO, %p) = %s\n", param + 1,
65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param);
66 printf("sched_setscheduler(-1, SCHED_FIFO, [%d]) = %s\n",
69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param);
70 printf("sched_setscheduler(0, SCHED_FIFO, [%d]) = %s\n"
    [all...]
sched_get_priority_mxx.c 14 int rc = syscall(__NR_sched_get_priority_min, SCHED_FIFO);
15 printf("sched_get_priority_min(SCHED_FIFO) = %d\n", rc);
  /external/strace/tests-m32/
sched_xetscheduler.c 17 case SCHED_FIFO:
18 scheduler = "SCHED_FIFO";
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL);
55 printf("sched_setscheduler(0, SCHED_FIFO, NULL) = %s\n", sprintrc(rc));
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1);
58 printf("sched_setscheduler(0, SCHED_FIFO, %p) = %s\n", param + 1,
65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param);
66 printf("sched_setscheduler(-1, SCHED_FIFO, [%d]) = %s\n",
69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param);
70 printf("sched_setscheduler(0, SCHED_FIFO, [%d]) = %s\n"
    [all...]
sched_get_priority_mxx.c 14 int rc = syscall(__NR_sched_get_priority_min, SCHED_FIFO);
15 printf("sched_get_priority_min(SCHED_FIFO) = %d\n", rc);
  /external/strace/tests-mx32/
sched_xetscheduler.c 17 case SCHED_FIFO:
18 scheduler = "SCHED_FIFO";
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL);
55 printf("sched_setscheduler(0, SCHED_FIFO, NULL) = %s\n", sprintrc(rc));
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1);
58 printf("sched_setscheduler(0, SCHED_FIFO, %p) = %s\n", param + 1,
65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param);
66 printf("sched_setscheduler(-1, SCHED_FIFO, [%d]) = %s\n",
69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param);
70 printf("sched_setscheduler(0, SCHED_FIFO, [%d]) = %s\n"
    [all...]
sched_get_priority_mxx.c 14 int rc = syscall(__NR_sched_get_priority_min, SCHED_FIFO);
15 printf("sched_get_priority_min(SCHED_FIFO) = %d\n", rc);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprioceiling/
1-2.c 15 * 2. Get the min and max boundries for SCHED_FIFO of what prioceiling can be.
16 * 3. In a for loop, go through each valid SCHED_FIFO value, set the prioceiling, then
44 /* Get the max and min prio according to SCHED_FIFO (posix scheduling policy) */
45 max_prio = sched_get_priority_max(SCHED_FIFO);
46 min_prio = sched_get_priority_min(SCHED_FIFO);
50 * of SCHED_FIFO policy */
63 /* Make sure that prioceiling is withing the legal SCHED_FIFO boundries. */
1-1.c 62 /* Get the max and min according to SCHED_FIFO */
63 max_prio = sched_get_priority_max(SCHED_FIFO);
64 min_prio = sched_get_priority_min(SCHED_FIFO);
69 ("Test FAILED: Default prioceiling %d is not compliant with SCHED_FIFO boundary.\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
3-1.c 23 #ifdef SCHED_FIFO
25 SCHED_FIFO, "SCHED_FIFO"},
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
16-1.c 37 new_policy = (old_policy == SCHED_FIFO) ? SCHED_RR : SCHED_FIFO;
21-1.c 30 param.sched_priority = sched_get_priority_max(SCHED_FIFO);
48 result = sched_setscheduler(child_pid, SCHED_FIFO, &param);
  /external/strace/xlat/
schedulers.h 14 #if defined(SCHED_FIFO) || (defined(HAVE_DECL_SCHED_FIFO) && HAVE_DECL_SCHED_FIFO)
15 XLAT(SCHED_FIFO),
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
1-2.c 31 p.policy = SCHED_FIFO;
33 p.policy_label = "SCHED_FIFO";
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
1-3.c 89 check_param(self, SCHED_FIFO, sched_get_priority_min(SCHED_FIFO));
103 check_param(self, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO));
173 sp.sched_priority = sched_get_priority_min(SCHED_FIFO);
179 ret = pthread_setschedparam(child, SCHED_FIFO, &sp);
191 check_param(child, SCHED_FIFO, sp.sched_priority);
199 sp.sched_priority = sched_get_priority_max(SCHED_FIFO);
217 check_param(child, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO));
    [all...]
  /external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
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);
149 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority)
    [all...]
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);
143 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority)
    [all...]
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);
152 test_set_priority(pthread_self(), SCHED_FIFO, 6)
    [all...]
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);
142 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
2-1.c 11 * priorities for the SCHED_FIFO policy.
20 * 2. Set the scheduling policy to SCHED_FIFO with a mean priority.
61 param.sched_priority = sched_get_priority_min(SCHED_FIFO);
110 param.sched_priority = (sched_get_priority_min(SCHED_FIFO) +
111 sched_get_priority_max(SCHED_FIFO)) / 2;
113 if (sched_setscheduler(getpid(), SCHED_FIFO, &param) == -1) {
144 param.sched_priority = sched_get_priority_max(SCHED_FIFO);
164 param.sched_priority = sched_get_priority_min(SCHED_FIFO);

Completed in 467 milliseconds

1 2 3 4 5 6 7