Re: [PATCH] usbtest: Use boottime

2015-08-14 Thread Greg KH
On Tue, Aug 11, 2015 at 03:24:04PM -0400, Abhilash Jindal wrote: > Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to > user setting the time or due to NTP. Boot time is constantly increasing time > better suited for comparing two timestamps. > > Signed-off-by: Abhilash

[PATCH] usbtest: Use boottime

2015-08-11 Thread Abhilash Jindal
Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to user setting the time or due to NTP. Boot time is constantly increasing time better suited for comparing two timestamps. Signed-off-by: Abhilash Jindal --- drivers/usb/misc/usbtest.c | 14 -- 1 file chan

Re: [PATCH] usbtest: Use boottime

2015-08-11 Thread Felipe Balbi
On Tue, Aug 11, 2015 at 11:57:15AM -0400, Abhilash Jindal wrote: > Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to > user setting the time or due to NTP. Boot time is constantly increasing time > better suited for comparing two timestamps. > > Signed-off-by: Abhilash

Re: [PATCH] usbtest: Use boottime

2015-08-11 Thread Sergei Shtylyov
Hello. On 08/11/2015 06:57 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. Boot time is constantly increasing time better suited for comparing two timestamps. Signed-off-by: Abhilash Jindal ---

[PATCH] usbtest: Use boottime

2015-08-11 Thread Abhilash Jindal
Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to user setting the time or due to NTP. Boot time is constantly increasing time better suited for comparing two timestamps. Signed-off-by: Abhilash Jindal --- drivers/usb/misc/usbtest.c | 15 +-- 1 file cha