]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
clock_getres.2: Document CLOCK_REALTIME_COARSE and CLOCK_MONOTONIC_COARSE
authorCyril Hrubis <chrubis@suse.cz>
Mon, 25 Feb 2013 08:32:22 +0000 (09:32 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 25 Feb 2013 09:16:10 +0000 (10:16 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/clock_getres.2

index 9d90c1f53062d96c209e0edb402323ec5ce6edc2..c1cfaea265511dced2be3f288d24022924ba2844 100644 (file)
@@ -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