getTime

fun getTime(): Long

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.

Return

the monotonic time in microseconds

Since

2.28