Lines Matching +full:first +full:- +full:conversion +full:- +full:delay

29  * sub-second timing to make some timer tests run faster.
37 /* Promote potentially 32-bit time_t to uint64_t before conversion. */ in now()
278 /* Re-enable and check again */ in test_disable_and_enable()
375 end = start - SEC_TO_US(btp.tv_sec + 1); in test_abstime_preboot()
414 end = start - SEC_TO_US(timeout_sec); in test_abstime_postboot()
448 /* First set the timer to 1 second */ in test_update()
466 elapsed = now() - start; in test_update()
493 /* First set the timer to 1 ms */ in test_update_equal()
502 /* Now re-add the timer with the same parameters */ in test_update_equal()
512 elapsed = now() - start; in test_update_equal()
515 * to make sure that the timer re-started and that the event is in test_update_equal()
546 /* Now re-add the timer */ in test_update_expired()
556 elapsed = now() - start; in test_update_expired()
559 * is to make sure that the timer re-started and that the event is in test_update_expired()
566 /* Make sure the re-added timer does not fire. In other words, in test_update_expired()
568 * add and re-add of the timer. in test_update_expired()
601 /* Re-add with new timeout. */ in test_update_periodic()
613 elapsed = stop - start; in test_update_periodic()
645 /* Re-try the update tests with a variety of delays between the in test_update_timing()
654 /* First set the timer to 1 ms */ in test_update_timing()
660 /* Delay; the delay ranges from less than to greater than the in test_update_timing()
665 /* Now re-add the timer with the same parameters */ in test_update_timing()
676 elapsed = stop - start; in test_update_timing()
679 * check is to make sure that the timer re-started and that in test_update_timing()
685 /* Make sure the re-added timer does not fire. In other words, in test_update_timing()
687 * the add and re-add of the timer. in test_update_timing()