Displaying 2 results from an estimated 2 matches for "clock_getttim".
Did you mean:
clock_getttime
2012 Feb 27
0
Re: [Qemu-devel] [PATCH 2/2] build: replace librt check function
...34 +0000, Roger Pau Monné wrote:
> > 2012/2/22 Anthony Liguori <anthony@codemonkey.ws>:
> > > On 02/20/2012 06:11 AM, Roger Pau Monne wrote:
> > >>
> > >> Replace clock_gettime with timer_gettime, since at least under
> > >> uclibc 0.9.33 the clock_getttime function can be used without linking
> > >> against librt (although the manual page states the opposite).
> > >>
> > >> Signed-off-by: Roger Pau Monne<roger.pau@entel.upc.edu>
> > >
> > >
> > > I don''t think this is agai...
2013 Aug 03
2
Call for testing: OpenSSH-6.3
...CLOCK_MONOTONIC? Darren, perhaps we should
>> wrap clock_gettime and have a fallback for platforms that lack this?
> I thought we did. We check for clock_gettime in configure, and misc.c has:
>
> #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC)
> [...] clock_getttime [...]
> #else
> return time(NULL);
> #endif
>
> So the fact that it compiled means that CLOCK_MONOTONIC is in the
> headers, but the fact that it failed at runtime indicates that it's
> not actually implemented.
>
> Kevin, could you please try this test prog...