mirror of https://github.com/mkerrisk/man-pages
clock_nanosleep.2: clock_nanosleep() also supports CLOCK_BOOTTIME
Presumably (and from a quick glance at the source code) since Linux 2.6.39, when CLOCK_BOOTTIME was introduced. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2c16f1bc28
commit
966051ca74
|
@ -87,6 +87,11 @@ since some unspecified point in the past that does not change after
|
|||
system startup.
|
||||
.\" On Linux this clock measures time since boot.
|
||||
.TP
|
||||
.BR CLOCK_BOOTIME " (since Linux 2.6.39)"
|
||||
Identical to
|
||||
.BR CLOCK_MONOTONIC ,
|
||||
except that it also includes any time that the system is suspended.
|
||||
.TP
|
||||
.BR CLOCK_PROCESS_CPUTIME_ID
|
||||
A settable per-process clock that measures CPU time consumed
|
||||
by all threads in the process.
|
||||
|
|
Loading…
Reference in New Issue