Re: [Xen-devel] xen/pcifront: Use monotonic clock

2015-08-12 Thread Abhilash Jindal
Oops. Thank you. On Sat, Aug 8, 2015 at 10:16 PM, Boris Ostrovsky wrote: > On 08/08/2015 09:36 PM, Abhilash Jindal wrote: > >> Wall time obtained from do_gettimeofday is susceptible to sudden jumps >> due to user setting the time or due to NTP. >> >> Monotonic time is constantly increasing time

Re: [Xen-devel] xen/pcifront: Use monotonic clock

2015-08-08 Thread Boris Ostrovsky
On 08/08/2015 09:36 PM, Abhilash Jindal wrote: Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to user setting the time or due to NTP. Monotonic time is constantly increasing time better suited for comparing two timestamps. See commit e1d5bbcdc7ca08d8731f5d780f0de