DragonFlyBSD/src 725edad — include time.h unistd.h, lib/libc/gen clock_getcpuclockid.3 clock_getcpuclockid.c
libc/libpthread: Add clock_getcpuclockid() and pthread_getcpuclockid(). * Adjust clock_gettime() and clock_getres() to accept values obtained this way. * Also set _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME, although we should really support values obtained by these functions in clock_settime() too. Based on and taken from FreeBSD's code. Reviewed-by: sephe