Date: Sat, 20 Oct 2007 22:54:20 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 127857 for review Message-ID: <200710202254.l9KMsKo8070108@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127857 Change 127857 by jb@jb_freebsd8 on 2007/10/20 22:54:09 No CLOCK_UPTIME in RELENG_6. RELENG_7 processes it the same as CLOCK_MONOTONIC. Affected files ... .. //depot/projects/dtrace6/src/sys/sys/time.h#3 edit Differences ... ==== //depot/projects/dtrace6/src/sys/sys/time.h#3 (text+ko) ==== @@ -331,7 +331,7 @@ #ifndef _KERNEL static __inline hrtime_t gethrtime(void) { struct timespec ts; - clock_gettime(CLOCK_UPTIME,&ts); + clock_gettime(CLOCK_MONOTONIC,&ts); return (((u_int64_t) ts.tv_sec) * NANOSEC + ts.tv_nsec); } #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710202254.l9KMsKo8070108>