add_observation_unapplied


Description:

[ Version ( since = "1.6" ) ]
public bool add_observation_unapplied (ClockTime slave, ClockTime master, out double r_squared, out ClockTime @internal, out ClockTime external, out ClockTime rate_num, out ClockTime rate_denom)

Add a clock observation to the internal slaving algorithm the same as add_observation, and return the result of the master clock estimation, without updating the internal calibration.

The caller can then take the results and call set_calibration with the values, or some modified version of them.

Parameters:

this

a Clock

slave

a time on the slave

master

a time on the master

r_squared

a pointer to hold the result

external

a location to store the external time

rate_num

a location to store the rate numerator

rate_denom

a location to store the rate denominator

internal

a location to store the internal time

Returns:

true if enough observations were added to run the regression algorithm.




2022 vala-language.org