/third_party/grpc/src/core/lib/gpr/ |
D | time.cc | 167 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()
|
D | time_precise.cc | 67 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()
|
D | time_windows.cc | 90 delta = gpr_time_sub(until, now); in gpr_sleep_until()
|
D | time_posix.cc | 177 delta = gpr_time_sub(until, now); in gpr_sleep_until()
|
/third_party/grpc/src/core/lib/iomgr/executor/ |
D | mpmcqueue.cc | 37 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/ |
D | time_jump_test.cc | 122 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/ |
D | time_test.cc | 142 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()
|
D | spinlock_test.cc | 117 time_taken = gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start); in test()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | exec_ctx.cc | 66 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()
|
D | iomgr.cc | 103 gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), last_warning_time), in grpc_iomgr_shutdown()
|
/third_party/grpc/src/core/lib/transport/ |
D | bdp_estimator.cc | 44 gpr_timespec dt_ts = gpr_time_sub(now, ping_start_time_); in CompletePing()
|
/third_party/grpc/include/grpc/support/ |
D | time.h | 65 GPRAPI gpr_timespec gpr_time_sub(gpr_timespec a, gpr_timespec b);
|
/third_party/grpc/test/cpp/microbenchmarks/ |
D | bm_fullstack_trickle.cc | 133 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/ |
D | metrics_server.cc | 48 gpr_time_sub(gpr_now(GPR_CLOCK_REALTIME), start_time_); in Get()
|
/third_party/grpc/test/core/util/ |
D | reconnect_server.cc | 41 diff = gpr_time_sub(head->next->timestamp, head->timestamp); in pretty_print_backoffs()
|
D | trickle_endpoint.cc | 182 double elapsed = ts2dbl(gpr_time_sub(now, te->last_write)); in grpc_trickle_endpoint_trickle()
|
/third_party/grpc/test/cpp/interop/ |
D | reconnect_interop_server.cc | 131 gpr_time_sub(cur->next->timestamp, cur->timestamp)); in Verify()
|
/third_party/grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_credentials.cc | 74 gpr_time_sub(cached_.jwt_expiration, gpr_now(GPR_CLOCK_REALTIME)), in get_request_metadata()
|
/third_party/grpc/ |
D | grpc.def | 263 gpr_time_sub
|
/third_party/grpc/test/core/iomgr/ |
D | timer_list_test.cc | 243 gpr_time_sub(gpr_now(gpr_clock_type::GPR_CLOCK_MONOTONIC), in main()
|
/third_party/grpc/src/php/ext/grpc/ |
D | timeval.c | 131 grpc_php_wrap_timeval(gpr_time_sub(self->wrapped, other->wrapped) in PHP_METHOD()
|
/third_party/grpc/test/core/end2end/tests/ |
D | filter_latency.cc | 228 const gpr_timespec max_latency = gpr_time_sub(end_time, start_time); in test_request()
|
/third_party/grpc/test/core/surface/ |
D | public_headers_must_be_c89.c | 329 printf("%lx", (unsigned long) gpr_time_sub); in main()
|
/third_party/grpc/test/cpp/end2end/ |
D | time_change_test.cc | 115 EXPECT_DEATH(gpr_time_sub(now, bad_ts), ".*"); in TEST()
|
/third_party/grpc/test/core/end2end/ |
D | bad_server_response_test.cc | 248 gpr_time_sub(deadline, gpr_now(GPR_CLOCK_REALTIME)); in actually_poll_server()
|