get_real_time


Description:

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

Queries the system wall-clock time.

This call is functionally equivalent to TimeVal except that the return value is often more convenient than dealing with a TimeVal.

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

Returns:

the number of microseconds since January 1, 1970 UTC.


Namespace: GLib
Package: glib-2.0