Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
Data Structures | |
struct | test_running_cancel_timer |
struct | test_drain_wait_timer |
struct | state_1cpu_basic_schedule_running |
Macros | |
#define | STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACKSIZE) |
#define | COOPHI_PRIORITY K_PRIO_COOP(0) /* = -4 */ |
#define | COOPLO_PRIORITY K_PRIO_COOP(3) /* = -1 */ |
#define | PREEMPT_PRIORITY K_PRIO_PREEMPT(1) /* = 1 */ |
#define | DELAY_MS 100 |
#define | DELAY_TIMEOUT K_MSEC(DELAY_MS) |
Functions | |
static | K_THREAD_STACK_DEFINE (coophi_stack,(1024+CONFIG_TEST_EXTRA_STACKSIZE)) |
static int | coophi_counter (void) |
static | K_THREAD_STACK_DEFINE (cooplo_stack,(1024+CONFIG_TEST_EXTRA_STACKSIZE)) |
static int | cooplo_counter (void) |
static int | coop_counter (struct k_work_q *wq) |
static | K_THREAD_STACK_DEFINE (preempt_stack,(1024+CONFIG_TEST_EXTRA_STACKSIZE)) |
static int | preempt_counter (void) |
static | K_THREAD_STACK_DEFINE (invalid_test_stack,(1024+CONFIG_TEST_EXTRA_STACKSIZE)) |
static int | system_counter (void) |
static void | reset_counters (void) |
static void | counter_handler (struct k_work *work) |
static void | handler_release (void) |
static void | async_release_cb (struct k_timer *timer) |
static | K_TIMER_DEFINE (async_releaser, async_release_cb, NULL) |
static void | async_release (void) |
static void | rel_handler (struct k_work *work) |
static void | delay_handler (struct k_work *work) |
static void | test_work_init (void) |
static void | test_delayable_init (void) |
static void | test_legacy_delayed_init (void) |
static void | test_unstarted (void) |
static void | test_queue_start (void) |
static void | test_null_queue (void) |
static void | test_1cpu_simple_queue (void) |
static void | test_smp_simple_queue (void) |
static void | test_1cpu_sync_queue (void) |
static void | test_1cpu_reentrant_queue (void) |
static void | test_1cpu_queued_flush (void) |
static void | test_1cpu_running_flush (void) |
static void | test_1cpu_delayed_flush (void) |
static void | test_1cpu_queued_cancel (void) |
static void | test_1cpu_queued_cancel_sync (void) |
static void | test_1cpu_delayed_cancel (void) |
static void | test_1cpu_delayed_cancel_sync (void) |
static void | test_1cpu_delayed_cancel_sync_wait (void) |
static void | test_running_cancel_cb (struct k_timer *timer) |
static void | test_1cpu_running_cancel (void) |
static void | test_1cpu_running_cancel_sync (void) |
static void | test_smp_running_cancel (void) |
static void | test_drain_empty (void) |
static void | test_drain_wait_cb (struct k_timer *timer) |
static void | test_1cpu_drain_wait (void) |
static void | test_1cpu_plugged_drain (void) |
static void | test_1cpu_basic_schedule (void) |
static void | handle_1cpu_basic_schedule_running (struct k_work *work) |
static void | test_1cpu_basic_schedule_running (void) |
static void | test_1cpu_immed_schedule (void) |
static void | test_1cpu_basic_reschedule (void) |
static void | test_1cpu_immed_reschedule (void) |
static bool | try_queue_no_yield (struct k_work_q *wq) |
static void | test_1cpu_queue_no_yield (void) |
static void | test_1cpu_system_queue (void) |
static void | test_1cpu_system_schedule (void) |
static void | test_1cpu_system_reschedule (void) |
static void | test_1cpu_legacy_delayed_submit (void) |
static void | test_1cpu_legacy_delayed_resubmit (void) |
static void | test_1cpu_legacy_delayed_cancel (void) |
static void | test_nop (void) |
void | test_main (void) |
Variables | |
static struct k_sem | sync_sem |
static struct k_sem | rel_sem |
static struct k_work | work |
static struct k_work | work1 |
static struct k_work_delayable | dwork |
static struct k_work_sync | work_sync |
static struct k_thread * | main_thread |
static atomic_t | resubmits_left |
static uint32_t volatile | last_handle_ms |
static struct k_work_q | coophi_queue |
static atomic_t | coophi_ctr |
static struct k_work_q | cooplo_queue |
static atomic_t | cooplo_ctr |
static struct k_work_q | preempt_queue |
static atomic_t | preempt_ctr |
static struct k_work_q | invalid_test_queue |
static atomic_t | system_ctr |
static struct test_running_cancel_timer | test_running_cancel_ctx |
static struct test_drain_wait_timer | test_drain_wait_ctx |
#define COOPHI_PRIORITY K_PRIO_COOP(0) /* = -4 */ |
#define COOPLO_PRIORITY K_PRIO_COOP(3) /* = -1 */ |
#define DELAY_MS 100 |
#define PREEMPT_PRIORITY K_PRIO_PREEMPT(1) /* = 1 */ |
#define STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACKSIZE) |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void test_main | ( | void | ) |
test case main entry
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |