Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_system/test/
Dtest_sleep.c180 int diff_us = (int) (stop - start); variable
182 printf("%lld %d\n", sleep_time, (int) (diff_us - sleep_time));
184 TEST_ASSERT_INT32_WITHIN(threshold, sleep_time, diff_us);
/hal_espressif-3.6.0/components/esp_timer/test/
Dtest_esp_timer.c625 const int64_t diff_us = 1000000; variable
626 esp_timer_impl_advance(diff_us);
629 printf("diff_us=%lld t0=%lld t1=%lld t1-t0=%lld\n", diff_us, t0, t1, t_delta);
630 TEST_ASSERT_INT_WITHIN(1000, diff_us, (int) t_delta);