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

Method midpoint

clock-bound/src/daemon/time/inner.rs:131–133  ·  view source on GitHub ↗
(&self, other: Self)

Source from the content-addressed store, hash-verified

129 /// Get the midpoint between 2 instants
130 #[must_use]
131 pub const fn midpoint(&self, other: Self) -> Self {
132 Self::new(self.instant.midpoint(other.instant))
133 }
134}
135
136impl<T: Type> From<i128> for Time<T> {

Callers 15

tsc_midpointMethod · 0.80
nowMethod · 0.80
updateFunction · 0.80
feed_two_eventsFunction · 0.80
get_offset_and_rttMethod · 0.80
midpointFunction · 0.80
calculate_offsetFunction · 0.80
calculate_periodMethod · 0.80
calculate_offsetMethod · 0.80

Calls 1

newFunction · 0.50