ark::time::NtpTimePair
Defined in header “ark/time/ntp_packet.hh”.
Represents an NTP time pair (the original request time, and the receive time on the server side).
Methods
- std::chrono::nanoseconds cycle_delay()
Cycle delay delay from the time we made the request to the time we got the response.
Variables
-
std::chrono::steady_clock::time_point request_time{}
The time the client sent a request. -
std::chrono::steady_clock::time_point receive_time{}
The timestamp the client received this request. -
std::chrono::steady_clock::time_point server_time{}
The server timestamp (occurred somewhere between the two).