/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/cpp/microbenchmarks/ |
D | bm_cq.cc | 102 gpr_timespec deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC); in BM_Pass1Core() 121 gpr_timespec deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC); in BM_Pluck1Core() 140 gpr_timespec deadline = gpr_inf_past(GPR_CLOCK_MONOTONIC); in BM_EmptyCore()
|
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); 246 fixture->cq()->AsyncNext(t, ok, gpr_inf_past(GPR_CLOCK_MONOTONIC))) { in TrickleCQNext() 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()
|
D | bm_call_create.cc | 110 gpr_timespec deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC); in BM_CallCreateDestroy() 491 const gpr_timespec deadline_ = gpr_inf_future(GPR_CLOCK_MONOTONIC); 492 const gpr_timespec start_time_ = gpr_now(GPR_CLOCK_MONOTONIC); 542 gpr_timespec start_time = gpr_now(GPR_CLOCK_MONOTONIC); in BM_IsolatedFilter() 729 gpr_timespec deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC); in BM_IsolatedCall_NoOp() 744 gpr_timespec deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC); in BM_IsolatedCall_Unary() 778 gpr_inf_future(GPR_CLOCK_MONOTONIC), nullptr); in BM_IsolatedCall_Unary() 790 gpr_timespec deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC); in BM_IsolatedCall_StreamingSend() 809 grpc_completion_queue_next(fixture.cq(), gpr_inf_future(GPR_CLOCK_MONOTONIC), in BM_IsolatedCall_StreamingSend() 818 gpr_inf_future(GPR_CLOCK_MONOTONIC), nullptr); in BM_IsolatedCall_StreamingSend()
|
D | bm_cq_multiple_threads.cc | 122 gpr_timespec deadline = gpr_time_0(GPR_CLOCK_MONOTONIC); in teardown() 153 gpr_timespec deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC); in BM_Cq_Throughput()
|
/external/grpc-grpc/src/core/lib/transport/ |
D | bdp_estimator.cc | 36 ping_start_time_(gpr_time_0(GPR_CLOCK_MONOTONIC)), in BdpEstimator() 43 gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); in CompletePing()
|
D | bdp_estimator.h | 72 ping_start_time_ = gpr_now(GPR_CLOCK_MONOTONIC); in StartPing()
|
/external/grpc-grpc/test/core/end2end/tests/ |
D | connectivity.cc | 41 ev = grpc_completion_queue_next(ce->cq, gpr_inf_future(GPR_CLOCK_MONOTONIC), in child_thread() 71 gpr_event_wait(&ce.started, gpr_inf_future(GPR_CLOCK_MONOTONIC)); in test_connectivity() 83 f.client, GRPC_CHANNEL_IDLE, gpr_now(GPR_CLOCK_MONOTONIC), f.cq, tag(1)); in test_connectivity()
|
/external/grpc-grpc/test/core/gpr/ |
D | sync_test.cc | 79 gpr_cv_wait(&q->non_full, &q->mu, gpr_inf_future(GPR_CLOCK_MONOTONIC)); in queue_append() 207 gpr_cv_wait(&m->done_cv, &m->mu, gpr_inf_future(GPR_CLOCK_MONOTONIC)); in test_wait() 321 gpr_cv_wait(&m->cv, &m->mu, gpr_inf_future(GPR_CLOCK_MONOTONIC)); in inc_by_turns() 338 deadline = gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in inc_with_1ms_delay() 394 queue_remove(&m->q, &value, gpr_inf_future(GPR_CLOCK_MONOTONIC)); in consumer() 401 gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in consumer()
|
/external/grpc-grpc/test/core/surface/ |
D | server_test.cc | 98 grpc_completion_queue_next(cq, gpr_inf_future(GPR_CLOCK_MONOTONIC), nullptr); in test_bind_server_twice() 99 grpc_completion_queue_next(cq, gpr_inf_future(GPR_CLOCK_MONOTONIC), nullptr); in test_bind_server_twice() 126 grpc_completion_queue_next(cq, gpr_inf_future(GPR_CLOCK_MONOTONIC), nullptr); in test_bind_server_to_addr()
|
/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/test/core/end2end/ |
D | cq_verifier_uv.cc | 85 ev = grpc_completion_queue_next(v->cq, gpr_inf_past(GPR_CLOCK_MONOTONIC), in cq_verifier_next_event() 91 ev = grpc_completion_queue_next(v->cq, gpr_inf_past(GPR_CLOCK_MONOTONIC), in cq_verifier_next_event()
|
/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 | 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/test/core/iomgr/ |
D | timer_list_test.cc | 192 now + kMillisIn25Days, gpr_clock_type::GPR_CLOCK_MONOTONIC); in long_running_service_cleanup_test() 243 gpr_time_sub(gpr_now(gpr_clock_type::GPR_CLOCK_MONOTONIC), in main() 245 gpr_clock_type::GPR_CLOCK_MONOTONIC)); in main()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
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()
|
D | timer_manager.cc | 187 grpc_millis_to_timespec(next, GPR_CLOCK_MONOTONIC)); in wait_until() 311 gpr_cv_wait(&g_cv_shutdown, &g_mu, gpr_inf_future(GPR_CLOCK_MONOTONIC)); in stop_threads()
|
/external/grpc-grpc/include/grpc/impl/codegen/ |
D | gpr_types.h | 33 GPR_CLOCK_MONOTONIC = 0, enumerator
|
/external/grpc-grpc/test/cpp/end2end/ |
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/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 224 ? gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), in on_oauth2_token_fetcher_http_response() 226 : gpr_inf_past(GPR_CLOCK_MONOTONIC); in on_oauth2_token_fetcher_http_response() 265 gpr_time_sub(c->token_expiration, gpr_now(GPR_CLOCK_MONOTONIC)), in oauth2_token_fetcher_get_request_metadata() 340 c->token_expiration = gpr_inf_past(GPR_CLOCK_MONOTONIC); in init_oauth2_token_fetcher()
|
/external/grpc-grpc/test/core/transport/chttp2/ |
D | settings_timeout_test.cc | 83 cq_, gpr_inf_future(GPR_CLOCK_MONOTONIC), nullptr); in Serve() 117 grpc_timespec_to_millis_round_up(gpr_inf_future(GPR_CLOCK_MONOTONIC)))); in Connect()
|
/external/grpc-grpc/test/cpp/util/ |
D | cli_call.cc | 131 gpr_cv_wait(&write_cv_, &write_mu_, gpr_inf_future(GPR_CLOCK_MONOTONIC)); in WriteAndWait() 141 gpr_cv_wait(&write_cv_, &write_mu_, gpr_inf_future(GPR_CLOCK_MONOTONIC)); in WritesDoneAndWait()
|
/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()
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | time_windows.cc | 56 case GPR_CLOCK_MONOTONIC: in now_impl()
|