GLIBC IA64 HP_TIMING fixes for SMP systems with unsynchronized ITC

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


Christoph Lameter wrote:

> clock_gettime(CLOCK_REALTIME) calls gettimeofday internally and then
> multiplies with 1000.

Internally where?  clock_gettime is a syscall.  And it can use whatever
functionality the kernel provides.  There is absolutely no requirement
to add additional clocks, just make clock_gettime do the right think if
this isn't happening already.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖



More information about the Libc-alpha mailing list