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();
88 const std::chrono::high_resolution_clock::time_point& from,
94 class TimePoint<std::chrono::system_clock::time_point> {
96 TimePoint(
const std::chrono::system_clock::time_point& time) {
107 #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:96
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:99
Definition: gpr_types.h:63
std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t)