Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
main.c File Reference
#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)
 

Function Documentation

◆ K_THREAD_STACK_ARRAY_DEFINE()

K_THREAD_STACK_ARRAY_DEFINE ( tstacks  ,
10  ,
(640+CONFIG_TEST_EXTRA_STACK_SIZE)   
)

◆ K_THREAD_STACK_DECLARE()

K_THREAD_STACK_DECLARE ( ustack  ,
(640+CONFIG_TEST_EXTRA_STACK_SIZE)   
)

◆ K_THREAD_STACK_DEFINE()

K_THREAD_STACK_DEFINE ( tstack  ,
(640+CONFIG_TEST_EXTRA_STACK_SIZE)   
)

◆ spin_for_ms()

void spin_for_ms ( int  ms)

◆ threads_scheduling_tests_setup()

static void * threads_scheduling_tests_setup ( void  )
static

◆ ZTEST_SUITE() [1/2]

ZTEST_SUITE ( threads_scheduling  ,
NULL  ,
threads_scheduling_tests_setup  ,
NULL  ,
NULL  ,
NULL   
)

◆ ZTEST_SUITE() [2/2]

ZTEST_SUITE ( threads_scheduling_1cpu  ,
NULL  ,
threads_scheduling_tests_setup  ,
ztest_simple_1cpu_before  ,
ztest_simple_1cpu_after  ,
NULL   
)