Home
last modified time | relevance | path

Searched refs:end_ms (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/subsys/logging/log_blocking/src/
Dmain.c36 static uint32_t end_ms; variable
54 return end_ms; in end()
60 end_ms = start_ms; in create_start_end()
62 end_ms += MAX_STALL_TIMEOUT_S * MSEC_PER_SEC; in create_start_end()
65 end_ms += MAX_STALL_TIMEOUT_S * MSEC_PER_SEC; in create_start_end()
67 end_ms += MSEC_PER_SEC * DIV_ROUND_UP(CONFIG_TEST_NUM_LOGS, CONFIG_TEST_INPUT_LOG_RATE); in create_start_end()
69 end_ms += MSEC_PER_SEC * DIV_ROUND_UP(CONFIG_TEST_NUM_LOGS, CONFIG_TEST_OUTPUT_LOG_RATE); in create_start_end()
75 TC_PRINT("End time: %u ms\n", end_ms); in create_start_end()
/Zephyr-latest/tests/kernel/sleep/src/
Dusleep.c71 int64_t end_ms; in ZTEST_USER() local
81 end_ms = k_uptime_get(); in ZTEST_USER()
82 elapsed_ms = end_ms - start_ms; in ZTEST_USER()
/Zephyr-latest/tests/posix/eventfd/src/
Dstress.c63 const uint64_t end_ms = CONFIG_TEST_DURATION_S * MSEC_PER_SEC; in th_fun() local
65 for (now = k_uptime_get(), end = now + end_ms, report = now + report_ms; now < end; in th_fun()
84 printk("avg: %zu %s/s\n", (size_t)((count[id] * MSEC_PER_SEC) / end_ms), msg[id]); in th_fun()
/Zephyr-latest/tests/benchmarks/posix/threads/src/
Dmain.c69 const uint64_t end_ms = now_ms + MSEC_PER_SEC * CONFIG_TEST_DURATION_S; in create_join_common() local
120 print_stats(tag, now_ms, end_ms); in create_join_common()
124 } while (end_ms > now_ms); in create_join_common()