This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Posix compliant process clock patch for the linux arch in glibc


On Fri, 22 Oct 2004, Andreas Jaeger wrote:

> > Glibc will run on any kernel even with this patch. It just will stop
> > returning results from CLOCK_*_CPUTIME_ID that are not posix compliant.
> > This is intended behavior as explained in the post.
>
> Please explain this a bit more: On a 2.6.8 kernel, you will not get
> CLOCK_*_CPUTIME_ID results at all with your patch applied.  But
> currently glibc will return results?

Yes currently glibc will most of the time return the time since the start
of the proces or thread instead of cputime. Sometimes (on some SMP systems
and when the clock frequency changes) bogus results will be returned.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]