34 #ifndef GRPCXX_IMPL_CODEGEN_TIME_H
35 #define GRPCXX_IMPL_CODEGEN_TIME_H
55 TimePoint(
const T& time) { you_need_a_specialization_of_TimePoint(); }
62 void you_need_a_specialization_of_TimePoint();
87 const std::chrono::high_resolution_clock::time_point& from,
93 class TimePoint<std::chrono::system_clock::time_point> {
95 TimePoint(
const std::chrono::system_clock::time_point& time) {
106 #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:56
If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec ...
Definition: time.h:53
TimePoint(const gpr_timespec &time)
Definition: time.h:68
TimePoint(const std::chrono::system_clock::time_point &time)
Definition: time.h:95
void Timepoint2Timespec(const std::chrono::system_clock::time_point &from, gpr_timespec *to)
TimePoint(const T &time)
Definition: time.h:55
gpr_timespec raw_time()
Definition: time.h:69
gpr_timespec raw_time() const
Definition: time.h:98
Analogous to struct timespec.
Definition: gpr_types.h:62
std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t)