Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/gpr/
Dtime_windows.cc44 gpr_timespec now_tv; in now_impl() local
49 now_tv.clock_type = clock; in now_impl()
53 now_tv.tv_sec = (int64_t)now_tb.time; in now_impl()
54 now_tv.tv_nsec = now_tb.millitm * 1000000; 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()
68 return now_tv; in now_impl()
Dtime_posix.cc105 struct timeval now_tv; in now_impl() local
111 gettimeofday(&now_tv, nullptr); in now_impl()
112 now.tv_sec = now_tv.tv_sec; in now_impl()
113 now.tv_nsec = now_tv.tv_usec * 1000; in now_impl()