Re: [PATCH weston 12/12] libweston: Use struct timespec for compositor time

2017-11-24 Thread Pekka Paalanen
On Thu, 16 Nov 2017 18:21:01 +0200 Alexandros Frantzis wrote: > Change weston_compositor_get_time to return the current compositor time > as a struct timespec. Also, use clock_gettime (with CLOCK_REALTIME) to > get the time, since it's equivalent to the currently used gettimeofday > call, but ret

[PATCH weston 12/12] libweston: Use struct timespec for compositor time

2017-11-16 Thread Alexandros Frantzis
Change weston_compositor_get_time to return the current compositor time as a struct timespec. Also, use clock_gettime (with CLOCK_REALTIME) to get the time, since it's equivalent to the currently used gettimeofday call, but returns the data directly in a struct timespec. This commit is part of a l