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

Method clock_parameters

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

Get the current [`ClockParameters`]

(&self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected