Source.getTime

long getTime()

Gets the time to be used when checking this source. The advantage of calling this function over calling glib.global.getMonotonicTime 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 glib.global.getMonotonicTime.

Returns

the monotonic time in microseconds