unadjust_with_calibration


Description:

[ Version ( since = "1.8" ) ]
public ClockTime unadjust_with_calibration (ClockTime external_target, ClockTime cinternal, ClockTime cexternal, ClockTime cnum, ClockTime cdenom)

Converts the given external_target clock time to the internal time, using the passed calibration parameters.

This function performs the same calculation as unadjust_unlocked when called using the current calibration parameters.

Note: The this parameter is unused and can be NULL

Parameters:

this

a Clock to use

external_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