TimeVal to_timeval (int64 timestamp)
TimeVal to_timeval (int64 timestamp)
Write a Zeitgeist timestamp to a GLib.TimeVal instance. Note that Zeitgeist uses only a millisecond resolution, whereas
GLib.TimeVal has microsecond resolution. This means that the lower three digits of @tv.tv_usec will always be 0.
| timestamp | to convert |
the equivalent GLib.TimeVal instance. |