clk: timestamps

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Wed Jun 27 16:50:47 EDT 2018


On Tue, 26 Jun 2018 19:44:21 +0530, Subhashini Rao Beerisetty said:

> I’ve N number of Linux machines in the network with the same software
> running. Basically I need to collect the timestamps in kernel mode in all
> the machines and then compare, which(either CLOCK_REALTIME or
> CLOCK_MONOTIC_RAW or MONOTONIC) one would be the correct way?

That depends a lot on what question you're trying to answer by
comparing timestamps.  Read up on the behavior of all three (as
they have different semantics), and see which one is the best fit
for your specific problem.



More information about the Kernelnewbies mailing list