Home
last modified time | relevance | path

Searched refs:exec_cnt (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/ztest/ztress/src/
Dmain.c91 uint32_t exec_cnt = ztress_exec_count(i); in ZTEST() local
93 zassert_true(exec_cnt >= repeat && exec_cnt < repeat + 10); in ZTEST()
102 uint32_t exec_cnt = ztress_exec_count(i); in ZTEST() local
104 zassert_true(exec_cnt >= repeat && exec_cnt < repeat + 10); in ZTEST()
118 uint32_t exec_cnt = ztress_exec_count(1); in ZTEST() local
120 zassert_true(exec_cnt >= repeat && exec_cnt < repeat + 10, "exec_cnt: %u", exec_cnt); in ZTEST()
129 exec_cnt = ztress_exec_count(1); in ZTEST()
130 zassert_true(exec_cnt >= repeat && exec_cnt < repeat + 10); in ZTEST()
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztress.c45 static uint32_t exec_cnt[CONFIG_ZTRESS_MAX_THREADS]; variable
90 if (tmr_data->exec_cnt != 0 && exec_cnt[0] != 0) { in progress_timeout()
91 progress = (100 * exec_cnt[0]) / tmr_data->exec_cnt; in progress_timeout()
96 if (thread_data[i].exec_cnt == 0 && thread_data[i].preempt_cnt == 0) { in progress_timeout()
100 uint32_t exec_progress = (thread_data[i].exec_cnt) ? in progress_timeout()
101 (100 * exec_cnt[i]) / thread_data[i].exec_cnt : 100; in progress_timeout()
195 if (context_data->exec_cnt != 0 && exec_cnt[priority] >= context_data->exec_cnt) { in cont_check()
235 exec_cnt[priority], in ztress_timeout()
238 exec_cnt[priority]++; in ztress_timeout()
260 uint32_t cnt = exec_cnt[priority]; in ztress_thread()
[all …]
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztress.h55 #define ZTRESS_TIMER(handler, user_data, exec_cnt, init_timeout) \ argument
56 (ZTRESS_ID_K_TIMER, handler, user_data, exec_cnt, 0, init_timeout)
80 #define ZTRESS_THREAD(handler, user_data, exec_cnt, preempt_cnt, init_timeout) \ argument
81 (ZTRESS_ID_THREAD, handler, user_data, exec_cnt, preempt_cnt, init_timeout)
108 uint32_t exec_cnt; member
134 .exec_cnt = (_exec_cnt), \