GTimeVal

Represents a precise time, with seconds and microseconds.

Similar to the struct timeval returned by the gettimeofday() UNIX system call.

GLib is attempting to unify around the use of 64-bit integers to represent microsecond-precision time. As such, this type will be removed from a future version of GLib. A consequence of using glong for tv_sec is that on 32-bit systems glib.time_val.TimeVal is subject to the year 2038 problem.

More...
struct GTimeVal {}

Members

Variables

tvSec
glong tvSec;

seconds

tvUsec
glong tvUsec;

microseconds

Detailed Description

Deprecated: Use #GDateTime or #guint64 instead.