GRPC C++  1.66.0
Data Structures | Namespaces | Functions
time.h File Reference
#include <chrono>
#include <grpc/impl/grpc_types.h>
#include <grpcpp/support/config.h>

Go to the source code of this file.

Data Structures

class  grpc::TimePoint< T >
 If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec or std::chrono::system_clock::time_point, you will most likely be looking at this comment as your compiler will have fired an error below. More...
 
class  grpc::TimePoint< gpr_timespec >
 
class  grpc::TimePoint< std::chrono::system_clock::time_point >
 

Namespaces

 grpc
 An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided function on expiry or cancellation.
 

Functions

void grpc::Timepoint2Timespec (const std::chrono::system_clock::time_point &from, gpr_timespec *to)
 
void grpc::TimepointHR2Timespec (const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
 
std::chrono::system_clock::time_point grpc::Timespec2Timepoint (gpr_timespec t)