Chirag Jog wrote: > The clock source used in the gtod_infinite test > should be CLOCK_MONOTONIC instead of CLOCK_REALTIME. > This is to avoid plausible inconsistencies caused by > NTP time adjustments. > > Tested: running gtod_infinite and then killing it. > > Signed-Off-By: Chirag <[EMAIL PROTECTED]>
Thank you Chirag, I don't have any idea how this made it in! Weird. Acked-by: Darren Hart <[EMAIL PROTECTED]> > > Index: ltp/testcases/realtime/func/gtod_latency/gtod_infinite.c > =================================================================== > --- ltp.orig/testcases/realtime/func/gtod_latency/gtod_infinite.c > +++ ltp/testcases/realtime/func/gtod_latency/gtod_infinite.c > @@ -55,8 +55,7 @@ > #include <libjvmsim.h> > #include <sys/mman.h> > > -/* #define CLOCK_TO_USE CLOCK_MONOTONIC */ > -#define CLOCK_TO_USE CLOCK_REALTIME > +#define CLOCK_TO_USE CLOCK_MONOTONIC > > #define START_MAX 3000 > #define REPORT_MIN 1000000 > -- Darren Hart IBM Linux Technology Center Real-Time Linux Team ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
