[PATCH wayland] debug: add timestamps when logging

Corentin Chary corentin.chary at gmail.com
Mon Jul 18 04:17:32 PDT 2011


On Mon, Jul 18, 2011 at 10:22 AM, Tiago Vignatti
<tiago.vignatti at linux.intel.com> wrote:
> On 07/18/2011 11:01 AM, laszlo.p.agocs at nokia.com wrote:
>>
>> Doesn't clock_gettime need -lrt? Otherwise (on Ubuntu at least) the linker
>> will complain about an undefined reference in libwayland-client.so when
>> building wayland apps.
>>
>
> some other dependency in the demo clients and compositor is already linking
> this library. But indeed the link has to come in the Wayland library side,
> so you are right.
>
>    Tiago

And maybe CLOCK_REALTIME_COARSE would be better ?
(https://lwn.net/Articles/347811/)
-- 
Corentin Chary
http://xf.iksaif.net


More information about the wayland-devel mailing list