On Wed, 15 Oct 2014 21:50:44 -0700, Philip Guenther wrote:

> IMO we should just delete CLOCK_VIRTUAL from sys/_time.h and clock_gettime(2)

Easy enough.

 - todd

Index: sys/sys/_time.h
===================================================================
RCS file: /home/cvs/openbsd/src/sys/sys/_time.h,v
retrieving revision 1.6
diff -u -r1.6 _time.h
--- sys/sys/_time.h     6 Oct 2013 01:27:49 -0000       1.6
+++ sys/sys/_time.h     16 Oct 2014 12:47:02 -0000
@@ -33,7 +33,6 @@
 #define _SYS__TIME_H_
 
 #define CLOCK_REALTIME                 0
-#define CLOCK_VIRTUAL                  1
 #define CLOCK_PROCESS_CPUTIME_ID       2
 #define CLOCK_MONOTONIC                        3
 #define CLOCK_THREAD_CPUTIME_ID                4
Index: lib/libc/sys/clock_gettime.2
===================================================================
RCS file: /home/cvs/openbsd/src/lib/libc/sys/clock_gettime.2,v
retrieving revision 1.24
diff -u -r1.24 clock_gettime.2
--- lib/libc/sys/clock_gettime.2        21 Jan 2014 03:15:45 -0000      1.24
+++ lib/libc/sys/clock_gettime.2        16 Oct 2014 12:43:33 -0000
@@ -62,9 +62,6 @@
 .Bl -tag -width CLOCK_MONOTONIC
 .It Dv CLOCK_REALTIME
 time that increments as a wall clock should
-.It Dv CLOCK_VIRTUAL
-time that increments only when
-the CPU is running in user mode on behalf of the calling process
 .It Dv CLOCK_PROCESS_CPUTIME_ID
 time that increments when the CPU is running in user or kernel mode
 on behalf of the calling process

Reply via email to