adjust_unlocked


Description:

public ClockTime adjust_unlocked (ClockTime @internal)

Converts the given internal clock time to the external time, adjusting for the rate and reference time set with set_calibration and making sure that the returned time is increasing.

This function should be called with the clock's OBJECT_LOCK held and is mainly used by clock subclasses.

This function is the reverse of unadjust_unlocked.

Parameters:

this

a Clock to use

internal

a clock time

Returns:

the converted time of the clock.




2022 vala-language.org