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

Class NtpSource

clock-bound/src/daemon/clock_sync_algorithm/source/ntp_source.rs:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14/// Wraps around an NTP feed-forward clock-sync algorithm
15#[derive(Debug, Clone, PartialEq)]
16pub struct NtpSource {
17 source_address: SocketAddr,
18 inner: ff::Ntp,
19}
20
21impl NtpSource {
22 const POLL_INTERVAL: Duration = Duration::from_secs(16);

Callers 2

feed_ntp_sourceMethod · 0.85
get_aggregate_streamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected