Revised: IA64 HP_TIMING fixes for SMP systems with unsynchronized ITC

Ulrich Drepper drepper@redhat.com
Fri Jun 4 20:00:00 GMT 2004


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 ❖



More information about the Libc-alpha mailing list