/external/grpc-grpc/src/core/lib/iomgr/ |
D | iomgr.cc | 84 gpr_now(GPR_CLOCK_REALTIME), gpr_time_from_seconds(10, GPR_TIMESPAN)); in grpc_iomgr_shutdown() 85 gpr_timespec last_warning_time = gpr_now(GPR_CLOCK_REALTIME); in grpc_iomgr_shutdown() 96 gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), last_warning_time), in grpc_iomgr_shutdown() 103 last_warning_time = gpr_now(GPR_CLOCK_REALTIME); in grpc_iomgr_shutdown() 124 gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in grpc_iomgr_shutdown() 127 if (gpr_time_cmp(gpr_now(GPR_CLOCK_REALTIME), shutdown_deadline) > in grpc_iomgr_shutdown()
|
D | exec_ctx.cc | 119 g_start_time = gpr_now(GPR_CLOCK_MONOTONIC); in GlobalInit() 147 now_ = timespec_to_millis_round_down(gpr_now(GPR_CLOCK_MONOTONIC)); in Now()
|
/external/grpc-grpc/test/cpp/end2end/ |
D | server_crash_test.cc | 62 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in BidiStream() 77 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in ResponseStream() 125 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in TEST_F() 135 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in TEST_F()
|
D | test_service_impl.cc | 79 gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in Echo() 116 gpr_now(GPR_CLOCK_REALTIME), in Echo() 124 gpr_now(GPR_CLOCK_REALTIME), in Echo() 354 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in ServerTryCancel()
|
D | client_lb_end2end_test.cc | 405 const gpr_timespec t0 = gpr_now(GPR_CLOCK_MONOTONIC); in TEST_F() 417 const gpr_timespec t1 = gpr_now(GPR_CLOCK_MONOTONIC); in TEST_F() 443 const gpr_timespec t0 = gpr_now(GPR_CLOCK_MONOTONIC); in TEST_F() 446 const gpr_timespec t1 = gpr_now(GPR_CLOCK_MONOTONIC); in TEST_F() 468 const gpr_timespec t0 = gpr_now(GPR_CLOCK_MONOTONIC); in TEST_F() 478 const gpr_timespec t1 = gpr_now(GPR_CLOCK_MONOTONIC); in TEST_F() 950 gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); in TEST_F() 953 now = gpr_now(GPR_CLOCK_MONOTONIC); in TEST_F()
|
D | server_early_return_test.cc | 69 gpr_now(GPR_CLOCK_MONOTONIC), in RequestStream() 94 gpr_now(GPR_CLOCK_MONOTONIC), in BidiStream()
|
/external/grpc-grpc/test/core/gprpp/ |
D | fork_test.cc | 55 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in sleeping_thd() 70 gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in test_thd_count() 82 gpr_timespec end_time = gpr_now(GPR_CLOCK_REALTIME); in test_thd_count() 124 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in test_exec_count()
|
/external/grpc-grpc/test/cpp/util/ |
D | metrics_server.cc | 32 : start_time_(gpr_now(GPR_CLOCK_REALTIME)), num_queries_(0) {} in QpsGauge() 37 start_time_ = gpr_now(GPR_CLOCK_REALTIME); in Reset() 48 gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start_time_); in Get()
|
/external/grpc-grpc/test/cpp/interop/ |
D | stress_interop_client.cc | 93 gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in MainLoop() 99 while (gpr_time_cmp(gpr_now(GPR_CLOCK_REALTIME), test_end_time) < 0) { in MainLoop() 110 gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in MainLoop()
|
D | interop_server.cc | 151 gpr_timespec ts = gpr_now(GPR_CLOCK_PRECISE); in CacheableUnaryCall() 221 gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in StreamingOutputCall() 275 gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in FullDuplexCall() 372 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in RunServer()
|
D | http2_client.cc | 122 gpr_now(GPR_CLOCK_REALTIME), gpr_time_from_seconds(1, GPR_TIMESPAN)); in DoGoaway() 200 gpr_now(GPR_CLOCK_REALTIME), gpr_time_from_seconds(300, GPR_TIMESPAN)))); in main()
|
/external/grpc-grpc/test/core/gpr/ |
D | spinlock_test.cc | 94 gpr_timespec start = gpr_now(GPR_CLOCK_REALTIME); in test() 101 while (gpr_time_cmp(gpr_now(GPR_CLOCK_REALTIME), deadline) < 0) { in test() 117 time_taken = gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start); in test()
|
D | sync_test.cc | 246 gpr_timespec start = gpr_now(GPR_CLOCK_REALTIME); in test() 253 while (gpr_time_cmp(gpr_now(GPR_CLOCK_REALTIME), deadline) < 0) { in test() 278 time_taken = gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start); in test() 338 deadline = gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in inc_with_1ms_delay() 355 deadline = gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), in inc_with_1ms_delay_event() 401 gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in consumer()
|
/external/grpc-grpc/test/cpp/naming/ |
D | resolver_component_tests_runner_invoker.cc | 75 gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in RunSigHandlingThread() 78 gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); in RunSigHandlingThread() 86 gpr_now(GPR_CLOCK_MONOTONIC), gpr_time_from_seconds(1, GPR_TIMESPAN)); in RunSigHandlingThread()
|
/external/grpc-grpc/test/core/client_channel/resolvers/ |
D | dns_resolver_cooldown_test.cc | 71 grpc_timespec_to_millis_round_up(gpr_now(GPR_CLOCK_MONOTONIC)); in test_resolve_address_impl() 74 grpc_timespec_to_millis_round_up(gpr_now(GPR_CLOCK_MONOTONIC)); in test_resolve_address_impl() 102 grpc_timespec_to_millis_round_up(gpr_now(GPR_CLOCK_MONOTONIC)); in test_dns_lookup_ares_locked() 105 grpc_timespec_to_millis_round_up(gpr_now(GPR_CLOCK_MONOTONIC)); in test_dns_lookup_ares_locked()
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | time.cc | 242 return gpr_time_sub(t, gpr_now(t.clock_type)); in gpr_convert_clock_type() 246 return gpr_time_add(gpr_now(clock_type), t); in gpr_convert_clock_type() 249 return gpr_time_add(gpr_now(clock_type), in gpr_convert_clock_type() 250 gpr_time_sub(t, gpr_now(t.clock_type))); in gpr_convert_clock_type()
|
D | time_windows.cc | 73 gpr_timespec gpr_now(gpr_clock_type clock_type) { in gpr_now() function 85 now = gpr_now(until.clock_type); in gpr_sleep_until()
|
D | time_posix.cc | 137 gpr_timespec gpr_now(gpr_clock_type clock_type) { in gpr_now() function 153 now = gpr_now(until.clock_type); in gpr_sleep_until()
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_fullstack_trickle.cc | 132 auto now = gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), start_); in Log() 212 gpr_timespec start_ = gpr_now(GPR_CLOCK_MONOTONIC); 306 gpr_timespec warmup_start = gpr_now(GPR_CLOCK_MONOTONIC); in BM_PumpStreamServerToClient_Trickle() 312 if (gpr_time_cmp(gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), warmup_start), in BM_PumpStreamServerToClient_Trickle() 419 gpr_timespec warmup_start = gpr_now(GPR_CLOCK_MONOTONIC); in BM_PumpUnbalancedUnary_Trickle() 425 if (gpr_time_cmp(gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), warmup_start), in BM_PumpUnbalancedUnary_Trickle()
|
/external/grpc-grpc/test/core/fling/ |
D | client.cc | 129 gpr_timespec tv = gpr_now(GPR_CLOCK_REALTIME); in now() 208 while (gpr_time_cmp(gpr_now(end_warmup.clock_type), end_warmup) < 0) { in main() 214 while (gpr_time_cmp(gpr_now(end_profiling.clock_type), end_profiling) < 0) { in main()
|
/external/grpc-grpc/test/core/util/ |
D | test_tcp_server.cc | 103 shutdown_deadline = gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in test_tcp_server_destroy() 106 gpr_time_cmp(gpr_now(GPR_CLOCK_MONOTONIC), shutdown_deadline) < 0) { in test_tcp_server_destroy()
|
D | port_isolated_runtime_environment.cc | 37 srand(gpr_now(GPR_CLOCK_REALTIME).tv_nsec); in get_random_port_offset()
|
D | trickle_endpoint.cc | 70 te->last_write = gpr_now(GPR_CLOCK_MONOTONIC); in te_write() 177 gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); in grpc_trickle_endpoint_trickle()
|
/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_credentials.cc | 70 gpr_now(GPR_CLOCK_REALTIME)), in jwt_get_request_metadata() 89 gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), c->jwt_lifetime); in jwt_get_request_metadata()
|
/external/grpc-grpc/src/cpp/server/load_reporter/ |
D | load_reporter_async_service_impl.cc | 61 gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in ScheduleNextFetchAndSample() 92 gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in Work() 254 gpr_now(GPR_CLOCK_MONOTONIC), in ScheduleNextReport()
|