Document a bit CLOCK_VIRTUAL and CLOCK_PROF
This commit is contained in:
parent
92acc2a82f
commit
b45684b49b
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: clock_settime.2,v 1.20 2009/03/11 13:39:14 joerg Exp $
|
||||
.\" $NetBSD: clock_settime.2,v 1.21 2014/03/28 15:03:41 degroote Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -105,6 +105,20 @@ error if it's the clock specified in a call to
|
|||
.Fn clock_settime .
|
||||
The origin of the clock is unspecified.
|
||||
.Pp
|
||||
A
|
||||
.Fa clock_id
|
||||
of
|
||||
.Dv CLOCK_VIRTUAL
|
||||
identifies a clock that increments only when the CPU is running in
|
||||
user mode on behalf of the calling process.
|
||||
.Pp
|
||||
A
|
||||
.Fa clock_id
|
||||
of
|
||||
.Dv CLOCK_PROF
|
||||
identifies a clock that increments when the CPU is running in user
|
||||
or kernel mode on behalf of the calling process.
|
||||
.Pp
|
||||
If the calling user is not the super-user, then the
|
||||
.Fn clock_settime
|
||||
function in the standard C library will try to use the
|
||||
|
|
Loading…
Reference in New Issue