aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-04-18 16:11:18 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-04-18 16:23:51 +0100
commitc74bc5191421f79cb807394c12e1ff08aac477a6 (patch)
tree18275131f305e8cddd7bc0cb73caf1418bf9e2f0
parentb155912e83f83176a553137bf03f445b409163fa (diff)
downloadman-pages-c74bc5191421f79cb807394c12e1ff08aac477a6.tar.gz
clock_getres.2: Note that coarse clock need architecture and VDSO support
Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/clock_getres.26
1 files changed, 6 insertions, 0 deletions
diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
index 99913370bf..99e4f64d9f 100644
--- a/man2/clock_getres.2
+++ b/man2/clock_getres.2
@@ -133,6 +133,9 @@ and NTP.
A faster but less precise version of
.BR CLOCK_REALTIME .
Use when you need very fast, but not fine-grained timestamps.
+Requires per-architecture support,
+and probably also architecture support for this flag in the
+.BR vdso (7).
.TP
.B CLOCK_MONOTONIC
Clock that cannot be set and represents monotonic time since
@@ -148,6 +151,9 @@ and NTP.
A faster but less precise version of
.BR CLOCK_MONOTONIC .
Use when you need very fast, but not fine-grained timestamps.
+Requires per-architecture support,
+and probably also architecture support for this flag in the
+.BR vdso (7).
.TP
.BR CLOCK_MONOTONIC_RAW " (since Linux 2.6.28; Linux-specific)"
.\" Added in commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68, John Stultz