Searched refs:G_USEC_PER_SEC (Results 1 – 11 of 11) sorted by relevance
168 request.tv_sec = microseconds / G_USEC_PER_SEC; in g_usleep()169 request.tv_nsec = 1000 * (microseconds % G_USEC_PER_SEC); in g_usleep()176 request.tv_sec = microseconds / G_USEC_PER_SEC; in g_usleep()177 request.tv_nsec = 1000 * (microseconds % G_USEC_PER_SEC); in g_usleep()209 tv.tv_sec = microseconds / G_USEC_PER_SEC; in g_usleep()210 tv.tv_usec = microseconds % G_USEC_PER_SEC; in g_usleep()229 g_return_if_fail (time_->tv_usec >= 0 && time_->tv_usec < G_USEC_PER_SEC); in g_time_val_add()233 time_->tv_usec += microseconds % G_USEC_PER_SEC; in g_time_val_add()234 time_->tv_sec += microseconds / G_USEC_PER_SEC; in g_time_val_add()235 if (time_->tv_usec >= G_USEC_PER_SEC) in g_time_val_add()[all …]
44 #define G_USEC_PER_SEC 1000000 macro
616 return (guint64) tv.tv_sec * G_NSEC_PER_SEC + tv.tv_usec * (G_NSEC_PER_SEC / G_USEC_PER_SEC); in gettime()
41 g_usleep (G_USEC_PER_SEC / 5); in test_g_mutex()87 g_usleep (G_USEC_PER_SEC / 5); in test_g_static_rec_mutex()98 g_usleep (G_USEC_PER_SEC / 5); in test_g_static_rec_mutex()161 g_usleep (G_USEC_PER_SEC / 5); in test_g_static_private_thread()171 g_usleep (G_USEC_PER_SEC / 5); in test_g_static_private_thread()184 g_usleep (G_USEC_PER_SEC / 5); in test_g_static_private_thread()207 g_usleep (G_USEC_PER_SEC / 5); in test_g_static_private()291 g_usleep (G_USEC_PER_SEC * 5); in test_g_static_rw_lock()
65 g_usleep (G_USEC_PER_SEC); in wait_on_otherwise_locked_mutex()84 g_usleep (G_USEC_PER_SEC); in timed_wait_on_otherwise_locked_mutex()
65 max_idle_time = 10 * G_USEC_PER_SEC; in test_thread_functions()119 g_usleep (G_USEC_PER_SEC); in test_thread_stop_unused()130 g_usleep (G_USEC_PER_SEC); in test_thread_stop_unused()
603 g_usleep (G_USEC_PER_SEC); /* run timer for 1 second */ in timer_tests()607 g_usleep (G_USEC_PER_SEC); /* wait for 1 second */ in timer_tests()611 g_usleep (2 * G_USEC_PER_SEC); /* run timer for 2 seconds */ in timer_tests()615 g_usleep ((3 * G_USEC_PER_SEC) / 2); /* wait for 1.5 seconds */ in timer_tests()619 g_usleep (G_USEC_PER_SEC / 5); /* run timer for 0.2 seconds */ in timer_tests()623 g_usleep (4 * G_USEC_PER_SEC); /* wait for 4 seconds */ in timer_tests()627 g_usleep ((29 * G_USEC_PER_SEC) / 5); /* run timer for 5.8 seconds */ in timer_tests()
238 end_time.tv_nsec = abs_time->tv_usec * (G_NSEC_PER_SEC / G_USEC_PER_SEC); in g_cond_timed_wait_posix_impl()
668 s/G_MICROSEC/G_USEC_PER_SEC/ and s/G_NANOSEC/G_NSEC_PER_SEC/
1252 G_USEC_PER_SEC
259 g_usleep(G_USEC_PER_SEC) the newly started thread began5044 s/G_MICROSEC/G_USEC_PER_SEC/