mirror of https://github.com/mkerrisk/man-pages
clock_getres.2: Document CLOCK_REALTIME_COARSE and CLOCK_MONOTONIC_COARSE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a780f17be1
commit
55f749ae91
|
@ -29,7 +29,7 @@
|
|||
.\"
|
||||
.\" FIXME: Linux 2.6.39 adds CLOCK_BOOTTIME
|
||||
.\"
|
||||
.TH CLOCK_GETRES 2 2012-11-07 "" "Linux Programmer's Manual"
|
||||
.TH CLOCK_GETRES 2 2013-02-25 "" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
clock_getres, clock_gettime, clock_settime \- clock and time functions
|
||||
.SH SYNOPSIS
|
||||
|
@ -129,6 +129,12 @@ This clock is affected by discontinuous jumps in the system time
|
|||
and by the incremental adjustments performed by
|
||||
.BR adjtime (3)
|
||||
and NTP.
|
||||
.BR CLOCK_REALTIME_COARSE " (since Linux 2.6.32; Linux-specific)"
|
||||
.\" Added in commit da15cfdae03351c689736f8d142618592e3cebc3
|
||||
Faster but less precise version of
|
||||
.BR CLOCK_REALTIME.
|
||||
Use when you need very fast, but not fine-grained timestamps.
|
||||
.TP
|
||||
.TP
|
||||
.B CLOCK_MONOTONIC
|
||||
Clock that cannot be set and represents monotonic time since
|
||||
|
@ -138,6 +144,11 @@ This clock is not affected by discontinuous jumps in the system time
|
|||
but is affected by the incremental adjustments performed by
|
||||
.BR adjtime (3)
|
||||
and NTP.
|
||||
.BR CLOCK_MONOTONIC_COARSE " (since Linux 2.6.32; Linux-specific)"
|
||||
.\" Added in commit da15cfdae03351c689736f8d142618592e3cebc3
|
||||
Faster but less precise version of
|
||||
.BR CLOCK_MONOTONIC.
|
||||
Use when you need very fast, but not fine-grained timestamps.
|
||||
.TP
|
||||
.BR CLOCK_MONOTONIC_RAW " (since Linux 2.6.28; Linux-specific)"
|
||||
.\" Added in commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68, John Stultz
|
||||
|
|
Loading…
Reference in New Issue