Function glib::real_time

source ·
pub fn real_time() -> i64
Expand description

Queries the system wall-clock time.

This call is functionally equivalent to g_get_current_time() except that the return value is often more convenient than dealing with a #GTimeVal.

You should only use this call if you are actually interested in the real wall-clock time. g_get_monotonic_time() is probably more useful for measuring intervals.

§Returns

the number of microseconds since January 1, 1970 UTC.