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

Method clock_parameters

clock-bound/src/daemon/clock_sync_algorithm/ff/ntp.rs:192–194  ·  view source on GitHub ↗

Get the current [`ClockParameters`]

(&self)

Source from the content-addressed store, hash-verified

190 {
191 // We currently have clock_parameters, and the new value is more accurate. Replace it.
192 tracing::debug!(?clock_parameters, "Clock Parameters updated.");
193 *current_clock_parameters = clock_parameters;
194 self.clock_parameters.as_ref()
195 }
196 Some(current_clock_parameters) => {
197 // We currently have clock_parameters, and the new value is NOT more accurate. Ignore and return None.

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected