<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thanks for this.<br>
<br>
I've just realized that using 32 bits ints won't be sufficient.<br>
<br>
Is there a way in the protocol to have requests with 64 bits int
args, and callback with 64 bits int args too?<br>
<br>
Axel Davy<br>
<br>
Jiergir Ogoerg wrote :<br>
</div>
<blockquote
cite="mid:CAJbVpmw9AefEW=Lb0d=r7C3vn2tAoDHE_Q6HV9u49DKNXd=8Sw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Just a reminder on how clocks differ (on LInux) from one
another, taken from here:<br>
<a moz-do-not-send="true"
href="http://www.spinics.net/lists/linux-man/msg00973.html">http://www.spinics.net/lists/linux-man/msg00973.html</a><br>
</div>
Needless to say, gettimeofday() should be avoided.<br>
<div>
<div><br>
<pre style="margin:0em">CLOCK_REALTIME
- can jump
- can slew
</pre>
<tt>- if ntp is running this clock is always kept close to
GMT. even if </tt><tt>hardware is not 100% correct, ntp
will correct everything over time.<br>
<br>
</tt>
<pre style="margin:0em">CLOCK_MONOTONIC
- cannot jump
- can slew !!! (because of ntp)
</pre>
<tt>- it is not kept in sync with GMT. but the "speed" of
seconds is kept in </tt><tt>sync with GMT by varying it
constantly by ntp.<br>
<br>
</tt>
<pre style="margin:0em">CLOCK_MONOTONIC_RAW
- cannot jump
- cannot slew !
</pre>
<tt>- the speed of seconds is not the same as the speed of
GMT seconds since </tt><tt>the hardware timer is never
100% exact and ntp daemon does NOT have </tt><tt>influence
here
</tt><br>
<br>
<br>
<br>
--------------------<br>
/**<br>
<pre>*Just one question. Which clock is being used. Ideally a monotony one, or
*even better, a configurable one. We would normally not want these
*timestamps affected by the user changing the system time.</pre>
**/<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
wayland-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>