In article <77964baf-7245-459d-9a8f-b0349cebe...@i28g2000yqa.googlegroups.com>, Thierry MARTIN <[email protected]> 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 [email protected]| 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 _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
