zephyr/tests/kernel/threads/thread_apis
Daniel Leung 2f7cc4ac9b tests: thread_apis: move uptime gathering in join scenario
When doing test_thread_join with OTHER_ABORT_TIMEOUT, the interval
between two k_uptime_get() includes the two k_thread_create() which
means the interval delta does not exactly count the time spent
in k_thread_join(). On x86_64 with userspace, time spent inside
k_thread_create() scales with memory size as it needs to create
a new page table for the thread. So to actually measure
the time spent in k_thread_join(), the locations where uptime is
obtained need to be moved.

Fixes #28549

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-09-24 09:54:11 -05:00
..
src tests: thread_apis: move uptime gathering in join scenario 2020-09-24 09:54:11 -05:00
CMakeLists.txt tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf tests: thread_apis: add k_thread_join() tests 2020-03-13 08:42:43 -04:00
testcase.yaml tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00