clock_getres.3: Document CLOCK_MONOTONIC_RAW, new in 2.6.28

(kernel commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-02-04 14:02:50 +13:00
parent d0e95dbcd1
commit 1ba3fba8a7
1 changed files with 8 additions and 1 deletions

View File

@ -27,7 +27,7 @@
.\" 2003-08-24 aeb, large parts rewritten .\" 2003-08-24 aeb, large parts rewritten
.\" 2004-08-06 Christoph Lameter <clameter@sgi.com>, SMP note .\" 2004-08-06 Christoph Lameter <clameter@sgi.com>, SMP note
.\" .\"
.TH CLOCK_GETRES 3 2008-11-07 "" "Linux Programmer's Manual" .TH CLOCK_GETRES 3 2009-02-05 "" "Linux Programmer's Manual"
.SH NAME .SH NAME
clock_getres, clock_gettime, clock_settime \- clock and time functions clock_getres, clock_gettime, clock_settime \- clock and time functions
.SH SYNOPSIS .SH SYNOPSIS
@ -125,6 +125,13 @@ Setting this clock requires appropriate privileges.
Clock that cannot be set and represents monotonic time since Clock that cannot be set and represents monotonic time since
some unspecified starting point. some unspecified starting point.
.TP .TP
.BR CLOCK_MONOTONIC_RAW " (since Linux 2.6.28; Linux-specific)"
.\" Added in commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68, John Stultz
Similar to
.BR CLOCK_MONOTONIC ,
but provides access to a raw hardware-based time
that is not subject to NTP adjustments.
.TP
.B CLOCK_PROCESS_CPUTIME_ID .B CLOCK_PROCESS_CPUTIME_ID
High-resolution per-process timer from the CPU. High-resolution per-process timer from the CPU.
.TP .TP