/Zephyr-Core-3.7.0/tests/ztest/ztress/src/ |
D | main.c | 39 ZTRESS_EXECUTE(ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, t), in ZTEST() 40 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 1000, t)); in ZTEST() 75 ZTRESS_EXECUTE(ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, K_MSEC(1)), in ZTEST() 76 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, K_MSEC(1))); in ZTEST() 87 ZTRESS_EXECUTE(ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, Z_TIMEOUT_TICKS(20)), in ZTEST() 88 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, Z_TIMEOUT_TICKS(20))); in ZTEST() 98 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, Z_TIMEOUT_TICKS(30)), in ZTEST() 99 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, Z_TIMEOUT_TICKS(30))); in ZTEST() 115 ZTRESS_EXECUTE(ZTRESS_THREAD(ztress_handler_busy, NULL, 0, 0, Z_TIMEOUT_TICKS(20)), in ZTEST() 116 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, Z_TIMEOUT_TICKS(20))); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/subsys/sip_svc/src/ |
D | main.c | 212 ZTRESS_EXECUTE(ZTRESS_THREAD(sip_svc_register_and_send, &t[0], CONFIG_ITERATIONS, 0, in ZTEST() 214 ZTRESS_THREAD(sip_svc_register_and_send, &t[1], CONFIG_ITERATIONS, 0, in ZTEST() 216 ZTRESS_THREAD(sip_svc_register_and_send, &t[2], CONFIG_ITERATIONS, 0, in ZTEST() 218 ZTRESS_THREAD(sip_svc_register_and_send, &t[3], CONFIG_ITERATIONS, 0, in ZTEST() 220 ZTRESS_THREAD(sip_svc_register_and_send, &t[4], CONFIG_ITERATIONS, 0, in ZTEST() 222 ZTRESS_THREAD(sip_svc_register_and_send, &t[5], CONFIG_ITERATIONS, 0, in ZTEST() 224 ZTRESS_THREAD(sip_svc_register_and_send, &t[6], CONFIG_ITERATIONS, 0, in ZTEST() 226 ZTRESS_THREAD(sip_svc_register_and_send, &t[7], CONFIG_ITERATIONS, 0, in ZTEST() 228 ZTRESS_THREAD(sip_svc_register_and_send, &t[8], CONFIG_ITERATIONS, 0, in ZTEST() 230 ZTRESS_THREAD(sip_svc_register_and_send, &t[9], CONFIG_ITERATIONS, 0, in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/lib/mpsc_pbuf/src/ |
D | concurrent.c | 259 ZTRESS_THREAD(h1, &mpsc_buffer, 0, 0, t), in stress_test() 260 ZTRESS_THREAD(h2, &mpsc_buffer, 0, preempt_max, t), in stress_test() 261 ZTRESS_THREAD(h3, &mpsc_buffer, 0, preempt_max, t)); in stress_test() 265 ZTRESS_THREAD(h1, &mpsc_buffer, 0, 0, t), in stress_test() 266 ZTRESS_THREAD(h2, &mpsc_buffer, 0, preempt_max, t), in stress_test() 267 ZTRESS_THREAD(h3, &mpsc_buffer, 0, preempt_max, t), in stress_test() 268 ZTRESS_THREAD(h4, &mpsc_buffer, 0, preempt_max, t) in stress_test()
|
/Zephyr-Core-3.7.0/tests/lib/ringbuffer/src/ |
D | concurrent.c | 96 ZTRESS_EXECUTE(ZTRESS_THREAD(user_handler, (void *)0, 0, 0, Z_TIMEOUT_TICKS(20)), in ZTEST() 97 ZTRESS_THREAD(user_handler, (void *)1, 0, 10, Z_TIMEOUT_TICKS(20))); in ZTEST() 281 ZTRESS_EXECUTE(ZTRESS_THREAD(high_handler, NULL, 0, 0, Z_TIMEOUT_TICKS(20)), in test_ztress() 282 ZTRESS_THREAD(low_handler, NULL, 0, 2000, Z_TIMEOUT_TICKS(20))); in test_ztress()
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_stress/src/ |
D | main.c | 170 ZTRESS_THREAD(context_handler, NULL, 0, preempt, Z_TIMEOUT_TICKS(30)), in test_stress() 171 ZTRESS_THREAD(context_handler, NULL, 0, preempt, Z_TIMEOUT_TICKS(30))); in test_stress()
|
/Zephyr-Core-3.7.0/tests/lib/spsc_pbuf/src/ |
D | main.c | 479 ZTRESS_THREAD(stress_write, &ctx, repeat, 2000, Z_TIMEOUT_TICKS(4))); in ZTEST() 484 ZTRESS_THREAD(stress_read, &ctx, repeat, 1000, Z_TIMEOUT_TICKS(4))); in ZTEST() 549 ZTRESS_EXECUTE(ZTRESS_THREAD(stress_claim_free, &ctx, repeat, 0, Z_TIMEOUT_TICKS(4)), in ZTEST() 550 ZTRESS_THREAD(stress_alloc_commit, &ctx, repeat, 1000, Z_TIMEOUT_TICKS(4))); in ZTEST() 552 ZTRESS_EXECUTE(ZTRESS_THREAD(stress_alloc_commit, &ctx, repeat, 0, Z_TIMEOUT_TICKS(4)), in ZTEST() 553 ZTRESS_THREAD(stress_claim_free, &ctx, repeat, 1000, Z_TIMEOUT_TICKS(4))); in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/testsuite/ztest/include/zephyr/ |
D | ztress.h | 80 #define ZTRESS_THREAD(handler, user_data, exec_cnt, preempt_cnt, init_timeout) \ macro
|
/Zephyr-Core-3.7.0/tests/subsys/ipc/pbuf/src/ |
D | main.c | 285 ZTRESS_THREAD(stress_write, &ctx, repeat, 2000, Z_TIMEOUT_TICKS(4))); in ZTEST() 290 ZTRESS_THREAD(stress_read, &ctx, repeat, 1000, Z_TIMEOUT_TICKS(4))); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/drivers/uart/uart_async_rx/src/ |
D | main.c | 312 ZTRESS_EXECUTE(ZTRESS_THREAD(in_chunks ? producer_in_chunks : producer_no_chunks, in stress_test() 314 ZTRESS_THREAD(consumer, &test_data, 0, preempt, Z_TIMEOUT_TICKS(20))); in stress_test()
|
/Zephyr-Core-3.7.0/doc/develop/test/ |
D | ztest.rst | 434 specified by :c:macro:`ZTRESS_TIMER` or :c:macro:`ZTRESS_THREAD` macros. Contexts 458 ZTRESS_THREAD(foo_1, user_data_1, 10000, 0, Z_TIMEOUT_TICKS(20)), 459 ZTRESS_THREAD(foo_2, user_data_2, 10000, 1000, Z_TIMEOUT_TICKS(20)));
|