On Sun, 1 Jul 2007, Denis Vlasenko wrote:

> Hi Cristian,

Denis,

> On Sunday 01 July 2007 21:12, Cristian Ionescu-Idbohrn wrote:
> > config MONOTONIC_SYSCALL
> >         bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
> >         default y
> >         help
> >           Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
> >           time intervals (time, ping, traceroute etc need this).
> >           Probably requires Linux 2.6+. If not selected, gettimeofday
> >           will be used instead (which gives wrong results if date/time
> >           is reset).
> >
> > Looks like both linux and libc are involved. On my debian unstable box:
> >
> > # find /usr/include -type f | sort | xargs egrep CLOCK_MONOTONIC | sort
> > /usr/include/bits/time.h:#   define CLOCK_MONOTONIC       1
> > /usr/include/diet/time.h:#define CLOCK_MONOTONIC          1
> > /usr/include/diet/time.h:#define CLOCK_MONOTONIC_HR       5
> > /usr/include/linux/time.h:#define CLOCKS_MASK             (CLOCK_REALTIME | 
> > CLOCK_MONOTONIC)
> > /usr/include/linux/time.h:#define CLOCKS_MONO             CLOCK_MONOTONIC
> > /usr/include/linux/time.h:#define CLOCK_MONOTONIC         1
> >
> > # find /usr/include -type f | sort | xargs egrep -l CLOCK_MONOTONIC | sort
> > /usr/include/bits/time.h
> > /usr/include/diet/time.h
> > /usr/include/linux/time.h
> >
> > # dpkg -S usr/include/bits/time.h
> > libc6-dev: /usr/include/bits/time.h
> >
> > # dpkg -S usr/include/diet/time.h
> > dietlibc-dev: /usr/include/diet/time.h
> >
> > # dpkg -S usr/include/linux/time.h
> > linux-kernel-headers: /usr/include/linux/time.h
> >
> > uclibc-0.9.28 supports it but uclibc-0.9.27 doesn't.
>
> Looks like a set of purely informative statements to me.

Yes. Make the question: why does this bite me? obsolete.

> Can you explain what do you proposing / complaining about / whatever?

See above.


Cheers,

-- 
Cristian
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to