From a5d9ce6533ee269ef1c0d6eabf6ade8035145fde Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 25 Feb 2013 10:03:48 +0100 Subject: [PATCH] clock_getres.2: Some improvements to CLOCK_BOOTTIME description Signed-off-by: Michael Kerrisk --- man2/clock_getres.2 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/man2/clock_getres.2 b/man2/clock_getres.2 index 55f9f576b..f6d68daf9 100644 --- a/man2/clock_getres.2 +++ b/man2/clock_getres.2 @@ -160,11 +160,16 @@ the incremental adjustments performed by .BR adjtime (3). .TP .BR CLOCK_BOOTTIME " (since Linux 2.6.39; Linux-specific)" -.\" Added in commit 7fdd7f89006dd5a4c702fa0ce0c272345fa44ae0 +.\" commit 7fdd7f89006dd5a4c702fa0ce0c272345fa44ae0 +.\" commit 70a08cca1227dc31c784ec930099a4417a06e7d0 Identical to .BR CLOCK_MONOTONIC , -except it also includes any time spent in suspend. This allows applications to -get a suspend aware monotonic clock. +except it also includes any time that the system is suspended. +This allows applications to get a suspend-aware monotonic clock +without having to deal with the complications of +.BR CLOCK_REALTIME , +which may have discontinuities if the time is changed using +.BR settimeofday (2). .TP .B CLOCK_PROCESS_CPUTIME_ID High-resolution per-process timer from the CPU.