pub fn transform(&self) -> Transform {
        Transform {
            monotonic_offset: self.monotonic.into_nanos(),
            synthetic_offset: (self.reference_utc + f64_to_duration(self.estimate_0)).into_nanos(),
            // TODO(jsankey): Accommodate an oscillator frequency error when implementing the
            // frequency correction algorithm.
            rate_adjust_ppm: 0,
            error_bound_at_offset: ERROR_BOUND_FACTOR as u64 * self.covariance_00.sqrt() as u64,
            error_bound_growth_ppm: ERROR_BOUND_FACTOR * OSCILLATOR_ERROR_STD_DEV_PPM as u32,
        }
    }
/// Returns a `Transform` describing the estimated synthetic time and error as a function
/// of the monotonic time.
Returns a `Transform` describing the estimated synthetic time and error as a function
of the monotonic time.
Returns a ` Transform ` describing the estimated synthetic time and error as a function of the monotonic time .
pub fn transform(&self) -> Transform {
        Transform {
            monotonic_offset: self.monotonic.into_nanos(),
            synthetic_offset: (self.reference_utc + f64_to_duration(self.estimate_0)).into_nanos(),
            // TODO(jsankey): Accommodate an oscillator frequency error when implementing the
            // frequency correction algorithm.
            rate_adjust_ppm: 0,
            error_bound_at_offset: ERROR_BOUND_FACTOR as u64 * self.covariance_00.sqrt() as u64,
            error_bound_growth_ppm: ERROR_BOUND_FACTOR * OSCILLATOR_ERROR_STD_DEV_PPM as u32,
        }
    }
pub fn transform ( & self ) -> Transform { Transform { monotonic_offset : self . monotonic . into_nanos ( ) , synthetic_offset : ( self . reference_utc + f64_to_duration ( self . estimate_0 ) ) . into_nanos ( ) , // TODO(jsankey): Accommodate an oscillator frequency error when implementing the // frequency correction algorithm. rate_adjust_ppm : 0 , error_bound_at_offset : ERROR_BOUND_FACTOR as u64 * self . covariance_00 . sqrt ( ) as u64 , error_bound_growth_ppm : ERROR_BOUND_FACTOR * OSCILLATOR_ERROR_STD_DEV_PPM as u32 , } }
Returns a `Transform` describing the estimated synthetic time and error as a function
of the monotonic time.
Returns a ` Transform ` describing the estimated synthetic time and error as a function of the monotonic time .
&self
&self