Home
last modified time | relevance | path

Searched refs:GPR_CLOCK_MONOTONIC (Results 1 – 25 of 66) sorted by relevance

123

/external/grpc-grpc/test/cpp/naming/
Dresolver_component_tests_runner_invoker.cc75 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/
Dbm_cq.cc102 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()
Dbm_fullstack_trickle.cc132 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()
Dbm_call_create.cc110 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()
Dbm_cq_multiple_threads.cc122 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/
Dbdp_estimator.cc36 ping_start_time_(gpr_time_0(GPR_CLOCK_MONOTONIC)), in BdpEstimator()
43 gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); in CompletePing()
Dbdp_estimator.h72 ping_start_time_ = gpr_now(GPR_CLOCK_MONOTONIC); in StartPing()
/external/grpc-grpc/test/core/end2end/tests/
Dconnectivity.cc41 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/
Dsync_test.cc79 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/
Dserver_test.cc98 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/
Ddns_resolver_cooldown_test.cc71 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/
Dcq_verifier_uv.cc85 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/
Dtest_tcp_server.cc103 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()
Dtrickle_endpoint.cc70 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/
Dtimer_list_test.cc192 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/
Dexec_ctx.cc119 g_start_time = gpr_now(GPR_CLOCK_MONOTONIC); in GlobalInit()
147 now_ = timespec_to_millis_round_down(gpr_now(GPR_CLOCK_MONOTONIC)); in Now()
Dtimer_manager.cc187 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/
Dgpr_types.h33 GPR_CLOCK_MONOTONIC = 0, enumerator
/external/grpc-grpc/test/cpp/end2end/
Dclient_lb_end2end_test.cc405 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()
Dserver_early_return_test.cc69 gpr_now(GPR_CLOCK_MONOTONIC), in RequestStream()
94 gpr_now(GPR_CLOCK_MONOTONIC), in BidiStream()
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc224 ? 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/
Dsettings_timeout_test.cc83 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/
Dcli_call.cc131 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/
Dload_reporter_async_service_impl.cc61 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/
Dtime_windows.cc56 case GPR_CLOCK_MONOTONIC: in now_impl()

123