MCPcopy Create free account
hub / github.com/aws/clock-bound / ClockSyncAlgorithm

Class ClockSyncAlgorithm

clock-bound/src/daemon/clock_sync_algorithm.rs:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 ///
40 /// This includes both standalone NTP sources and pool-resolved sources.
41 /// Pool sources are distinguished by having `pool_domain` set on the [`source::NtpSource`].
42 #[builder(default)]
43 ntp_sources: Vec<source::NtpSource>,
44 /// The PHC device
45 ///
46 /// Optional since not every instance supports this
47 phc: Option<source::Phc>,
48 /// Shared reference to the current selected clock source
49 selected_clock: Arc<SelectedClockSource>,
50 /// Selector. Chooses the best clock source
51 selector: Selector,
52 /// Monotonically increasing sequence number for ffevents log entries.
53 ///
54 /// Assigned to the `init` event (starting at zero) and incremented by one
55 /// for every subsequent `feed` or `disruption` event.
56 #[builder(default)]
57 seq: u64,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected