Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/freertos/test/
Dtest_task_suspend_resume.c245 static const int waiting_ms = 2000; variable
256 vTaskDelay(waiting_ms / portTICK_PERIOD_MS); in waiting_task()
271 esp_rom_delay_us(waiting_ms * 1000 + delta_ms * 1000); in control_task()
294 vTaskDelay(waiting_ms * 2 / portTICK_PERIOD_MS); in test_scheduler_suspend1()
295 TEST_ASSERT_INT_WITHIN(4, waiting_ms + delta_ms + 4, duration_ctrl_task_ms); in test_scheduler_suspend1()
298 TEST_ASSERT_INT_WITHIN(2, waiting_ms, duration_wait_task_ms); in test_scheduler_suspend1()
300 TEST_ASSERT_INT_WITHIN(4, waiting_ms + delta_ms + 4, duration_wait_task_ms); in test_scheduler_suspend1()
339 vTaskDelay(waiting_ms * 2 / portTICK_PERIOD_MS); in test_scheduler_suspend2()
344 TEST_ASSERT_INT_WITHIN(portTICK_PERIOD_MS * 2, waiting_ms * 2, tick_hook_ms[0]); in test_scheduler_suspend2()
345 TEST_ASSERT_INT_WITHIN(portTICK_PERIOD_MS * 2, waiting_ms * 2, tick_hook_ms[1]); in test_scheduler_suspend2()
[all …]