Searched refs:g_start_time (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc/src/core/lib/iomgr/ |
D | exec_ctx.cc | 54 static gpr_timespec g_start_time; variable 57 ts = gpr_time_sub(ts, g_start_time); in timespec_to_millis_round_down() 66 ts = gpr_time_sub(ts, g_start_time); in timespec_to_millis_round_up() 90 return gpr_time_add(gpr_convert_clock_type(g_start_time, clock_type), in grpc_millis_to_timespec() 96 gpr_convert_clock_type(ts, g_start_time.clock_type)); in grpc_timespec_to_millis_round_down() 101 gpr_convert_clock_type(ts, g_start_time.clock_type)); in grpc_timespec_to_millis_round_up() 114 g_start_time = new_val; in TestOnlyGlobalInit() 119 g_start_time = gpr_now(GPR_CLOCK_MONOTONIC); in GlobalInit()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | exec_ctx.cc | 54 static gpr_timespec g_start_time; variable 66 return timespan_to_millis_round_down(gpr_time_sub(ts, g_start_time)); in timespec_to_millis_round_down() 80 return timespan_to_millis_round_up(gpr_time_sub(ts, g_start_time)); in timespec_to_millis_round_up() 97 return gpr_time_add(gpr_convert_clock_type(g_start_time, clock_type), in grpc_millis_to_timespec() 103 gpr_convert_clock_type(ts, g_start_time.clock_type)); in grpc_timespec_to_millis_round_down() 108 gpr_convert_clock_type(ts, g_start_time.clock_type)); in grpc_timespec_to_millis_round_up() 127 g_start_time = new_val; in TestOnlyGlobalInit() 136 g_start_time = gpr_now(GPR_CLOCK_MONOTONIC); in GlobalInit()
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | time_windows.cc | 33 static LARGE_INTEGER g_start_time; variable 39 QueryPerformanceCounter(&g_start_time); in gpr_time_init() 59 diff = timestamp.QuadPart - g_start_time.QuadPart; in now_impl()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/ |
D | time_windows.cc | 33 static LARGE_INTEGER g_start_time; variable 39 QueryPerformanceCounter(&g_start_time); in gpr_time_init() 59 diff = timestamp.QuadPart - g_start_time.QuadPart; in now_impl()
|