Home
last modified time | relevance | path

Searched refs:GPR_NS_PER_MS (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/src/core/lib/transport/
Dtimeout_encoding.cc121 *timeout = x / GPR_NS_PER_MS + (x % GPR_NS_PER_MS != 0); in grpc_http2_decode_timeout()
/external/grpc-grpc/src/core/lib/iomgr/
Dexec_ctx.cc59 static_cast<double>(ts.tv_nsec) / GPR_NS_PER_MS; in timespec_to_millis_round_down()
68 static_cast<double>(ts.tv_nsec) / GPR_NS_PER_MS + in timespec_to_millis_round_up()
/external/grpc-grpc/test/core/transport/
Dtimeout_encoding_test.cc106 return static_cast<grpc_millis>(x / GPR_NS_PER_MS + (x % GPR_NS_PER_MS != 0)); in millis_from_nanos()
/external/grpc-grpc/src/core/lib/gpr/
Dtime.cc213 if (t.tv_sec == 2147483 && t.tv_nsec < 648 * GPR_NS_PER_MS) { in gpr_time_to_millis()
214 return 2147483 * GPR_MS_PER_SEC + t.tv_nsec / GPR_NS_PER_MS; in gpr_time_to_millis()
223 t.tv_nsec / GPR_NS_PER_MS); in gpr_time_to_millis()
Dtime_windows.cc92 delta.tv_sec * GPR_MS_PER_SEC + delta.tv_nsec / GPR_NS_PER_MS; in gpr_sleep_until()
/external/grpc-grpc/test/core/gpr/
Dtime_test.cc102 x.tv_nsec == (i % GPR_MS_PER_SEC) * GPR_NS_PER_MS); in test_values()
125 GPR_ASSERT(x.tv_sec * GPR_MS_PER_SEC + x.tv_nsec / GPR_NS_PER_MS == i); in test_values()
/external/grpc-grpc/include/grpc/support/
Dtime.h42 #define GPR_NS_PER_MS 1000000 macro
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dmethod_params.cc80 *duration = seconds * GPR_MS_PER_SEC + nanos / GPR_NS_PER_MS; in ParseDuration()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dload_balancer_api.cc301 (duration_pb->has_nanos ? duration_pb->nanos : 0) / GPR_NS_PER_MS); in grpc_grpclb_duration_to_millis()