![]() |
Mads
Multi-Agent Distributed System
|
One four-timestamp exchange, all fields microseconds since the Unix epoch: t1/t4 read from the initiator's clock, t2/t3 from the responder's. More...
#include <clock_offset.hpp>
Public Attributes | |
| int64_t | t1 = 0 |
| int64_t | t2 = 0 |
| int64_t | t3 = 0 |
| int64_t | t4 = 0 |
| int64_t | local_elapsed_us = 0 |
One four-timestamp exchange, all fields microseconds since the Unix epoch: t1/t4 read from the initiator's clock, t2/t3 from the responder's.
Definition at line 34 of file clock_offset.hpp.
| int64_t Mads::ClockSample::local_elapsed_us = 0 |
t4-t1 as measured on a steady_clock, immune to a wall-clock step landing inside the exchange. 0 means "fall back to t4-t1".
Definition at line 38 of file clock_offset.hpp.
| int64_t Mads::ClockSample::t1 = 0 |
Definition at line 35 of file clock_offset.hpp.
| int64_t Mads::ClockSample::t2 = 0 |
Definition at line 35 of file clock_offset.hpp.
| int64_t Mads::ClockSample::t3 = 0 |
Definition at line 35 of file clock_offset.hpp.
| int64_t Mads::ClockSample::t4 = 0 |
Definition at line 35 of file clock_offset.hpp.