Go to the documentation of this file.
19 #ifndef GRPCPP_SUPPORT_TIME_H
20 #define GRPCPP_SUPPORT_TIME_H
69 const std::chrono::high_resolution_clock::time_point& from,
78 TimePoint(
const std::chrono::system_clock::time_point& time) {
89 #endif // GRPCPP_SUPPORT_TIME_H
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
TimePoint(const std::chrono::system_clock::time_point &time)
Definition: time.h:78
gpr_timespec raw_time() const
Definition: time.h:81
TimePoint(const gpr_timespec &time)
Definition: time.h:54
gpr_timespec raw_time()=delete
Definition: async_unary_call.h:407
void Timepoint2Timespec(const std::chrono::system_clock::time_point &from, gpr_timespec *to)
void TimepointHR2Timespec(const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
gpr_timespec raw_time()
Definition: time.h:55
TimePoint(const T &)=delete
Analogous to struct timespec.
Definition: time.h:48
std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t)
If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec ...
Definition: time.h:40