Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CODEGEN_TIME_H
20 #define GRPCPP_IMPL_CODEGEN_TIME_H
71 const std::chrono::high_resolution_clock::time_point& from,
80 TimePoint(
const std::chrono::system_clock::time_point& time) {
91 #endif // GRPCPP_IMPL_CODEGEN_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:80
gpr_timespec raw_time() const
Definition: time.h:83
TimePoint(const gpr_timespec &time)
Definition: time.h:56
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:57
TimePoint(const T &)=delete
Analogous to struct timespec.
Definition: gpr_types.h:50
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:42