Searched refs:sched_policy (Results 1 - 11 of 11) sorted by relevance
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 1-6.c | 67 static void init_attr(pthread_attr_t *attr, int sched_policy, int prio) in init_attr() argument 78 ret = pthread_attr_setschedpolicy(attr, sched_policy); in init_attr() 97 static void run_hp_threads(int sched_policy, int sched_prio) in run_hp_threads() argument 111 init_attr(&attr, sched_policy, sched_prio); in run_hp_threads() 145 int sched_policy; member 151 int ret, sched_policy; in do_test() local 156 ret = pthread_getschedparam(pthread_self(), &sched_policy, ¶m); in do_test() 162 if (p->sched_policy != sched_policy) { in do_test() 164 sched_policy, in do_test() 181 int sched_policy; global() member [all...] |
/third_party/ltp/testcases/kernel/sched/tool/ |
H A D | trace_sched.c | 199 static int sched_policy; /* scheduling policy as set by user/default */ in thread_func() local 214 if ((sched_policy = locargptr->s_policy) == SCHED_OTHER) in thread_func() 230 if ((sched_setscheduler(getpid(), sched_policy, &ssp)) == -1) { in thread_func()
|
/third_party/toybox/lib/ |
H A D | portability.h | 294 #if defined(__BIONIC__) && __has_include(<processgroup/sched_policy.h>) 295 #include <processgroup/sched_policy.h>
|
/third_party/alsa-lib/test/ |
H A D | latency.c | 53 char *sched_policy = "rr"; variable 371 if (strcasecmp(sched_policy, "fifo") == 0) { in setscheduler() 374 } else if (strcasecmp(sched_policy, "other") == 0) { in setscheduler() 669 sched_policy = optarg; in main()
|
/third_party/mesa3d/src/tool/pps/ |
H A D | pps_datasource.cc | 315 int sched_policy = SCHED_FIFO; in trace() local 317 int priority_value = sched_get_priority_max(sched_policy) - 1; in trace() 319 sched_setscheduler(0, sched_policy, &priority_param); in trace()
|
/third_party/ltp/testcases/kernel/syscalls/sched_getattr/ |
H A D | sched_getattr01.c | 50 attr.sched_policy = SCHED_DEADLINE; in run_deadline()
|
/third_party/ltp/testcases/kernel/syscalls/sched_setattr/ |
H A D | sched_setattr01.c | 52 .sched_policy = SCHED_DEADLINE,
|
/third_party/ltp/include/lapi/ |
H A D | sched.h | 21 uint32_t sched_policy; member
|
/third_party/rust/crates/libc/src/unix/linux_like/android/b32/ |
H A D | mod.rs | 104 pub sched_policy: i32,
|
/third_party/rust/crates/libc/src/unix/linux_like/android/b64/ |
H A D | mod.rs | 32 pub sched_policy: i32,
|
/third_party/eudev/src/shared/ |
H A D | util.c | 1406 DEFINE_STRING_TABLE_LOOKUP_WITH_FALLBACK(sched_policy, int, INT_MAX);
|
Completed in 9 milliseconds