Home
last modified time | relevance | path

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

12

/third_party/grpc/src/core/lib/gpr/
Dtime.cc167 gpr_timespec gpr_time_sub(gpr_timespec a, gpr_timespec b) { in gpr_time_sub() function
213 return gpr_time_cmp(gpr_time_sub(b, a), threshold) <= 0; in gpr_time_similar()
215 return gpr_time_cmp(gpr_time_sub(a, b), threshold) <= 0; in gpr_time_similar()
250 return gpr_time_sub(t, gpr_now(t.clock_type)); in gpr_convert_clock_type()
262 gpr_time_sub(t, gpr_now(t.clock_type))); in gpr_convert_clock_type()
Dtime_precise.cc67 gpr_timespec delta = gpr_time_sub(now, start); in is_fake_clock()
101 gpr_timespec delta = gpr_time_sub(now, start); in gpr_precise_clock_init()
164 return gpr_time_sub(gpr_cycle_counter_to_time(a), in gpr_cycle_counter_sub()
Dtime_windows.cc90 delta = gpr_time_sub(until, now); in gpr_sleep_until()
Dtime_posix.cc177 delta = gpr_time_sub(until, now); in gpr_sleep_until()
/third_party/grpc/src/core/lib/iomgr/executor/
Dmpmcqueue.cc37 gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), queue_head_->insert_time); in PopFront()
46 gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), busy_time)); in PopFront()
161 *wait_time = gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), start_time); in Get()
/third_party/grpc/test/cpp/common/
Dtime_jump_test.cc122 int32_t elapsed_ms = gpr_time_to_millis(gpr_time_sub(after, before)); in TEST_P()
127 gpr_time_similar(gpr_time_sub(after, before), in TEST_P()
/third_party/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()
/third_party/grpc/src/core/lib/iomgr/
Dexec_ctx.cc66 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()
Diomgr.cc103 gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), last_warning_time), in grpc_iomgr_shutdown()
/third_party/grpc/src/core/lib/transport/
Dbdp_estimator.cc44 gpr_timespec dt_ts = gpr_time_sub(now, ping_start_time_); in CompletePing()
/third_party/grpc/include/grpc/support/
Dtime.h65 GPRAPI gpr_timespec gpr_time_sub(gpr_timespec a, gpr_timespec b);
/third_party/grpc/test/cpp/microbenchmarks/
Dbm_fullstack_trickle.cc133 auto now = gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), start_); in Log()
310 if (gpr_time_cmp(gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), warmup_start), in BM_PumpStreamServerToClient_Trickle()
423 if (gpr_time_cmp(gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), warmup_start), in BM_PumpUnbalancedUnary_Trickle()
/third_party/grpc/test/cpp/util/
Dmetrics_server.cc48 gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start_time_); in Get()
/third_party/grpc/test/core/util/
Dreconnect_server.cc41 diff = gpr_time_sub(head->next->timestamp, head->timestamp); in pretty_print_backoffs()
Dtrickle_endpoint.cc182 double elapsed = ts2dbl(gpr_time_sub(now, te->last_write)); in grpc_trickle_endpoint_trickle()
/third_party/grpc/test/cpp/interop/
Dreconnect_interop_server.cc131 gpr_time_sub(cur->next->timestamp, cur->timestamp)); in Verify()
/third_party/grpc/src/core/lib/security/credentials/jwt/
Djwt_credentials.cc74 gpr_time_sub(cached_.jwt_expiration, gpr_now(GPR_CLOCK_REALTIME)), in get_request_metadata()
/third_party/grpc/
Dgrpc.def263 gpr_time_sub
/third_party/grpc/test/core/iomgr/
Dtimer_list_test.cc243 gpr_time_sub(gpr_now(gpr_clock_type::GPR_CLOCK_MONOTONIC), in main()
/third_party/grpc/src/php/ext/grpc/
Dtimeval.c131 grpc_php_wrap_timeval(gpr_time_sub(self->wrapped, other->wrapped) in PHP_METHOD()
/third_party/grpc/test/core/end2end/tests/
Dfilter_latency.cc228 const gpr_timespec max_latency = gpr_time_sub(end_time, start_time); in test_request()
/third_party/grpc/test/core/surface/
Dpublic_headers_must_be_c89.c329 printf("%lx", (unsigned long) gpr_time_sub); in main()
/third_party/grpc/test/cpp/end2end/
Dtime_change_test.cc115 EXPECT_DEATH(gpr_time_sub(now, bad_ts), ".*"); in TEST()
/third_party/grpc/test/core/end2end/
Dbad_server_response_test.cc248 gpr_time_sub(deadline, gpr_now(GPR_CLOCK_REALTIME)); in actually_poll_server()

12