This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Revised: IA64 HP_TIMING fixes for SMP systems with unsynchronizedITC
Christoph Lameter wrote:
> However, if ITC is not realiable then also
> clock_gettime(CLOCK_PROCESS_CPUTIME_ID) and
> clock_gettime(CLOCK_THREAD_CPUTIME_ID) will still return unusable data to
> the application. We would need to modify clock_gettime to also return an
> error on those.
No, this is an application bug. We are not making the implementation
slower and bigger because programmers might misuse the interfaces.
--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â