This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
d9e886bc6e
zephyr
/
tests
/
kernel
/
threads
/
scheduling
/
schedule_api
/
prj.conf
5 lines
90 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: add threads scheduling test case with unified kernel this commit cover thread scheduling relevant apis k_current_get() k_sched_lock() k_sched_unlock() k_yield() k_sleep() k_wakeup() k_busy_wait() k_sched_time_slice_set() Change-Id: Ie449db3dda910bc1bafc0b5a04633f284e7f1dc3 Signed-off-by: jing wang <jing.j.wang@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-23 09:16:04 +08:00
CONFIG_ZTEST=y
tests: kernel: added test case k_is_preempt_thread tests/kernel/threads_scheduling/schedule_api: added test case to cover k_is_preempt_thread. Jira: ZEP-1242 Change-Id: I4327438dffaa59abcfe1e41813b45abee88506b2 Signed-off-by: Sharron LIU <sharron.liu@intel.com>
2017-02-13 16:04:50 +08:00
CONFIG_IRQ_OFFLOAD=y
tests: kernel: added tests for timeslice reset Added test cases to verify timeslice reset among thread context switching. Jira: ZEP-948 Signed-off-by: Sharron LIU <sharron.liu@intel.com>
2017-05-04 10:11:04 +08:00
CONFIG_TIMESLICING=y
tests: kernel: Stress test for preemptive scheduling. Tests if preemptive threads are picked up as per priority. This creates 10 threads with priority in increasing order from 1 to N and each thread prints an Alphabet. This test fails when threads are picked up out of order. Jira: ZEP-2370 Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
2017-07-27 20:02:50 +08:00
CONFIG_NUM_PREEMPT_PRIORITIES=30