PERFORCE change 127857 for review
John Birrell
jb at FreeBSD.org
Sat Oct 20 15:54:21 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=127857
Change 127857 by jb at 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
More information about the p4-projects
mailing list