Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/gpr/
Dtime_windows.cc48 double now_dbl; in now_impl() local
60 now_dbl = (double)diff * g_time_scale; in now_impl()
61 now_tv.tv_sec = (int64_t)now_dbl; in now_impl()
62 now_tv.tv_nsec = (int32_t)((now_dbl - (double)now_tv.tv_sec) * 1e9); in now_impl()
Dtime_posix.cc106 double now_dbl; in now_impl() local
116 now_dbl = ((double)(mach_absolute_time() - g_time_start)) * g_time_scale; in now_impl()
117 now.tv_sec = (int64_t)(now_dbl * 1e-9); in now_impl()
118 now.tv_nsec = (int32_t)(now_dbl - ((double)now.tv_sec) * 1e9); in now_impl()