[ntp:questions] API for step time server notification

Garrett Wollman wollman at bimajority.org
Mon Jul 26 17:57:53 UTC 2010


In article <77964baf-7245-459d-9a8f-b0349cebee1f at i28g2000yqa.googlegroups.com>,
Thierry MARTIN  <thierry-martin at ifrance.com> wrote:
>Unfortunately, watching the logs does not fit my need.
>I will try and explain what are my constraints.
>
>My program is doing network packet acquisition on several links and
>needs to sort them - based on the timestamps.
>Also, many network measurements are very badly affected by time
>stepping forward or backward.

You need to be using CLOCK_MONOTONIC, not CLOCK_REALTIME.

-GAWollman

-- 
Garrett A. Wollman    | What intellectual phenomenon can be older, or more oft
wollman at bimajority.org| repeated, than the story of a large research program
Opinions not shared by| that impaled itself upon a false central assumption
my employers.         | accepted by all practitioners? - S.J. Gould, 1993




More information about the questions mailing list