adjust_with_calibration


Description:

[ Version ( since = "1.6" ) ]
public ClockTime adjust_with_calibration (ClockTime internal_target, ClockTime cinternal, ClockTime cexternal, ClockTime cnum, ClockTime cdenom)

Converts the given internal_target clock time to the external time, using the passed calibration parameters.

This function performs the same calculation as adjust_unlocked when called using the current calibration parameters, but doesn't ensure a monotonically increasing result as adjust_unlocked does.

Note: The this parameter is unused and can be NULL

Parameters:

this

a Clock to use

internal_target

a clock time

cinternal

a reference internal time

cexternal

a reference external time

cnum

the numerator of the rate of the clock relative to its internal time

cdenom

the denominator of the rate of the clock

Returns:

the converted time of the clock.




2022 vala-language.org