mirror of https://github.com/mkerrisk/man-pages
clock_getres.2: Some improvements to CLOCK_BOOTTIME description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b28712e162
commit
a5d9ce6533
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue