Searched refs:tv_now (Results 1 – 5 of 5) sorted by relevance
41 struct timeval tv_now; in sntp_sync_time() local42 gettimeofday(&tv_now, NULL); in sntp_sync_time()43 int64_t cpu_time = (int64_t)tv_now.tv_sec * 1000000L + (int64_t)tv_now.tv_usec; in sntp_sync_time()
71 struct timeval tv_now; in app_main() local72 gettimeofday(&tv_now, NULL); in app_main()73 int64_t cpu_time = (int64_t)tv_now.tv_sec * 1000000L + (int64_t)tv_now.tv_usec; in app_main()
70 struct timeval tv_now; in test_periodic_correct_delays_timer_func() local71 gettimeofday(&tv_now, NULL); in test_periodic_correct_delays_timer_func()72 int32_t ms_diff = (tv_now.tv_sec - p_args->tv_start.tv_sec) * 1000 + in test_periodic_correct_delays_timer_func()73 (tv_now.tv_usec - p_args->tv_start.tv_usec) / 1000; in test_periodic_correct_delays_timer_func()
153 struct timeval tv_now; in eth_sniffer_cb() local157 gettimeofday(&tv_now, NULL); in eth_sniffer_cb()159 packet_info.seconds = tv_now.tv_sec; in eth_sniffer_cb()160 packet_info.microseconds = tv_now.tv_usec; in eth_sniffer_cb()
88 struct timeval tv_now;89 gettimeofday(&tv_now, NULL);90 int64_t time_us = (int64_t)tv_now.tv_sec * 1000000L + (int64_t)tv_now.tv_usec;