Date: Wed, 4 Jun 2008 03:19:03 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 142865 for review Message-ID: <200806040319.m543J3gK080035@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=142865 Change 142865 by jb@freebsd3 on 2008/06/04 03:18:41 CLOCK_UPTIME was implemented in FreeBSD 7. Affected files ... .. //depot/projects/dtrace6/src/sys/cddl/compat/opensolaris/sys/time.h#2 edit Differences ... ==== //depot/projects/dtrace6/src/sys/cddl/compat/opensolaris/sys/time.h#2 (text+ko) ==== @@ -65,7 +65,7 @@ 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806040319.m543J3gK080035>