| |
comp.os.linux.development.system |
`man clock_gettime' on this Linux box says:
AVAILABILITY
On POSIX systems on which these functions are available,
the symbol _POSIX_TIMERS is defined in <unistd.h> to a
value greater than 0. The symbols _POSIX_MONOTONIC_CLOCK,
_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME indicate that
CLOCK_MONOTONIC, CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID are available. (See also
sysconf(3).)
Availablility of CLOCK_MONOTONIC is system (and not just libc)
specific (for instance stock Linux 2.4 kernels do not have it,
2.6 do)
--
vale