34 #ifndef GRPCXX_IMPL_CODEGEN_TIME_H 35 #define GRPCXX_IMPL_CODEGEN_TIME_H 56 TimePoint(
const T& time) { you_need_a_specialization_of_TimePoint(); }
63 void you_need_a_specialization_of_TimePoint();
78 #ifndef GRPC_CXX0X_NO_CHRONO 90 const std::chrono::high_resolution_clock::time_point& from,
96 class TimePoint<std::chrono::system_clock::time_point> {
98 TimePoint(
const std::chrono::system_clock::time_point& time) {
109 #endif // !GRPC_CXX0X_NO_CHRONO 111 #endif // GRPCXX_IMPL_CODEGEN_TIME_H void TimepointHR2Timespec(const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
gpr_timespec raw_time()
Definition: time.h:57
TimePoint(const gpr_timespec &time)
Definition: time.h:69
TimePoint(const std::chrono::system_clock::time_point &time)
Definition: time.h:98
void Timepoint2Timespec(const std::chrono::system_clock::time_point &from, gpr_timespec *to)
TimePoint(const T &time)
Definition: time.h:56
gpr_timespec raw_time()
Definition: time.h:70
gpr_timespec raw_time() const
Definition: time.h:101
std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t)