get_monotonic_time
Description:
Queries the system monotonic time in microseconds.
The monotonic clock will always increase and doesn’t suffer discontinuities when the user (or NTP) changes the system time. It may or may not continue to tick during times where the machine is suspended.
We try to use the clock that corresponds as closely as possible to the passage of time as measured by system calls such as [`poll()`](man:poll( 2)) but it may not always be possible to do this.
A more accurate version of this function exists. [func@GLib.get_monotonic_time_ns] returns the time in nanoseconds.
Returns:
|
the monotonic time, in microseconds |
Namespace: GLib
Package: glib-2.0