Home
last modified time | relevance | path

Searched refs:setparam (Results 1 - 3 of 3) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_attr_setschedparam.c27 struct sched_param setparam; in pthread_attr_setschedparam_0100() local
29 setparam.sched_priority = 1; in pthread_attr_setschedparam_0100()
32 int ret = pthread_attr_setschedparam(&attr, &setparam); in pthread_attr_setschedparam_0100()
38 EXPECT_EQ("pthread_attr_setschedparam_0100", getparam.sched_priority, setparam.sched_priority); in pthread_attr_setschedparam_0100()
H A Dpthread_attr_get.c363 struct sched_param setparam; in pthread_attr_getschedparam_0100() local
366 memset(&setparam, 0x0, sizeof(setparam)); in pthread_attr_getschedparam_0100()
368 setparam.sched_priority = 1; in pthread_attr_getschedparam_0100()
371 int ret = pthread_attr_setschedparam(&attr, &setparam); in pthread_attr_getschedparam_0100()
/third_party/musl/Benchmark/musl/
H A Dlibc_pthread.cpp674 struct sched_param setparam; in Bm_function_pthread_attr_getschedparam() local
676 setparam.sched_priority = 1; in Bm_function_pthread_attr_getschedparam()
678 if (pthread_attr_setschedparam(&attr, &setparam) != 0) { in Bm_function_pthread_attr_getschedparam()
718 struct sched_param setparam; in Bm_function_pthread_attr_setschedparam() local
719 setparam.sched_priority = 1; in Bm_function_pthread_attr_setschedparam()
722 if (pthread_attr_setschedparam(&attr, &setparam) != 0) { in Bm_function_pthread_attr_setschedparam()

Completed in 3 milliseconds