TimeVal
class TimeVal(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null) : ProxyInstance
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 GTimeVal
is subject to the year 2038 problem.
Constructors
Link copied to clipboard
constructor()
Allocate a new TimeVal.
constructor(scope: <Error class: unknown class>)
Allocate a new TimeVal using the provided AutofreeScope.
constructor(tvSec: <Error class: unknown class>, tvUsec: <Error class: unknown class>)
Allocate a new TimeVal.
constructor(tvSec: <Error class: unknown class>, tvUsec: <Error class: unknown class>, scope: <Error class: unknown class>)
Allocate a new TimeVal using the provided AutofreeScope.
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)