Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
Mads::HostSkewStat Struct Reference

Snapshot of one host's passive clock skew, as computed by HostSkewStats::snapshot() at a given instant. More...

#include <clock_offset.hpp>

Public Attributes

std::string host
 
int64_t min_skew_us = 0
 
bool has_value = false
 
size_t samples = 0
 
std::chrono::steady_clock::time_point last_seen {}
 

Detailed Description

Snapshot of one host's passive clock skew, as computed by HostSkewStats::snapshot() at a given instant.

Definition at line 179 of file clock_offset.hpp.

Member Data Documentation

◆ has_value

bool Mads::HostSkewStat::has_value = false

Definition at line 185 of file clock_offset.hpp.

◆ host

std::string Mads::HostSkewStat::host

Definition at line 180 of file clock_offset.hpp.

◆ last_seen

std::chrono::steady_clock::time_point Mads::HostSkewStat::last_seen {}

Definition at line 187 of file clock_offset.hpp.

◆ min_skew_us

int64_t Mads::HostSkewStat::min_skew_us = 0

Minimum of (local_rx_time_us - payload_timestamp_us) observed within the trailing window – a tight upper bound on (offset + one-way delay), never a clean offset on its own (see HostSkewStats).

Definition at line 184 of file clock_offset.hpp.

◆ samples

size_t Mads::HostSkewStat::samples = 0

Definition at line 186 of file clock_offset.hpp.


The documentation for this struct was generated from the following file: