Home
last modified time | relevance | path

Searched refs:gpr_time_sub (Results 1 – 25 of 32) sorted by relevance

12

/external/grpc-grpc/src/core/lib/gpr/
Dtime.cc163 gpr_timespec gpr_time_sub(gpr_timespec a, gpr_timespec b) { in gpr_time_sub() function
205 return gpr_time_cmp(gpr_time_sub(b, a), threshold) <= 0; in gpr_time_similar()
207 return gpr_time_cmp(gpr_time_sub(a, b), threshold) <= 0; in gpr_time_similar()
242 return gpr_time_sub(t, gpr_now(t.clock_type)); in gpr_convert_clock_type()
250 gpr_time_sub(t, gpr_now(t.clock_type))); in gpr_convert_clock_type()
Dtime_windows.cc90 delta = gpr_time_sub(until, now); in gpr_sleep_until()
Dtime_posix.cc158 delta = gpr_time_sub(until, now); in gpr_sleep_until()
/external/grpc-grpc/src/core/lib/iomgr/
Dexec_ctx.cc57 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()
Diomgr.cc96 gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), last_warning_time), in grpc_iomgr_shutdown()
/external/grpc-grpc/test/core/gpr/
Dtime_test.cc142 gpr_timespec difft = gpr_time_sub(it, jt); in test_add_sub()
197 x = gpr_time_sub(infinity[i], addend[j]); in test_sticky_infinities()
204 x = gpr_time_sub(infinity[i], y); in test_sticky_infinities()
Dspinlock_test.cc117 time_taken = gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start); in test()
Dsync_test.cc278 time_taken = gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start); in test()
/external/grpc-grpc/src/core/lib/transport/
Dbdp_estimator.cc44 gpr_timespec dt_ts = gpr_time_sub(now, ping_start_time_); in CompletePing()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_fullstack_trickle.cc132 auto now = gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), start_); in Log()
312 if (gpr_time_cmp(gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), warmup_start), in BM_PumpStreamServerToClient_Trickle()
425 if (gpr_time_cmp(gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), warmup_start), in BM_PumpUnbalancedUnary_Trickle()
/external/grpc-grpc/include/grpc/support/
Dtime.h65 GPRAPI gpr_timespec gpr_time_sub(gpr_timespec a, gpr_timespec b);
/external/grpc-grpc/test/cpp/util/
Dmetrics_server.cc48 gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start_time_); in Get()
/external/grpc-grpc/test/core/util/
Dreconnect_server.cc42 diff = gpr_time_sub(head->next->timestamp, head->timestamp); in pretty_print_backoffs()
Dtrickle_endpoint.cc178 double elapsed = ts2dbl(gpr_time_sub(now, te->last_write)); in grpc_trickle_endpoint_trickle()
/external/grpc-grpc/test/cpp/interop/
Dreconnect_interop_server.cc131 gpr_time_sub(cur->next->timestamp, cur->timestamp)); in Verify()
/external/grpc-grpc/
Dgrpc.def245 gpr_time_sub
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_credentials.cc69 (gpr_time_cmp(gpr_time_sub(c->cached.jwt_expiration, in jwt_get_request_metadata()
/external/grpc-grpc/src/php/ext/grpc/
Dtimeval.c118 grpc_php_wrap_timeval(gpr_time_sub(self->wrapped, other->wrapped) in PHP_METHOD()
/external/grpc-grpc/test/core/iomgr/
Dtimer_list_test.cc243 gpr_time_sub(gpr_now(gpr_clock_type::GPR_CLOCK_MONOTONIC), in main()
/external/grpc-grpc/test/cpp/end2end/
Dclient_lb_end2end_test.cc418 const grpc_millis waited_ms = gpr_time_to_millis(gpr_time_sub(t1, t0)); in TEST_F()
447 const grpc_millis waited_ms = gpr_time_to_millis(gpr_time_sub(t1, t0)); in TEST_F()
479 const grpc_millis waited_ms = gpr_time_to_millis(gpr_time_sub(t1, t0)); in TEST_F()
/external/grpc-grpc/test/core/surface/
Dpublic_headers_must_be_c89.c303 printf("%lx", (unsigned long) gpr_time_sub); in main()
/external/grpc-grpc/test/core/end2end/tests/
Dfilter_latency.cc228 const gpr_timespec max_latency = gpr_time_sub(end_time, start_time); in test_request()
Dretry_server_pushback_delay.cc245 gpr_timespec retry_delay = gpr_time_sub(after_retry, before_retry); in test_retry_server_pushback_delay()
/external/grpc-grpc/test/core/end2end/
Dbad_server_response_test.cc245 gpr_time_sub(deadline, gpr_now(GPR_CLOCK_REALTIME)); in actually_poll_server()
/external/grpc-grpc/test/core/security/
Djson_token_test.cc323 parsed_lifetime = gpr_time_sub(expiration, issue_time); in check_jwt_claim()

12