get_time


Description:

[ Version ( since = "2.28" ) ]
public int64 get_time ()

Gets the time to be used when checking this source.

The advantage of calling this function over calling [func@GLib.get_monotonic_time] directly is that when checking multiple sources, GLib can cache a single value instead of having to repeatedly get the system monotonic time.

The time here is the system monotonic time, if available, or some other reasonable alternative otherwise. See [func@GLib.get_monotonic_time].

Parameters:

this

a source

Returns:

the monotonic time in microseconds