Source.getCurrentTime

Warning g_source_get_current_time has been deprecated since version 2.28 and should not be used in newly-written code. use g_source_get_time() instead Gets the "current time" to be used when checking this source. The advantage of calling this function over calling g_get_current_time() directly is that when checking multiple sources, GLib can cache a single value instead of having to repeatedly get the system time.

class Source
void
getCurrentTime

Parameters

timeval TimeVal

GTimeVal structure in which to store current time.

Meta