Home
last modified time | relevance | path

Searched refs:test_thread (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core_stats_api/src/
Dmain.c13 K_THREAD_DEFINE(test_thread, 512 + CONFIG_TEST_EXTRA_STACK_SIZE,
48 saved_enable = K_OBJ_CORE(test_thread)->type->stats_desc->enable; in ZTEST()
49 K_OBJ_CORE(test_thread)->type->stats_desc->enable = NULL; in ZTEST()
50 status = k_obj_core_stats_enable(K_OBJ_CORE(test_thread)); in ZTEST()
53 K_OBJ_CORE(test_thread)->type->stats_desc->enable = saved_enable; in ZTEST()
79 saved_disable = K_OBJ_CORE(test_thread)->type->stats_desc->disable; in ZTEST()
80 K_OBJ_CORE(test_thread)->type->stats_desc->disable = NULL; in ZTEST()
81 status = k_obj_core_stats_disable(K_OBJ_CORE(test_thread)); in ZTEST()
84 K_OBJ_CORE(test_thread)->type->stats_desc->disable = saved_disable; in ZTEST()
110 saved_reset = K_OBJ_CORE(test_thread)->type->stats_desc->reset; in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/benchmarks/app_kernel/src/
Dmaster.c45 static struct k_thread test_thread; variable
180 k_thread_create(&test_thread, test_stack, in main()
192 k_thread_start(&test_thread); in main()
194 k_thread_join(&test_thread, K_FOREVER); in main()
200 k_thread_create(&test_thread, test_stack, in main()
217 k_thread_start(&test_thread); in main()
219 k_thread_join(&test_thread, K_FOREVER); in main()
224 k_thread_create(&test_thread, test_stack, in main()
235 k_thread_access_grant(&test_thread, &DEMOQX1, &DEMOQX4, &DEMOQX192, in main()
241 k_thread_start(&test_thread); in main()
[all …]
/Zephyr-Core-3.6.0/tests/kernel/mem_protect/userspace/src/
Dmain.c58 static struct k_thread test_thread;
501 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER()
539 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER()
544 k_thread_join(&test_thread, K_FOREVER); in ZTEST_USER()
561 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER()
565 k_thread_join(&test_thread, K_FOREVER); in ZTEST_USER()
691 k_thread_create(&test_thread, test_stack, STACKSIZE, user_half, in spawn_user()
695 k_thread_join(&test_thread, K_FOREVER); in spawn_user()
1027 k_thread_create(&test_thread, test_stack, STACKSIZE, tls_entry, in ZTEST()
1031 &test_thread, (void *)test_thread.userspace_local_data); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/kernel/threads/thread_error_case/src/
Dmain.c31 static void test_thread(void *p1, void *p2, void *p3) in test_thread() function
73 test_thread, NULL, NULL, NULL, in tThread_entry_negative()
84 test_thread, NULL, NULL, NULL, in tThread_entry_negative()
94 test_thread, NULL, NULL, NULL, in tThread_entry_negative()
/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c16 K_THREAD_DEFINE(test_thread, 1024 + CONFIG_TEST_EXTRA_STACK_SIZE,
235 status = k_obj_core_stats_raw(K_OBJ_CORE(test_thread), &raw1, in ZTEST()
239 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query1, in ZTEST()
250 status = k_obj_core_stats_raw(K_OBJ_CORE(test_thread), &raw2, in ZTEST()
254 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query2, in ZTEST()
276 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query2, in ZTEST()
280 status = k_thread_runtime_stats_get(test_thread, &query3); in ZTEST()
308 status = k_obj_core_stats_reset(K_OBJ_CORE(test_thread)); in ZTEST()
311 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), in ZTEST()
338 status = k_obj_core_stats_disable(K_OBJ_CORE(test_thread)); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/kernel/threads/thread_stack/src/
Dmain.c17 struct k_thread test_thread; variable
318 k_thread_create(&test_thread, scenario_data.stack, STEST_STACKSIZE, in stest_thread_launch()
322 k_thread_join(&test_thread, K_FOREVER); in stest_thread_launch()
324 ret = k_thread_stack_space_get(&test_thread, &unused); in stest_thread_launch()
483 k_thread_create(&test_thread, kern_stack, STEST_STACKSIZE, in ZTEST()
488 k_thread_join(&test_thread, K_FOREVER); in ZTEST()
/Zephyr-Core-3.6.0/samples/arch/smp/pi/src/
Dmain.c33 void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function
93 test_thread, in main()
/Zephyr-Core-3.6.0/tests/kernel/spinlock/src/
Dspinlock_fairness.c39 static void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function
90 (k_thread_entry_t)test_thread, in test_init()
/Zephyr-Core-3.6.0/tests/kernel/poll/src/
Dtest_poll.c32 static struct k_thread test_thread; variable
397 k_tid_t tid1 = k_thread_create(&test_thread, test_stack, in ZTEST()
436 k_tid_t tid2 = k_thread_create(&test_thread, test_stack, in ZTEST()
456 k_tid_t tid3 = k_thread_create(&test_thread, test_stack, in ZTEST()
558 k_tid_t tid = k_thread_create(&test_thread, test_stack, in test_poll_cancel()
664 k_tid_t tid1 = k_thread_create(&test_thread, test_stack, in ZTEST()
750 k_tid_t tid = k_thread_create(&test_thread, test_stack, in ZTEST()
775 &wait_signal, &test_thread, &test_signal, in poll_test_grant_access()
/Zephyr-Core-3.6.0/tests/benchmarks/latency_measure/src/
Dmain.c58 static void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function
158 K_THREAD_DEFINE(test_thread_id, STACK_SIZE, test_thread, NULL, NULL, NULL,
/Zephyr-Core-3.6.0/tests/kernel/sleep/src/
Dmain.c101 static void test_thread(void *p1, void *p2, void *p3) in test_thread() function
209 test_thread, in ZTEST()
/Zephyr-Core-3.6.0/samples/arch/smp/pktqueue/src/
Dmain.c69 void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function
119 test_thread, in queue_thread()
/Zephyr-Core-3.6.0/tests/kernel/context/src/
Dmain.c1091 ZTEST(context_one_cpu, test_thread) in ZTEST() argument