Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include "test_sched.h"
Functions | |
K_THREAD_STACK_DEFINE (tstack,(640+CONFIG_TEST_EXTRA_STACK_SIZE)) | |
K_THREAD_STACK_ARRAY_DEFINE (tstacks, 10,(640+CONFIG_TEST_EXTRA_STACK_SIZE)) | |
K_THREAD_STACK_DECLARE (ustack,(640+CONFIG_TEST_EXTRA_STACK_SIZE)) | |
void | spin_for_ms (int ms) |
static void * | threads_scheduling_tests_setup (void) |
ZTEST_SUITE (threads_scheduling, NULL, threads_scheduling_tests_setup, NULL, NULL, NULL) | |
ZTEST_SUITE (threads_scheduling_1cpu, NULL, threads_scheduling_tests_setup, ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL) | |
K_THREAD_STACK_ARRAY_DEFINE | ( | tstacks | , |
10 | , | ||
(640+CONFIG_TEST_EXTRA_STACK_SIZE) | |||
) |
K_THREAD_STACK_DECLARE | ( | ustack | , |
(640+CONFIG_TEST_EXTRA_STACK_SIZE) | |||
) |
K_THREAD_STACK_DEFINE | ( | tstack | , |
(640+CONFIG_TEST_EXTRA_STACK_SIZE) | |||
) |
void spin_for_ms | ( | int | ms | ) |
|
static |
ZTEST_SUITE | ( | threads_scheduling | , |
NULL | , | ||
threads_scheduling_tests_setup | , | ||
NULL | , | ||
NULL | , | ||
NULL | |||
) |
ZTEST_SUITE | ( | threads_scheduling_1cpu | , |
NULL | , | ||
threads_scheduling_tests_setup | , | ||
ztest_simple_1cpu_before | , | ||
ztest_simple_1cpu_after | , | ||
NULL | |||
) |